diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 1104029b2f..664b32c7a4 100644 --- a/wp-admin/admin-header.php +++ b/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/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 217eb43356..5acdb87b54 100644 --- a/wp-admin/edit-form-advanced.php +++ b/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 ); ?> - +