Make WordPress Core


Ignore:
Timestamp:
07/12/2020 11:34:18 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Administration: Restore the excerpt key for the Extended view mode for backward compatibility for now.

Props Offereins.
See #49715.

File:
1 edited

Legend:

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

    r48424 r48450  
    8888
    8989        if ( ! empty( $_REQUEST['mode'] ) ) {
    90             $mode = 'extended' === $_REQUEST['mode'] ? 'extended' : 'list';
     90            $mode = 'excerpt' === $_REQUEST['mode'] ? 'excerpt' : 'list';
    9191            set_user_setting( 'posts_list_mode', $mode );
    9292        }
     
    761761        $mode = get_user_setting( 'posts_list_mode', 'list' );
    762762
    763         if ( 'extended' === $mode ) {
     763        if ( 'excerpt' === $mode ) {
    764764            $always_visible = true;
    765765        }
Note: See TracChangeset for help on using the changeset viewer.