Skip to content

Commit

Permalink
Mark the $hook and $page_hook hooks as @internal to skip parsing.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
DrewAPicture committed Apr 25, 2014
1 parent d77e78d commit 058ff61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions wp-admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@
/**
* Used to call the registered callback for a plugin screen.
*
* @access private
*
* @internal
* @since 1.5.0
*/
do_action( $page_hook );
Expand Down
3 changes: 2 additions & 1 deletion wp-cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ function _get_cron_lock() {
/**
* 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'] );

Expand Down

0 comments on commit 058ff61

Please sign in to comment.