[wp-trac] Re: [WordPress Trac] #7850: get_page_templates() -- $description extracted, but never used

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 26 19:52:11 GMT 2008


#7850: get_page_templates() -- $description extracted, but never used
--------------------------------------+-------------------------------------
 Reporter:  Mrasnika                  |        Owner:  jacobsantos
     Type:  defect                    |       Status:  assigned   
 Priority:  lowest                    |    Milestone:  2.8        
Component:  Administration            |      Version:  2.6.1      
 Severity:  trivial                   |   Resolution:             
 Keywords:  has_patch, needs_testing  |  
--------------------------------------+-------------------------------------
Changes (by simonwheatley):

  * keywords:  => has_patch, needs_testing

Comment:

 I found this to be the case as well. The Description meta information for
 a template is regexed from the template, but then not used, wasting
 valuable processor cycles. ;)

 The patch I've just attached removes the unnecessary code.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7850#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list