[wp-trac] Re: [WordPress Trac] #5418: remove unused variables from wp-admin/*.php

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 2 22:24:52 GMT 2008


#5418: remove unused variables from wp-admin/*.php
-----------------------+----------------------------------------------------
 Reporter:  DD32       |        Owner:  anonymous
     Type:  defect     |       Status:  reopened 
 Priority:  normal     |    Milestone:  2.4      
Component:  General    |      Version:  2.4      
 Severity:  normal     |   Resolution:           
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------
Comment (by DD32):

 Changes applied.

 Note the change in the taxonomy too:
 {{{
 - $value = apply_filters("${taxonomy}_$field_rss", $value);
 + $value = apply_filters("${taxonomy}_${field}_rss", $value);
 }}}

 At present it attempts to expand the "$field_rss" variable instead of
 "$field".

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


More information about the wp-trac mailing list