Make WordPress Core

Ticket #59297: 59297.4.patch

File 59297.4.patch, 1.5 KB (added by viralsampat, 9 months ago)

I have checked above mentioned issue and founds another files. Here, I have added its patch.

  • src/wp-admin/network/index.php

    diff --git src/wp-admin/network/index.php src/wp-admin/network/index.php
    index b51fc4e560..b629e5dd67 100644
    if ( ! current_user_can( 'manage_network' ) ) { 
    1919
    2020// Used in the HTML title tag.
    2121$title       = __( 'Dashboard' );
    22 $parent_file = 'index.php';
    2322
    2423$overview  = '<p>' . __( 'Welcome to your Network Admin. This area of the Administration Screens is used for managing all aspects of your Multisite Network.' ) . '</p>';
    2524$overview .= '<p>' . __( 'From here you can:' ) . '</p>';
  • src/wp-admin/network/settings.php

    diff --git src/wp-admin/network/settings.php src/wp-admin/network/settings.php
    index 7dff74d4ad..c1c9190711 100644
    if ( ! current_user_can( 'manage_network_options' ) ) { 
    1919
    2020// Used in the HTML title tag.
    2121$title       = __( 'Network Settings' );
    22 $parent_file = 'settings.php';
    2322
    2423// Handle network admin email change requests.
    2524if ( ! empty( $_GET['network_admin_hash'] ) ) {
  • src/wp-admin/network/sites.php

    diff --git src/wp-admin/network/sites.php src/wp-admin/network/sites.php
    index 402c047312..73b7df045b 100644
    if ( ! current_user_can( 'manage_sites' ) ) { 
    1515}
    1616
    1717$wp_list_table = _get_list_table( 'WP_MS_Sites_List_Table' );
    18 $pagenum       = $wp_list_table->get_pagenum();
    19 
    20 // Used in the HTML title tag.
    21 $title       = __( 'Sites' );
    22 $parent_file = 'sites.php';
    2318
    2419add_screen_option( 'per_page' );
    2520