From 6d0cdd714828658255e2750d1625f7fe05983eb9 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 24 Nov 2014 04:27:23 +0000 Subject: [PATCH] Remove HTML `` 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 --- wp-admin/admin-header.php | 9 ++++++--- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index b48bd82860..1104029b2f 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -108,14 +108,17 @@ do_action( "admin_print_scripts-$hook_suffix" ); do_action( 'admin_print_scripts' ); /** - * Fires in 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 */ do_action( "admin_head-$hook_suffix" ); /** - * Fires in for all admin pages. + * Fires in head section for all admin pages. * * @since 2.1.0 */ @@ -159,7 +162,7 @@ $admin_body_class .= ' no-customize-support no-svg'; 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: * 1. $classes is a space-separated string of class names instead of an array. diff --git a/wp-includes/version.php b/wp-includes/version.php index 6d552f9cde..6ec3785989 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.