[wp-trac] [WordPress Trac] #20061: Preprocess get_page_templates() and store in a global

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 17 18:10:12 UTC 2012


#20061: Preprocess get_page_templates() and store in a global
-------------------------+----------------------
 Reporter:  Master Jake  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.3.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------

Comment (by scribu):

 > that are used quite frequently already and so it definitely wouldn't be
 breaking any protocol to add one more.

 That's actually a counter argument: there are too many already; let's not
 add any more.

 register_page_template() seems like a good idea, but its time has passed.
 We will never be able to get rid of {{{// Template Name}}}, so there would
 be no performance benefit.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20061#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list