From 0f759f0c01b571dcf6d17b4830fbfda152ed0e34 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Fri, 25 Apr 2014 07:53:09 +0000 Subject: [PATCH] Mark the `$hook` and `$page_hook` hooks as `@internal` to skip parsing. See #26869. git-svn-id: https://develop.svn.wordpress.org/trunk@28216 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin.php | 3 +-- src/wp-cron.php | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/admin.php b/src/wp-admin/admin.php index a617d113f7..6f279077e1 100644 --- a/src/wp-admin/admin.php +++ b/src/wp-admin/admin.php @@ -204,8 +204,7 @@ if ( isset($plugin_page) ) { /** * Used to call the registered callback for a plugin screen. * - * @access private - * + * @internal * @since 1.5.0 */ do_action( $page_hook ); diff --git a/src/wp-cron.php b/src/wp-cron.php index da2838cbda..6b1746da7a 100644 --- a/src/wp-cron.php +++ b/src/wp-cron.php @@ -92,10 +92,11 @@ foreach ( $crons as $timestamp => $cronhooks ) { /** * Fires scheduled events. * + * @internal * @since 2.1.0 * * @param string $hook Name of the hook that was scheduled to be fired. - * @param array $v['args'] The arguments to be passed to the hook. + * @param array $args The arguments to be passed to the hook. */ do_action_ref_array( $hook, $v['args'] );