Plugins: Update docs for individual plugin loaded actions.
Corrects documentation to indicate the full path is passed to each action. Fixes #41346. git-svn-id: https://develop.svn.wordpress.org/trunk@44692 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bb463b5265
commit
8f94eec53c
@ -288,7 +288,7 @@ foreach ( wp_get_mu_plugins() as $mu_plugin ) {
|
|||||||
*
|
*
|
||||||
* @since 5.1.0
|
* @since 5.1.0
|
||||||
*
|
*
|
||||||
* @param string $mu_plugin Loaded plugin's basename.
|
* @param string $mu_plugin Full path to the plugin's main file.
|
||||||
*/
|
*/
|
||||||
do_action( 'mu_plugin_loaded', $mu_plugin );
|
do_action( 'mu_plugin_loaded', $mu_plugin );
|
||||||
}
|
}
|
||||||
@ -305,7 +305,7 @@ if ( is_multisite() ) {
|
|||||||
*
|
*
|
||||||
* @since 5.1.0
|
* @since 5.1.0
|
||||||
*
|
*
|
||||||
* @param string $network_plugin Loaded plugin's basename.
|
* @param string $network_plugin Full path to the plugin's main file.
|
||||||
*/
|
*/
|
||||||
do_action( 'network_plugin_loaded', $network_plugin );
|
do_action( 'network_plugin_loaded', $network_plugin );
|
||||||
}
|
}
|
||||||
@ -352,7 +352,7 @@ foreach ( wp_get_active_and_valid_plugins() as $plugin ) {
|
|||||||
*
|
*
|
||||||
* @since 5.1.0
|
* @since 5.1.0
|
||||||
*
|
*
|
||||||
* @param string $plugin Loaded plugin's basename.
|
* @param string $plugin Full path to the plugin's main file.
|
||||||
*/
|
*/
|
||||||
do_action( 'plugin_loaded', $plugin );
|
do_action( 'plugin_loaded', $plugin );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user