From fd0564d2bc159df5f1946054952ffed026043e16 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 9 Jan 2017 14:38:41 +0000 Subject: [PATCH] Docs: Remove incorrect `@param` tags for `admin_print_footer_scripts-{$hook_suffix}` and `admin_footer-{$hook_suffix}` dynamic actiona. Remove `@global` tags as well as they are not suited to describe a function parameter and are documented in the description of the actions. Props keesiemeijer. Fixes #39527. Built from https://develop.svn.wordpress.org/trunk@39755 git-svn-id: http://core.svn.wordpress.org/trunk@39693 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-footer.php | 7 ------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index 111d4d2390..2317a03bd8 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -78,10 +78,6 @@ do_action( 'admin_footer', '' ); * refers to the global hook suffix of the current page. * * @since 4.6.0 - * - * @global string $hook_suffix - * - * @param string $hook_suffix The current admin page. */ do_action( "admin_print_footer_scripts-{$hook_suffix}" ); @@ -99,9 +95,6 @@ do_action( 'admin_print_footer_scripts' ); * refers to the global hook suffix of the current page. * * @since 2.8.0 - * - * @global string $hook_suffix - * @param string $hook_suffix The current admin page. */ do_action( "admin_footer-{$hook_suffix}" ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 76b67c9dfd..7f24a8bc8b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39754'; +$wp_version = '4.8-alpha-39755'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.