Skip to content

Commit 0f759f0

Browse files
committed
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
1 parent 609cf29 commit 0f759f0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-admin/admin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,7 @@
204204
/**
205205
* Used to call the registered callback for a plugin screen.
206206
*
207-
* @access private
208-
*
207+
* @internal
209208
* @since 1.5.0
210209
*/
211210
do_action( $page_hook );

src/wp-cron.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ function _get_cron_lock() {
9292
/**
9393
* Fires scheduled events.
9494
*
95+
* @internal
9596
* @since 2.1.0
9697
*
9798
* @param string $hook Name of the hook that was scheduled to be fired.
98-
* @param array $v['args'] The arguments to be passed to the hook.
99+
* @param array $args The arguments to be passed to the hook.
99100
*/
100101
do_action_ref_array( $hook, $v['args'] );
101102

0 commit comments

Comments
 (0)