WordPress.org

Make WordPress Core

Changeset 21111


Ignore:
Timestamp:
06/25/12 20:30:59 (22 months ago)
Author:
nacin
Message:

Fix 'View version details' link for network/themes.php. In 3.5 these should stop pointing to WP.org. props SergeyBiryukov, fixes #20961 for 3.4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-admin/includes/update.php

    r20715 r21111  
    265265    $theme_name = wp_kses( $theme['Name'], $themes_allowedtags ); 
    266266 
    267     $details_url = self_admin_url("theme-install.php?tab=theme-information&theme=$theme_key&TB_iframe=true&width=600&height=400"); 
     267    $details_url = add_query_arg( array( 'TB_iframe' => 'true', 'width' => 1024, 'height' => 800 ), $current->response[ $theme_key ]['url'] ); 
    268268 
    269269    $wp_list_table = _get_list_table('WP_MS_Themes_List_Table'); 
Note: See TracChangeset for help on using the changeset viewer.