[wp-trac] [WordPress Trac] #15805: get_page_by_title() lacks caching

WordPress Trac noreply at wordpress.org
Sun Jan 31 02:51:54 UTC 2016


#15805: get_page_by_title() lacks caching
-------------------------------------+----------------------
 Reporter:  Viper007Bond             |       Owner:
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:
Component:  Performance              |     Version:  3.1
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------

Comment (by peterwilsoncc):

 Replying to [comment:9 nacin]:
 > This is better left to WP_Query itself (i.e. a search), and I could even
 go for deprecating this in favor of a (new?) query variable in WP_Query.

 No WP_Query has a title variable, is this worth reopening/a new ticket? My
 inclination is to set it up as a wrapper for `get_pages`.

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


More information about the wp-trac mailing list