mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 06:05:42 +00:00
Administration: Pull the table_view_mode filter for now.
The extensibility of list table view modes will be explored in a future release. Props audrasjb. See #49715. git-svn-id: https://develop.svn.wordpress.org/trunk@48668 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -602,9 +602,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
protected function get_table_classes() {
|
||||
global $mode;
|
||||
|
||||
/** This filter is documented in wp-admin/includes/class-wp-screen.php */
|
||||
$mode = apply_filters( 'table_view_mode', $mode );
|
||||
|
||||
$mode_class = esc_attr( 'table-view-' . $mode );
|
||||
|
||||
return array( 'widefat', 'fixed', 'striped', $mode_class, is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' );
|
||||
|
||||
Reference in New Issue
Block a user