From 058ff61decbd1d62c1e244219a6f2100ea3a8111 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 25 Apr 2014 07:54:21 +0000 Subject: [PATCH] Mark the `$hook` and `$page_hook` hooks as `@internal` to skip parsing. See #26869. Built from https://develop.svn.wordpress.org/trunk@28216 git-svn-id: http://core.svn.wordpress.org/trunk@28046 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin.php | 3 +-- wp-cron.php | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin.php b/wp-admin/admin.php index a617d113f7..6f279077e1 100644 --- a/wp-admin/admin.php +++ b/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/wp-cron.php b/wp-cron.php index da2838cbda..6b1746da7a 100644 --- a/wp-cron.php +++ b/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'] );