diff --git a/src/wp-admin/widgets-form-blocks.php b/src/wp-admin/widgets-form-blocks.php
index b4c6dd28d4..4dc1c7c99c 100644
a
|
b
|
require_once ABSPATH . 'wp-admin/admin-header.php'; |
73 | 73 | do_action( 'widgets_admin_page' ); |
74 | 74 | ?> |
75 | 75 | |
76 | | <div id="widgets-editor" class="blocks-widgets-container"></div> |
| 76 | <div id="widgets-editor" class="blocks-widgets-container"> |
| 77 | <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1> |
| 78 | <hr class="wp-header-end"> |
| 79 | <div class="error hide-if-js"> |
| 80 | <p><?php _e( 'The Widget screen requires JavaScript.' ); ?></p> |
| 81 | </div> |
| 82 | </div> |
77 | 83 | |
78 | 84 | <?php |
79 | 85 | /** This action is documented in wp-admin/widgets-form.php */ |
diff --git a/src/wp-includes/feed.php b/src/wp-includes/feed.php
index 7b91cbb70b..716c311059 100644
a
|
b
|
function rss_enclosure() { |
480 | 480 | foreach ( (array) $val as $enc ) { |
481 | 481 | $enclosure = explode( "\n", $enc ); |
482 | 482 | |
| 483 | if ( 3 !== count($enclosure) ) { |
| 484 | continue; |
| 485 | } |
| 486 | |
483 | 487 | // Only get the first element, e.g. 'audio/mpeg' from 'audio/mpeg mpga mp2 mp3'. |
484 | 488 | $t = preg_split( '/[ \t]/', trim( $enclosure[2] ) ); |
485 | 489 | $type = $t[0]; |