From efefa1d05e0b739637fc9c3b45a28acd322bb0fc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 9 Jan 2017 14:37:55 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@39755 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin-footer.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/wp-admin/admin-footer.php b/src/wp-admin/admin-footer.php index 111d4d2390..2317a03bd8 100644 --- a/src/wp-admin/admin-footer.php +++ b/src/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}" );