From 267b476885d26d39807511ebf1741328d0f5202d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 28 Oct 2013 10:55:50 +0000 Subject: [PATCH] Fix a copy/paste error in wp_update_theme() description. props Caspie. fixes #25742. git-svn-id: https://develop.svn.wordpress.org/trunk@25964 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/deprecated.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/deprecated.php b/src/wp-admin/includes/deprecated.php index 66d9abb39e..e6d42abde8 100644 --- a/src/wp-admin/includes/deprecated.php +++ b/src/wp-admin/includes/deprecated.php @@ -1062,6 +1062,7 @@ function wp_nav_menu_locations_meta_box() { * * @since 2.7.0 * @deprecated 3.7.0 + * @see Core_Upgrader */ function wp_update_core($current, $feedback = '') { _deprecated_function( __FUNCTION__, '3.7', 'new Core_Upgrader();' ); @@ -1084,6 +1085,7 @@ function wp_update_core($current, $feedback = '') { * * @since 2.5.0 * @deprecated 3.7.0 + * @see Plugin_Upgrader */ function wp_update_plugin($plugin, $feedback = '') { _deprecated_function( __FUNCTION__, '3.7', 'new Plugin_Upgrader();' ); @@ -1097,14 +1099,15 @@ function wp_update_plugin($plugin, $feedback = '') { } /** - * This was once used to kick-off the Plugin Updater. + * This was once used to kick-off the Theme Updater. * - * Deprecated in favor of instantating a Plugin_Upgrader instance directly, + * Deprecated in favor of instantating a Theme_Upgrader instance directly, * and calling the 'upgrade' method. * Unused since 2.8.0. * * @since 2.7.0 * @deprecated 3.7.0 + * @see Theme_Upgrader */ function wp_update_theme($theme, $feedback = '') { _deprecated_function( __FUNCTION__, '3.7', 'new Theme_Upgrader();' );