WordPress.org

Make WordPress Core

Ticket #19208: 19208.2.patch

File 19208.2.patch, 1.7 KB (added by linuxologos, 7 years ago)
  • wp-admin/includes/update.php

     
    187187        $plugins_allowedtags = array('a' => array('href' => array(),'title' => array()),'abbr' => array('title' => array()),'acronym' => array('title' => array()),'code' => array(),'em' => array(),'strong' => array());
    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');
    193193
  • wp-admin/update-core.php

     
    255255                        $upgrade_notice = '';
    256256                }
    257257
    258                 $details_url = self_admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin_data->update->slug . '&TB_iframe=true&width=640&height=662');
     258                $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');
    259259                $details_text = sprintf(__('View version %1$s details'), $plugin_data->update->new_version);
    260260                $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);
    261261