mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Plugins: Update docs for individual plugin loaded actions.
Corrects documentation to indicate the full path is passed to each action. Fixes #41346. Built from https://develop.svn.wordpress.org/trunk@44692 git-svn-id: http://core.svn.wordpress.org/trunk@44523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24e8467c6f
commit
cccba7e224
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta2-44691';
|
||||
$wp_version = '5.1-beta2-44692';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -288,7 +288,7 @@ foreach ( wp_get_mu_plugins() as $mu_plugin ) {
|
||||
*
|
||||
* @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 );
|
||||
}
|
||||
@ -305,7 +305,7 @@ if ( is_multisite() ) {
|
||||
*
|
||||
* @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 );
|
||||
}
|
||||
@ -352,7 +352,7 @@ foreach ( wp_get_active_and_valid_plugins() as $plugin ) {
|
||||
*
|
||||
* @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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user