WordPress.org

Make WordPress Core

Ticket #14579: omg.patch

File omg.patch, 5.5 KB (added by ocean90, 3 years ago)
  • wp-admin/users.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once( './admin.php' ); 
    1111 
    12 $wp_list_table = get_list_table('WP_Users_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Users'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515$title = __('Users'); 
  • wp-admin/edit-comments.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once('./admin.php'); 
    1111 
    12 $wp_list_table = get_list_table('WP_Comments_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Comments'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515$doaction = $wp_list_table->current_action(); 
  • wp-admin/edit-tags.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once('./admin.php'); 
    1111 
    12 $wp_list_table = get_list_table('WP_Terms_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Terms'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515$title = $tax->labels->name; 
  • wp-admin/upload.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once( './admin.php' ); 
    1111 
    12 $wp_list_table = get_list_table('WP_Media_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Media'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515// Handle bulk actions 
  • wp-admin/network/users.php

     
    99 
    1010require_once( './admin.php' ); 
    1111 
    12 $wp_list_table = get_list_table('WP_MS_Users_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_MS_Users'); 
    1313$wp_list_table->check_permissions(); 
    1414$wp_list_table->prepare_items(); 
    1515 
  • wp-admin/network/themes.php

     
    99 
    1010require_once( './admin.php' ); 
    1111 
    12 $wp_list_table = get_list_table('WP_MS_Themes_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_MS_Themes'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515$action = $wp_list_table->current_action(); 
  • wp-admin/network/sites.php

     
    1212if ( ! is_multisite() ) 
    1313        wp_die( __( 'Multisite support is not enabled.' ) ); 
    1414 
    15 $wp_list_table = get_list_table('WP_MS_Sites_List_Table'); 
     15$wp_list_table = get_list_table('WP_List_Table_MS_Sites'); 
    1616$wp_list_table->check_permissions(); 
    1717 
    1818$title = __( 'Sites' ); 
  • wp-admin/plugins.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once('./admin.php'); 
    1111 
    12 $wp_list_table = get_list_table('WP_Plugins_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Plugins'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515$action = $wp_list_table->current_action(); 
  • wp-admin/edit.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once( './admin.php' ); 
    1111 
    12 $wp_list_table = get_list_table('WP_Posts_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Posts'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515// Back-compat for viewing comments of an entry 
  • wp-admin/link-manager.php

     
    99/** Load WordPress Administration Bootstrap */ 
    1010require_once ('admin.php'); 
    1111 
    12 $wp_list_table = get_list_table('WP_Links_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Links'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515// Handle bulk deletes 
  • wp-admin/theme-install.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once('./admin.php'); 
    1111 
    12 $wp_list_table = get_list_table('WP_Theme_Install_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Theme_Install'); 
    1313$wp_list_table->check_permissions(); 
    1414$wp_list_table->prepare_items(); 
    1515 
  • wp-admin/themes.php

     
    99/** WordPress Administration Bootstrap */ 
    1010require_once('./admin.php'); 
    1111 
    12 $wp_list_table = get_list_table('WP_Themes_List_Table'); 
     12$wp_list_table = get_list_table('WP_List_Table_Themes'); 
    1313$wp_list_table->check_permissions(); 
    1414 
    1515if ( current_user_can('switch_themes') && isset($_GET['action']) ) {