Make WordPress Core

Ticket #44110: 44110.diff

File 44110.diff, 543 bytes (added by rnaby, 5 years ago)

Th patch for the ticket.

  • src/wp-admin/admin.php

     
    133133
    134134if ( isset( $_REQUEST['post_type'] ) && post_type_exists( $_REQUEST['post_type'] ) ) {
    135135        $typenow = $_REQUEST['post_type'];
    136 } else {
    137         $typenow = '';
    138136}
    139137
    140138if ( isset( $_REQUEST['taxonomy'] ) && taxonomy_exists( $_REQUEST['taxonomy'] ) ) {
    141139        $taxnow = $_REQUEST['taxonomy'];
    142 } else {
    143         $taxnow = '';
    144140}
    145141
    146142if ( WP_NETWORK_ADMIN ) {