Changeset 24229 for trunk/wp-includes/feed.php
- Timestamp:
- 05/10/2013 01:39:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r24054 r24229 392 392 $enclosure = explode("\n", $enc); 393 393 394 // only get the the first element eg,audio/mpeg from 'audio/mpeg mpga mp2 mp3'394 // only get the first element, e.g. audio/mpeg from 'audio/mpeg mpga mp2 mp3' 395 395 $t = preg_split('/[ \t]/', trim($enclosure[2]) ); 396 396 $type = $t[0];
Note: See TracChangeset
for help on using the changeset viewer.