Make WordPress Core


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.