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]; |
diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php
index 71280f0437..39eca44189 100644
a
|
b
|
function wp_update_term( $term_id, $taxonomy, $args = array() ) { |
3162 | 3162 | return new WP_Error( 'invalid_term', __( 'Empty Term.' ) ); |
3163 | 3163 | } |
3164 | 3164 | |
| 3165 | /** |
| 3166 | * Filters a term before it is sanitized and updated into the database. |
| 3167 | * |
| 3168 | * @since 6.4 |
| 3169 | * |
| 3170 | * @param string $term The term name to update. |
| 3171 | * @param string $taxonomy Taxonomy slug. |
| 3172 | * @param array|string $args Array or query string of arguments passed to wp_update_term(). |
| 3173 | */ |
| 3174 | $term = apply_filters( 'pre_update_term', $term, $taxonomy, $args ); |
| 3175 | |
3165 | 3176 | $term = (array) $term->data; |
3166 | 3177 | |
3167 | 3178 | // Escape data pulled from DB. |