Remove HTML `<head>` tags from DocBlock summaries in wp-admin/admin-header.php.
Also better-specify the `$hook_suffix` value in the `admin_head-$hook_suffix` hook docs per hook documentation precedent. Props rarst for the initial patch. See #30473 Built from https://develop.svn.wordpress.org/trunk@30535 git-svn-id: http://core.svn.wordpress.org/trunk@30524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
12684e0ec8
commit
6d0cdd7148
|
@ -108,14 +108,17 @@ do_action( "admin_print_scripts-$hook_suffix" );
|
||||||
do_action( 'admin_print_scripts' );
|
do_action( 'admin_print_scripts' );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires in <head> for a specific admin page based on $hook_suffix.
|
* Fires in head section for a specific admin page.
|
||||||
|
*
|
||||||
|
* The dynamic portion of the hook, `$hook_suffix`, refers to the hook suffix
|
||||||
|
* for the admin page.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
do_action( "admin_head-$hook_suffix" );
|
do_action( "admin_head-$hook_suffix" );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires in <head> for all admin pages.
|
* Fires in head section for all admin pages.
|
||||||
*
|
*
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
*/
|
*/
|
||||||
|
@ -159,7 +162,7 @@ $admin_body_class .= ' no-customize-support no-svg';
|
||||||
</head>
|
</head>
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Filter the admin <body> CSS classes.
|
* 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:
|
* 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.
|
* 1. $classes is a space-separated string of class names instead of an array.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.1-beta2-30534';
|
$wp_version = '4.1-beta2-30535';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue