[wp-trac] [WordPress Trac] #16264: Add function get_pages_by_template()

WordPress Trac noreply at wordpress.org
Mon Sep 14 19:43:42 UTC 2015


#16264: Add function get_pages_by_template()
---------------------------------+------------------------------
 Reporter:  mikeschinkel         |       Owner:
     Type:  feature request      |      Status:  new
 Priority:  normal               |   Milestone:  Awaiting Review
Component:  Posts, Post Types    |     Version:  3.1
 Severity:  normal               |  Resolution:
 Keywords:  needs-refresh close  |     Focuses:
---------------------------------+------------------------------

Comment (by MikeSchinkel):

 Replying to [comment:15 wonderboymusic]:
 > I have been staring at the `Posts, Post Types` component for 5 days now
 - half of the tickets are related to listing pages and how badly that can
 perform. I am not inclined to support more uses of Meta Query in core, or
 at all.

 Caching the information in a transient `wp_options` could ensure the use-
 case is performant.

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


More information about the wp-trac mailing list