Changeset 10615
- Timestamp:
- 02/21/2009 06:14:52 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/feed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed.php
r10385 r10615 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.