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

WordPress Trac noreply at wordpress.org
Tue Nov 8 21:51:14 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 spacedmonkey):

 Replying to [comment:28 peterwilsoncc]:
 > Between this and #57039, let's revert the changes to
 `get_page_by_title()` and either redo or deprecate the function in 6.2.

 I don’t think it is a good idea to revert this. It goes from be cached to
 not being cached. Which could result in performance problems that have
 relied on this function.

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


More information about the wp-trac mailing list