Describe the bug
PHP warnings are thrown since WordPress 6.2:
PHP Deprecated: Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home/wordpress/doc_root/wp-includes/functions.php on line 6031
This function is referenced in the following classes:
Describe the bug PHP warnings are thrown since WordPress 6.2:
This function is referenced in the following classes:
To Reproduce I discovered the bug using the wp-cli profile command, but it should be discoverable on any site with wp_debug enabled.
Expected behavior Use WP_Query as noted in the deprecation notice