Make WordPress Core


Ignore:
Timestamp:
06/25/2012 08:28:33 PM (12 years 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 trunk.

File:
1 edited

Legend:

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

    r20715 r21110  
    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.