File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ function rss_enclosure() {
476476 *
477477 * @param string $html_link_tag The HTML link tag with a URI and other attributes.
478478 */
479- echo apply_filters ( 'rss_enclosure ' , '<enclosure url=" ' . trim ( htmlspecialchars ( $ enclosure [0 ] ) ) . '" length=" ' . trim ( $ enclosure [1 ] ) . '" type=" ' . $ type . '" /> ' . "\n" );
479+ echo apply_filters ( 'rss_enclosure ' , '<enclosure url=" ' . esc_url ( trim ( $ enclosure [0 ] ) ) . '" length=" ' . absint ( trim ( $ enclosure [1 ] ) ) . '" type=" ' . esc_attr ( $ type ) . '" /> ' . "\n" );
480480 }
481481 }
482482 }
@@ -510,7 +510,7 @@ function atom_enclosure() {
510510 *
511511 * @param string $html_link_tag The HTML link tag with a URI and other attributes.
512512 */
513- echo apply_filters ( 'atom_enclosure ' , '<link href=" ' . trim ( htmlspecialchars ( $ enclosure [0 ] ) ) . '" rel="enclosure" length=" ' . trim ( $ enclosure [1 ] ) . '" type=" ' . trim ( $ enclosure [2 ] ) . '" /> ' . "\n" );
513+ echo apply_filters ( 'atom_enclosure ' , '<link href=" ' . esc_url ( trim ( $ enclosure [0 ] ) ) . '" rel="enclosure" length=" ' . absint ( trim ( $ enclosure [1 ] ) ) . '" type=" ' . esc_attr ( trim ( $ enclosure [2 ] ) ) . '" /> ' . "\n" );
514514 }
515515 }
516516 }
Original file line number Diff line number Diff line change 44 *
55 * @global string $wp_version
66 */
7- $ wp_version = '5.0-alpha-42259 ' ;
7+ $ wp_version = '5.0-alpha-42260 ' ;
88
99/**
1010 * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
You can’t perform that action at this time.
0 commit comments