Better docs for `Plugin_Upgrader::deactivate_plugin_before_upgrade()`. Props DrewAPicture. Fixes #29088.

Built from https://develop.svn.wordpress.org/trunk@30762


git-svn-id: http://core.svn.wordpress.org/trunk@30752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-12-07 01:19:24 +00:00
parent 1bb4b6a82b
commit ef0501e1bc
2 changed files with 5 additions and 3 deletions

View File

@ -1015,9 +1015,11 @@ class Plugin_Upgrader extends WP_Upgrader {
* Hooked to the {@see 'upgrader_pre_install'} filter by {@see Plugin_Upgrader::upgrade()}.
*
* @since 2.8.0
* @since 4.1.0 Added a return value.
*
* @param bool|WP_Error $return Upgrade offer return.
* @param array $plugin Plugin package arguments.
* @param bool|WP_Error $return Upgrade offer return.
* @param array $plugin Plugin package arguments.
* @return bool|WP_Error The passed in $return param or {@see WP_Error}.
*/
public function deactivate_plugin_before_upgrade($return, $plugin) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30761';
$wp_version = '4.1-beta2-30762';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.