Make WordPress Core


Ignore:
Timestamp:
03/07/2012 06:29:36 PM (14 years ago)
Author:
nacin
Message:

Deprecate display_theme(). see #19910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme-install.php

    r20140 r20141  
    128128add_action('install_themes_upload', 'install_themes_upload', 10, 1);
    129129
    130 /*
     130/**
    131131 * Prints a theme on the Install Themes pages.
    132132 *
    133  * @param object $theme An object that contains theme data returned by the WordPress.org API.
     133 * @deprecated 3.4.0
    134134 */
    135135function display_theme( $theme ) {
     136    _deprecated_function( __FUNCTION__, '3.4' );
    136137    global $wp_list_table;
    137 
    138138    return $wp_list_table->single_row( $theme );
    139139}
Note: See TracChangeset for help on using the changeset viewer.