mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs: Miscellaneous docblock corrections and improvements.
See #58833 git-svn-id: https://develop.svn.wordpress.org/trunk@56414 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -854,7 +854,7 @@ function deactivate_plugins( $plugins, $silent = false, $network_wide = null ) {
|
||||
* @param bool $network_wide Whether to enable the plugin for all sites in the network.
|
||||
* Default false.
|
||||
* @param bool $silent Prevent calling activation hooks. Default false.
|
||||
* @return bool|WP_Error True when finished or WP_Error if there were errors during a plugin activation.
|
||||
* @return true|WP_Error True when finished or WP_Error if there were errors during a plugin activation.
|
||||
*/
|
||||
function activate_plugins( $plugins, $redirect = '', $network_wide = false, $silent = false ) {
|
||||
if ( ! is_array( $plugins ) ) {
|
||||
@@ -2440,7 +2440,7 @@ function wp_get_plugin_error( $plugin ) {
|
||||
*
|
||||
* @param string $plugin Single plugin to resume.
|
||||
* @param string $redirect Optional. URL to redirect to. Default empty string.
|
||||
* @return bool|WP_Error True on success, false if `$plugin` was not paused,
|
||||
* @return true|WP_Error True on success, false if `$plugin` was not paused,
|
||||
* `WP_Error` on failure.
|
||||
*/
|
||||
function resume_plugin( $plugin, $redirect = '' ) {
|
||||
|
||||
@@ -979,7 +979,7 @@ endif;
|
||||
* @param string $path Optional. The path to append to the network's domain name. Default '/'.
|
||||
* @param bool $subdomain_install Optional. Whether the network is a subdomain installation or a subdirectory installation.
|
||||
* Default false, meaning the network is a subdirectory installation.
|
||||
* @return bool|WP_Error True on success, or WP_Error on warning (with the installation otherwise successful,
|
||||
* @return true|WP_Error True on success, or WP_Error on warning (with the installation otherwise successful,
|
||||
* so the error code must be checked) or failure.
|
||||
*/
|
||||
function populate_network( $network_id = 1, $domain = '', $email = '', $site_name = '', $path = '/', $subdomain_install = false ) {
|
||||
|
||||
Reference in New Issue
Block a user