diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index 1104029b2f..664b32c7a4 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -164,16 +164,19 @@ $admin_body_class .= ' no-customize-support no-svg'; /** * Filter the CSS classes for the body tag in the admin. * - * This filter differs from the post_class or body_class filters in two important ways: - * 1. $classes is a space-separated string of class names instead of an array. - * 2. Not all core admin classes are filterable, notably: wp-admin, wp-core-ui, and no-js cannot be removed. + * This filter differs from the {@see 'post_class'} and {@see 'body_class'} filters + * in two important ways: + * 1. `$classes` is a space-separated string of class names instead of an array. + * 2. Not all core admin classes are filterable, notably: wp-admin, wp-core-ui, + * and no-js cannot be removed. * * @since 2.3.0 * - * @param string $classes Space-separated string of CSS classes. + * @param string $classes Space-separated list of CSS classes. */ +$admin_body_classes = apply_filters( 'admin_body_class', '' ); ?> -"> + diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index 217eb43356..5acdb87b54 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -464,8 +464,9 @@ do_action( 'edit_form_top', $post ); ?> * @param string $text Placeholder text. Default 'Enter title here'. * @param WP_Post $post Post object. */ + $title_placeholder = apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?> - + > - >link_id ); ?> + >link_id ); + ?> $column_display_name ) { break; } ?> - > - - ID ); ?> - + >ID ); + ?> ID ) ? 1 : 0; ?> - - <?php echo apply_filters( 'the_title_rss', $post->post_title ); ?> + <?php + /** This filter is documented in wp-includes/feed.php */ + echo apply_filters( 'the_title_rss', $post->post_title ); + ?> diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index b407c5bc40..db50c89f7b 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1585,8 +1585,11 @@ if ( is_rtl() ) ?> - - class="wp-admin wp-core-ui no-js iframe "> + + class="wp-admin wp-core-ui no-js iframe ">