diff --git wp-admin/includes/class-wp-comments-list-table.php wp-admin/includes/class-wp-comments-list-table.php
index 0eedcd8..02a0388 100644
|
|
|
class WP_Comments_List_Table extends WP_List_Table { |
| 21 | 21 | |
| 22 | 22 | public $pending_count = array(); |
| 23 | 23 | |
| | 24 | /** |
| | 25 | * Constructor. |
| | 26 | * |
| | 27 | * @since 3.1.0 |
| | 28 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 29 | * @param array $args An associative array with information about the current table |
| | 30 | */ |
| 24 | 31 | public function __construct( $args = array() ) { |
| 25 | 32 | global $post_id; |
| 26 | 33 | |
diff --git wp-admin/includes/class-wp-links-list-table.php wp-admin/includes/class-wp-links-list-table.php
index 50e3136..f1080bd 100644
|
|
|
|
| 9 | 9 | */ |
| 10 | 10 | class WP_Links_List_Table extends WP_List_Table { |
| 11 | 11 | |
| | 12 | /** |
| | 13 | * Constructor. |
| | 14 | * |
| | 15 | * @since 3.1.0 |
| | 16 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 17 | * @param array $args An associative array with information about the current table |
| | 18 | */ |
| 12 | 19 | public function __construct( $args = array() ) { |
| 13 | 20 | parent::__construct( array( |
| 14 | 21 | 'plural' => 'bookmarks', |
diff --git wp-admin/includes/class-wp-list-table.php wp-admin/includes/class-wp-list-table.php
index dcaeb23..928f187 100644
|
|
|
class WP_List_Table { |
| 64 | 64 | private $_pagination; |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | | * Constructor. The child class should call this constructor from its own constructor |
| | 67 | * Constructor. |
| | 68 | * |
| | 69 | * The child class should call this constructor from its own constructor to override the |
| | 70 | * default $args. The default args are 'plural', 'singular', 'ajax' and 'screen'. |
| | 71 | * |
| | 72 | * The 'plural' option is a string that controls the plural labels for the objects being listed. |
| | 73 | * This affects things such as css class-names and nonces used in the list table. e.g. 'posts'. |
| | 74 | * |
| | 75 | * The 'singular' option is a string that controls the singular label for an object being |
| | 76 | * listed. e.g. 'post'. |
| | 77 | * |
| | 78 | * The 'ajax' boolean is used to tell the class if the list table supports ajax. This includes |
| | 79 | * loading and sorting data for example. If true, the class will call the _js_vars() method in |
| | 80 | * the footer to provide variables to any scripts handling ajax events. |
| | 81 | * |
| | 82 | * The 'screen' option can be used to pass in a string containing the hook name used to determine |
| | 83 | * the current screen. If left 'null', the current screen will be automatically set. |
| | 84 | * |
| | 85 | * @since 3.1.0 |
| 68 | 86 | * |
| 69 | 87 | * @param array $args An associative array with information about the current table |
| 70 | | * @access protected |
| 71 | | */ |
| | 88 | */ |
| 72 | 89 | public function __construct( $args = array() ) { |
| 73 | 90 | $args = wp_parse_args( $args, array( |
| 74 | 91 | 'plural' => '', |
diff --git wp-admin/includes/class-wp-media-list-table.php wp-admin/includes/class-wp-media-list-table.php
index 2c9a960..c2f7e3a 100644
|
|
|
|
| 9 | 9 | */ |
| 10 | 10 | class WP_Media_List_Table extends WP_List_Table { |
| 11 | 11 | |
| | 12 | /** |
| | 13 | * Constructor. |
| | 14 | * |
| | 15 | * @since 3.1.0 |
| | 16 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 17 | * @param array $args An associative array with information about the current table |
| | 18 | */ |
| 12 | 19 | public function __construct( $args = array() ) { |
| 13 | 20 | $this->detached = isset( $_REQUEST['detached'] ) || isset( $_REQUEST['find_detached'] ); |
| 14 | 21 | |
diff --git wp-admin/includes/class-wp-ms-sites-list-table.php wp-admin/includes/class-wp-ms-sites-list-table.php
index 7e98b0f..28f284c 100644
|
|
|
|
| 9 | 9 | */ |
| 10 | 10 | class WP_MS_Sites_List_Table extends WP_List_Table { |
| 11 | 11 | |
| | 12 | /** |
| | 13 | * Constructor. |
| | 14 | * |
| | 15 | * @since 3.1.0 |
| | 16 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 17 | * @param array $args An associative array with information about the current table |
| | 18 | */ |
| 12 | 19 | public function __construct( $args = array() ) { |
| 13 | 20 | parent::__construct( array( |
| 14 | 21 | 'plural' => 'sites', |
diff --git wp-admin/includes/class-wp-ms-themes-list-table.php wp-admin/includes/class-wp-ms-themes-list-table.php
index 512e341..b8c5413 100644
|
|
|
class WP_MS_Themes_List_Table extends WP_List_Table { |
| 12 | 12 | public $site_id; |
| 13 | 13 | public $is_site_themes; |
| 14 | 14 | |
| | 15 | /** |
| | 16 | * Constructor. |
| | 17 | * |
| | 18 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 19 | * @param array $args An associative array with information about the current table |
| | 20 | */ |
| 15 | 21 | public function __construct( $args = array() ) { |
| 16 | 22 | global $status, $page; |
| 17 | 23 | |
diff --git wp-admin/includes/class-wp-plugins-list-table.php wp-admin/includes/class-wp-plugins-list-table.php
index 2d5e497..c2f1599 100644
|
|
|
|
| 9 | 9 | */ |
| 10 | 10 | class WP_Plugins_List_Table extends WP_List_Table { |
| 11 | 11 | |
| | 12 | /** |
| | 13 | * Constructor. |
| | 14 | * |
| | 15 | * @since 3.1.0 |
| | 16 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 17 | * @param array $args An associative array with information about the current table |
| | 18 | */ |
| 12 | 19 | public function __construct( $args = array() ) { |
| 13 | 20 | global $status, $page; |
| 14 | 21 | |
diff --git wp-admin/includes/class-wp-posts-list-table.php wp-admin/includes/class-wp-posts-list-table.php
index 5173daf..13f2c9b 100644
|
|
|
class WP_Posts_List_Table extends WP_List_Table { |
| 45 | 45 | */ |
| 46 | 46 | private $sticky_posts_count = 0; |
| 47 | 47 | |
| | 48 | /** |
| | 49 | * Constructor. |
| | 50 | * |
| | 51 | * @since 3.1.0 |
| | 52 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 53 | * @param array $args An associative array with information about the current table |
| | 54 | */ |
| 48 | 55 | public function __construct( $args = array() ) { |
| 49 | 56 | global $post_type_object, $wpdb; |
| 50 | 57 | |
diff --git wp-admin/includes/class-wp-terms-list-table.php wp-admin/includes/class-wp-terms-list-table.php
index 61ab9d6..2ebd3f1 100644
|
|
|
class WP_Terms_List_Table extends WP_List_Table { |
| 11 | 11 | |
| 12 | 12 | public $callback_args; |
| 13 | 13 | |
| | 14 | /** |
| | 15 | * Constructor. |
| | 16 | * |
| | 17 | * @since 3.1.0 |
| | 18 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 19 | * @param array $args An associative array with information about the current table |
| | 20 | */ |
| 14 | 21 | public function __construct( $args = array() ) { |
| 15 | 22 | global $post_type, $taxonomy, $action, $tax; |
| 16 | 23 | |
diff --git wp-admin/includes/class-wp-themes-list-table.php wp-admin/includes/class-wp-themes-list-table.php
index 521d24b..2dce848 100644
|
|
|
class WP_Themes_List_Table extends WP_List_Table { |
| 12 | 12 | protected $search_terms = array(); |
| 13 | 13 | public $features = array(); |
| 14 | 14 | |
| | 15 | /** |
| | 16 | * Constructor. |
| | 17 | * |
| | 18 | * @since 3.1.0 |
| | 19 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 20 | * @param array $args An associative array with information about the current table |
| | 21 | */ |
| 15 | 22 | public function __construct( $args = array() ) { |
| 16 | 23 | parent::__construct( array( |
| 17 | 24 | 'ajax' => true, |
diff --git wp-admin/includes/class-wp-users-list-table.php wp-admin/includes/class-wp-users-list-table.php
index fafa660..3ccd4e7 100644
|
|
|
class WP_Users_List_Table extends WP_List_Table { |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * Constructor. |
| 33 | | * |
| | 33 | * |
| 34 | 34 | * @since 3.1.0 |
| 35 | | * @access public |
| 36 | | */ |
| | 35 | * @see WP_List_Table::__construct() For more information on the default arguments. |
| | 36 | * @param array $args An associative array with information about the current table |
| | 37 | */ |
| 37 | 38 | public function __construct( $args = array() ) { |
| 38 | 39 | parent::__construct( array( |
| 39 | 40 | 'singular' => 'user', |