~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-admin/includes/theme-install.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 * @return array
30
30
 */
31
31
function install_themes_feature_list() {
32
 
        _deprecated_function( __FUNCTION__, '3.1', 'get_theme_feature_list()' );
 
32
        _deprecated_function( __FUNCTION__, '3.1.0', 'get_theme_feature_list()' );
33
33
 
34
34
        if ( !$cache = get_transient( 'wporg_theme_feature_list' ) )
35
35
                set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS );
160
160
 * @param object $theme
161
161
 */
162
162
function display_theme( $theme ) {
163
 
        _deprecated_function( __FUNCTION__, '3.4' );
 
163
        _deprecated_function( __FUNCTION__, '3.4.0' );
164
164
        global $wp_list_table;
165
165
        if ( ! isset( $wp_list_table ) ) {
166
166
                $wp_list_table = _get_list_table('WP_Theme_Install_List_Table');