From 9dba452afc915b8892ad85cc3d96e08f661be278 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 24 Sep 2015 14:54:25 +0000 Subject: [PATCH] Docs: Standardize and clarify class DocBlocks for all of the Upgrade API classes. Standardizes summaries and tags for the following classes: * `WP_Upgrader` * `Plugin_Upgrader` * `Theme_Upgrader` * `Language_Pack_Upgrader` * `Core_Upgrader` * `File_Upload_Upgrader` * `WP_Automatic_Updater` See #32246. Built from https://develop.svn.wordpress.org/trunk@34499 git-svn-id: http://core.svn.wordpress.org/trunk@34463 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader.php | 50 ++++++++++++++----------- wp-includes/version.php | 2 +- 2 files changed, 30 insertions(+), 22 deletions(-) diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index a6c3ac45ba..5a491caf25 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -14,10 +14,9 @@ require ABSPATH . 'wp-admin/includes/class-wp-upgrader-skins.php'; /** - * WordPress Upgrader class for Upgrading/Installing a local set of files via the Filesystem Abstraction classes from a Zip file. + * Core class used for upgrading/installing a local set of files via + * the Filesystem Abstraction classes from a Zip file. * - * @package WordPress - * @subpackage Upgrader * @since 2.8.0 */ class WP_Upgrader { @@ -753,11 +752,14 @@ class WP_Upgrader { } /** - * Plugin Upgrader class for WordPress Plugins, It is designed to upgrade/install plugins from a local zip, remote zip URL, or uploaded zip file. + * Core class used for upgrading/installing plugins. + * + * It is designed to upgrade/install plugins from a local zip, remote zip URL, + * or uploaded zip file. * - * @package WordPress - * @subpackage Upgrader * @since 2.8.0 + * + * @see WP_Upgrader */ class Plugin_Upgrader extends WP_Upgrader { @@ -1214,11 +1216,14 @@ class Plugin_Upgrader extends WP_Upgrader { } /** - * Theme Upgrader class for WordPress Themes, It is designed to upgrade/install themes from a local zip, remote zip URL, or uploaded zip file. + * Core class used for upgrading/installing themes. + * + * It is designed to upgrade/install themes from a local zip, remote zip URL, + * or uploaded zip file. * - * @package WordPress - * @subpackage Upgrader * @since 2.8.0 + * + * @see WP_Upgrader */ class Theme_Upgrader extends WP_Upgrader { @@ -1778,11 +1783,12 @@ class Theme_Upgrader extends WP_Upgrader { } /** - * Language pack upgrader, for updating translations of plugins, themes, and core. + * Core class used for updating/installing language packs (translations) + * for plugins, themes, and core. * - * @package WordPress - * @subpackage Upgrader * @since 3.7.0 + * + * @see WP_Upgrader */ class Language_Pack_Upgrader extends WP_Upgrader { @@ -2106,11 +2112,14 @@ class Language_Pack_Upgrader extends WP_Upgrader { } /** - * Core Upgrader class for WordPress. It allows for WordPress to upgrade itself in combination with the wp-admin/includes/update-core.php file + * Core class used for updating core. + * + * It allows for WordPress to upgrade itself in combination with + * the wp-admin/includes/update-core.php file. * - * @package WordPress - * @subpackage Upgrader * @since 2.8.0 + * + * @see WP_Upgrader */ class Core_Upgrader extends WP_Upgrader { @@ -2443,10 +2452,11 @@ class Core_Upgrader extends WP_Upgrader { } /** - * Upgrade Skin helper for File uploads. This class handles the upload process and passes it as if it's a local file to the Upgrade/Installer functions. + * Core class used for handling file uploads. + * + * This class handles the upload process and passes it as if it's a local file + * to the Upgrade/Installer functions. * - * @package WordPress - * @subpackage Upgrader * @since 2.8.0 */ class File_Upload_Upgrader { @@ -2558,10 +2568,8 @@ class File_Upload_Upgrader { } /** - * The WordPress automatic background updater. + * Core class used for handling automatic background updates. * - * @package WordPress - * @subpackage Upgrader * @since 3.7.0 */ class WP_Automatic_Updater { diff --git a/wp-includes/version.php b/wp-includes/version.php index c66a33a451..493da70bac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34498'; +$wp_version = '4.4-alpha-34499'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.