[wp-trac] [WordPress Trac] #56991: Update to get_page_by_title in 6.1 changes WHERE clause order

WordPress Trac noreply at wordpress.org
Thu Nov 3 23:04:18 UTC 2022


#56991: Update to get_page_by_title in 6.1 changes WHERE clause order
--------------------------+------------------------------
 Reporter:  Bjorn2404     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by 10upsimon):

 Also adding that the changelog was not updated as part of the last
 release, this can be validated by visiting
 https://developer.wordpress.org/reference/functions/get_page_by_title/#changelog
 as well as via the docblock of the existing function in core.

 Consideration should be made to add the relevant item to the function
 docblock, i.e:


 {{{
 @since 6.1.0 Using WP_Query to employ the use of caching.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56991#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list