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

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 8 07:24:39 GMT 2007


#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):

 Replying to [comment:10 Nazgul]:
 > That last patch introduced this:
 > '''apply_filters('wp_create_file_in_uploads', $file); // replicate'''

 Cheers, I forgot to ask about that..

 I didnt see the point in storing the return value, but I thought it might
 currently be in use by plugins/themes.[[BR]]
 Eg. a quick google:
 http://www.google.com/search?hl=en&safe=off&client=opera&rls=en&hs=Qxt&q=add_filter%28+%27wp_create_file_in_uploads%27&btnG=Search
 seems to suggest K2 uses it to process the custom header image.

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


More information about the wp-trac mailing list