From f50cafce29bac690eebb9babc7b743af0e86761b Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 24 Nov 2014 04:26:16 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@30535 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin-header.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index b48bd82860..1104029b2f 100644 --- a/src/wp-admin/admin-header.php +++ b/src/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.