Changeset 47122 for trunk/src/wp-includes/feed.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/feed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed.php
r47060 r47122 476 476 $enclosure = explode( "\n", $enc ); 477 477 478 // only get the first element, e.g. audio/mpeg from 'audio/mpeg mpga mp2 mp3'478 // Only get the first element, e.g. 'audio/mpeg' from 'audio/mpeg mpga mp2 mp3'. 479 479 $t = preg_split( '/[ \t]/', trim( $enclosure[2] ) ); 480 480 $type = $t[0]; … … 764 764 $feed->set_sanitize_class( 'WP_SimplePie_Sanitize_KSES' ); 765 765 // We must manually overwrite $feed->sanitize because SimplePie's 766 // constructor sets it before we have a chance to set the sanitization class 766 // constructor sets it before we have a chance to set the sanitization class. 767 767 $feed->sanitize = new WP_SimplePie_Sanitize_KSES(); 768 768
Note: See TracChangeset
for help on using the changeset viewer.