[wp-trac] [WordPress Trac] #57039: WP 6.1 - get_page_by_title(null) returns a page

WordPress Trac noreply at wordpress.org
Tue Nov 8 22:05:22 UTC 2022


#57039: WP 6.1 - get_page_by_title(null) returns a page
--------------------------------------+----------------------------
 Reporter:  stentibbing               |       Owner:  peterwilsoncc
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1.1
Component:  Posts, Post Types         |     Version:  6.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------------

Comment (by pbiron):

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

 I think reverting is probably the safe choice at this time.  I like the
 caching that was added in #36905, but the backward incompatibility has
 caused problems on a number of my client sites.

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


More information about the wp-trac mailing list