WordPress.org

Make WordPress Core

Ticket #18449: 18449.2.diff

File 18449.2.diff, 7.2 KB (added by peterwilsoncc, 2 years ago)
  • src/wp-admin/includes/class-wp-comments-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php
    index 37e65cfc19..adf31eaeeb 100644
    a b  
    1111 * Core class used to implement displaying comments in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-links-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php
    index 0c241215a2..b9c4744d10 100644
    a b  
    1111 * Core class used to implement displaying links in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Tsble
    1716 */
  • src/wp-admin/includes/class-wp-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php
    index d47b530202..7fbb365057 100644
    a b  
    1111 * Base class for displaying a list of items in an ajaxified HTML table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 */
    1615class WP_List_Table {
    1716
  • src/wp-admin/includes/class-wp-media-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
    index 118a5ac0d8..3c3452ca0c 100644
    a b  
    1111 * Core class used to implement displaying media items in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-ms-sites-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-sites-list-table.php b/src/wp-admin/includes/class-wp-ms-sites-list-table.php
    index f639b36ecf..f9922c82d0 100644
    a b  
    1111 * Core class used to implement displaying sites in a list table for the network admin.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-ms-themes-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
    index fc618f0993..73b4cea627 100644
    a b  
    1111 * Core class used to implement displaying themes in a list table for the network admin.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-ms-users-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-ms-users-list-table.php b/src/wp-admin/includes/class-wp-ms-users-list-table.php
    index 9a5fdb952d..760f193341 100644
    a b  
    1111 * Core class used to implement displaying users in a list table for the network admin.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-plugin-install-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php
    index 46eca16143..8d6d209d93 100644
    a b  
    1111 * Core class used to implement displaying plugins to install in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-plugins-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php
    index 7073e79051..78906b5e51 100644
    a b  
    1111 * Core class used to implement displaying installed plugins in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-post-comments-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-post-comments-list-table.php b/src/wp-admin/includes/class-wp-post-comments-list-table.php
    index 719d65537e..8b1f99c73c 100644
    a b  
    1111 * Core class used to implement displaying post comments in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_Comments_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-posts-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php
    index 40f5315395..3a9535ced1 100644
    a b  
    1111 * Core class used to implement displaying posts in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-terms-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-terms-list-table.php b/src/wp-admin/includes/class-wp-terms-list-table.php
    index 29b964a1e9..4f46ad3caa 100644
    a b  
    1111 * Core class used to implement displaying terms in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-theme-install-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-theme-install-list-table.php b/src/wp-admin/includes/class-wp-theme-install-list-table.php
    index c1cd88d5cb..0c06831803 100644
    a b  
    1111 * Core class used to implement displaying themes to install in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_Themes_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-themes-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-themes-list-table.php b/src/wp-admin/includes/class-wp-themes-list-table.php
    index a0e008d947..4ec3c4eebc 100644
    a b  
    1111 * Core class used to implement displaying installed themes in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/class-wp-users-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-users-list-table.php b/src/wp-admin/includes/class-wp-users-list-table.php
    index 61ea897c5a..cca42475e3 100644
    a b  
    1111 * Core class used to implement displaying users in a list table.
    1212 *
    1313 * @since 3.1.0
    14  * @access private
    1514 *
    1615 * @see WP_List_Table
    1716 */
  • src/wp-admin/includes/list-table.php

    diff --git a/src/wp-admin/includes/list-table.php b/src/wp-admin/includes/list-table.php
    index e4c66d1fff..b13d0d9c2d 100644
    a b function _get_list_table( $class, $args = array() ) { 
    5050                else
    5151                        $args['screen'] = null;
    5252
     53                /**
     54                 * Filters the list table class to instantiate.
     55                 *
     56                 * @param string $class The list table class to use.
     57                 * @param array  $args  An array containing _get_list_table() arguments.
     58                 */
     59                $class = apply_filters( 'wp_list_table_class', $class, $args );
     60
     61                if ( ! class_exists( $class ) ) {
     62                        return false;
     63                }
     64
    5365                return new $class( $args );
    5466        }
    5567