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
This commit is contained in:
parent
d77e78d685
commit
058ff61dec
|
@ -204,8 +204,7 @@ if ( isset($plugin_page) ) {
|
||||||
/**
|
/**
|
||||||
* Used to call the registered callback for a plugin screen.
|
* Used to call the registered callback for a plugin screen.
|
||||||
*
|
*
|
||||||
* @access private
|
* @internal
|
||||||
*
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
do_action( $page_hook );
|
do_action( $page_hook );
|
||||||
|
|
|
@ -92,10 +92,11 @@ foreach ( $crons as $timestamp => $cronhooks ) {
|
||||||
/**
|
/**
|
||||||
* Fires scheduled events.
|
* Fires scheduled events.
|
||||||
*
|
*
|
||||||
|
* @internal
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
*
|
*
|
||||||
* @param string $hook Name of the hook that was scheduled to be fired.
|
* @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'] );
|
do_action_ref_array( $hook, $v['args'] );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue