WordPress.org

Make WordPress Core

Ticket #19208: 19208.patch

File 19208.patch, 803 bytes (added by linuxologos, 4 years ago)

Change default tab to Changelog

  • wp-admin/includes/plugin-install.php

     
    259259                        $api->$key = wp_kses( $api->$key, $plugins_allowedtags ); 
    260260        } 
    261261 
    262         $section = isset($_REQUEST['section']) ? stripslashes( $_REQUEST['section'] ) : 'description'; //Default to the Description tab, Do not translate, API returns English. 
     262        $section = isset($_REQUEST['section']) ? stripslashes( $_REQUEST['section'] ) : 'changelog'; //Default to the Changelog tab, Do not translate, API returns English. 
    263263        if ( empty($section) || ! isset($api->sections[ $section ]) ) 
    264264                $section = array_shift( $section_titles = array_keys((array)$api->sections) ); 
    265265