[wp-trac] [WordPress Trac] #56991: Update to get_page_by_title in 6.1 changes WHERE clause
WordPress Trac
noreply at wordpress.org
Thu Nov 10 00:26:09 UTC 2022
#56991: Update to get_page_by_title in 6.1 changes WHERE clause
--------------------------------------+----------------------------
Reporter: Bjorn2404 | Owner: peterwilsoncc
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.1.1
Component: General | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+----------------------------
Comment (by peterwilsoncc):
I've updated my earlier [https://github.com/WordPress/wordpress-
develop/pull/3573 pull request] to:
* revert changes to `get_page_by_title()`
* remove tests added in the 6.0 cycle: as the DB query is unpredictable
due to the lack of orderby, any tests relying on consistent results across
different database versions and engines are flakey.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56991#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list