WordPress.org

Make WordPress Core

Changeset 19711


Ignore:
Timestamp:
01/08/2012 12:36:17 PM (10 years ago)
Author:
dd32
Message:

Show Changelog by default for "View version x.y.z details" links for Plugin updates. Props linuxologos. Fixes #19208

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r19596 r19711  
    188188    $plugin_name = wp_kses( $plugin_data['Name'], $plugins_allowedtags );
    189189
    190     $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $r->slug . '&TB_iframe=true&width=600&height=800');
     190    $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $r->slug . '&section=changelog&TB_iframe=true&width=600&height=800');
    191191
    192192    $wp_list_table = _get_list_table('WP_Plugins_List_Table');
  • trunk/wp-admin/update-core.php

    r19699 r19711  
    261261        }
    262262
    263         $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin_data->update->slug . '&TB_iframe=true&width=640&height=662');
     263        $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin_data->update->slug . '&section=changelog&TB_iframe=true&width=640&height=662');
    264264        $details_text = sprintf(__('View version %1$s details'), $plugin_data->update->new_version);
    265265        $details = sprintf('<a href="%1$s" class="thickbox" title="%2$s">%3$s</a>.', esc_url($details_url), esc_attr($plugin_data->Name), $details_text);
Note: See TracChangeset for help on using the changeset viewer.