Code cleanup in get_file_data()
|Reported by:||strider72||Owned by:|
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
Change History (4)
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed