[wp-trac] [WordPress Trac] #17060: Code cleanup in get_file_data()

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 6 04:32:50 UTC 2011


#17060: Code cleanup in get_file_data()
-------------------------+-----------------------------
 Reporter:  strider72    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 The patch that originally introduced the get_file_data() function had a
 spot that was not PHP 4 compatible.  The fix was a bit clunky, but
 necessary at the time.

 Now that WordPress requires PHP 5, we can tidy things up a bit.

 Absolutely no behavioral change here, just turning four lines of code into
 one line.

 Original ticket: http://core.trac.wordpress.org/ticket/8964
 Relevant commmentary:
 http://core.trac.wordpress.org/ticket/8964#comment:27

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17060>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list