WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/28/2020 04:17:13 PM (17 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r48615 r48668  
    12711271        $mode = get_user_setting( 'posts_list_mode', 'list' );
    12721272
    1273         /** This filter is documented in wp-admin/includes/class-wp-screen.php */
    1274         $mode = apply_filters( 'table_view_mode', $mode );
    1275 
    12761273        $mode_class = esc_attr( 'table-view-' . $mode );
    12771274
Note: See TracChangeset for help on using the changeset viewer.