mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-12 08:34:35 +00:00
Docs: Miscellaneous DocBlock corrections for plugin and theme installation and updates.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -677,7 +677,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
*
|
||||
* @param string $plugin Path to the plugin file relative to the plugins directory.
|
||||
* @param bool $network_wide Whether to enable the plugin for all sites in the network
|
||||
* or just the current site. Multisite only. Default is false.
|
||||
* or just the current site. Multisite only. Default false.
|
||||
*/
|
||||
do_action( 'activate_plugin', $plugin, $network_wide );
|
||||
|
||||
@@ -692,7 +692,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @param bool $network_wide Whether to enable the plugin for all sites in the network
|
||||
* or just the current site. Multisite only. Default is false.
|
||||
* or just the current site. Multisite only. Default false.
|
||||
*/
|
||||
do_action( "activate_{$plugin}", $network_wide );
|
||||
}
|
||||
@@ -719,7 +719,7 @@ function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silen
|
||||
*
|
||||
* @param string $plugin Path to the plugin file relative to the plugins directory.
|
||||
* @param bool $network_wide Whether to enable the plugin for all sites in the network
|
||||
* or just the current site. Multisite only. Default is false.
|
||||
* or just the current site. Multisite only. Default false.
|
||||
*/
|
||||
do_action( 'activated_plugin', $plugin, $network_wide );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user