Docs: Expand `delete_theme()` return value, fix typo in `delete_plugins()` return value.
See #42505. Built from https://develop.svn.wordpress.org/trunk@42778 git-svn-id: http://core.svn.wordpress.org/trunk@42608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
58592b64dc
commit
3385d5b2de
|
@ -816,7 +816,7 @@ function activate_plugins( $plugins, $redirect = '', $network_wide = false, $sil
|
|||
*
|
||||
* @param array $plugins List of plugins to delete.
|
||||
* @param string $deprecated Deprecated.
|
||||
* @return bool|null|WP_Error True on success, false is $plugins is empty, WP_Error on failure.
|
||||
* @return bool|null|WP_Error True on success, false if `$plugins` is empty, WP_Error on failure.
|
||||
* Null if filesystem credentials are required to proceed.
|
||||
*/
|
||||
function delete_plugins( $plugins, $deprecated = '' ) {
|
||||
|
|
|
@ -13,9 +13,10 @@
|
|||
*
|
||||
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
|
||||
*
|
||||
* @param string $stylesheet Stylesheet of the theme to delete
|
||||
* @param string $redirect Redirect to page when complete.
|
||||
* @return void|bool|WP_Error When void, echoes content.
|
||||
* @param string $stylesheet Stylesheet of the theme to delete.
|
||||
* @param string $redirect Redirect to page when complete.
|
||||
* @return bool|null|WP_Error True on success, false if `$stylesheet` is empty, WP_Error on failure.
|
||||
* Null if filesystem credentials are required to proceed.
|
||||
*/
|
||||
function delete_theme( $stylesheet, $redirect = '' ) {
|
||||
global $wp_filesystem;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42777';
|
||||
$wp_version = '5.0-alpha-42778';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue