Make WordPress Core


Ignore:
Timestamp:
05/07/2012 04:16:17 PM (13 years ago)
Author:
ryan
Message:

Switch to WP_Theme::display() in theme update message. Props SergeyBiryukov. fixes #20623

File:
1 edited

Legend:

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

    r20236 r20733  
    125125    if ( isset($themes_update->response[ $stylesheet ]) ) {
    126126        $update = $themes_update->response[ $stylesheet ];
    127         $theme_name = $theme->get('Name');
     127        $theme_name = $theme->display('Name');
    128128        $details_url = add_query_arg(array('TB_iframe' => 'true', 'width' => 1024, 'height' => 800), $update['url']); //Theme browser inside WP? replace this, Also, theme preview JS will override this on the available list.
    129129        $update_url = wp_nonce_url('update.php?action=upgrade-theme&theme=' . urlencode($stylesheet), 'upgrade-theme_' . $stylesheet);
Note: See TracChangeset for help on using the changeset viewer.