Changes in branches/2.7/wp-includes/feed.php [10387:10616]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/feed.php
r10387 r10616 404 404 if ($key == 'enclosure') { 405 405 foreach ( (array) $val as $enc ) { 406 $enclosure = split("\n", $enc);406 $enclosure = explode("\n", $enc); 407 407 408 408 //only get the the first element eg, audio/mpeg from 'audio/mpeg mpga mp2 mp3' 409 $t = split('[ \t]', trim($enclosure[2]) );409 $t = preg_split('/[ \t]/', trim($enclosure[2]) ); 410 410 $type = $t[0]; 411 411
Note: See TracChangeset
for help on using the changeset viewer.