Closed BrookeDot closed 2 months ago
WordPress 6.1 added caching to
get_page_by_path
No it didn't - it got reverted: https://core.trac.wordpress.org/ticket/56689#comment:19
Other than a differently named cache group, and a couple of coding standards changes, there's no difference between the get_page_by_path()
for WP 6.0.9, and get_page_by_path()
for WP 6.6.2.
The function that did change in WP 6.1 was get_page_by_title()
(by title, not path).
Re-opening after some untangling.
get_page_by_path()
via https://core.trac.wordpress.org/ticket/36711 in WP 4.6.0.
WordPress 6.1 added caching to
get_page_by_path
. As such we have deprecated the VIP specific use of thewpcom_vip_get_page_by_path
helper function:This plugin calls the function here: https://github.com/Automattic/WPCOM-Legacy-Redirector/blob/eeb5536f7bed699f9ce61e2db8bac9eff973376a/includes/class-wpcom-legacy-redirector.php#L364-L366