]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/deprecated.php
WordPress 3.9.1-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / deprecated.php
index 66d9abb39e7df93c15d104072f8be616effce04d..36b4ca28ca5b8d5af67dac378a707cca98255bb9 100644 (file)
@@ -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();' );
@@ -1131,3 +1134,57 @@ function wp_update_theme($theme, $feedback = '') {
 function the_attachment_links( $id = false ) {
        _deprecated_function( __FUNCTION__, '3.7' );
 }
+
+/**#@+
+ * Displays a screen icon.
+ *
+ * @since 2.7.0
+ * @since 3.8.0 Screen icons are no longer used in WordPress. This function no longer produces output.
+ * @deprecated 3.8.0
+ */
+function screen_icon() {
+       echo get_screen_icon();
+}
+function get_screen_icon() {
+       return '<!-- Screen icons are no longer used as of WordPress 3.8. -->';
+}
+/**#@-*/
+
+/**#@+
+ * Deprecated dashboard widget controls.
+ *
+ * @since 2.5.0
+ * @deprecated 3.8.0
+ */
+function wp_dashboard_incoming_links_output() {}
+function wp_dashboard_secondary_output() {}
+/**#@-*/
+
+/**#@+
+ * Deprecated dashboard widget controls.
+ *
+ * @since 2.7.0
+ * @deprecated 3.8.0
+ */
+function wp_dashboard_incoming_links() {}
+function wp_dashboard_incoming_links_control() {}
+function wp_dashboard_plugins() {}
+function wp_dashboard_primary_control() {}
+function wp_dashboard_recent_comments_control() {}
+function wp_dashboard_secondary() {}
+function wp_dashboard_secondary_control() {}
+/**#@-*/
+
+/**
+ * This was once used to move child posts to a new parent.
+ *
+ * @since 2.3.0
+ * @deprecated 3.9.0
+ * @access private
+ *
+ * @param int $old_ID
+ * @param int $new_ID
+ */
+function _relocate_children( $old_ID, $new_ID ) {
+       _deprecated_function( __FUNCTION__, '3.9' );
+}