Coding Standards: Some missed code formatting.

Unprops: whyisjake.


Built from https://develop.svn.wordpress.org/trunk@48415


git-svn-id: http://core.svn.wordpress.org/trunk@48184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
whyisjake 2020-07-10 01:01:03 +00:00
parent 68e56464c4
commit 9397ad46ba
5 changed files with 4 additions and 5 deletions

View File

@ -759,7 +759,7 @@ class WP_Comments_List_Table extends WP_List_Table {
$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment ); $actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
$always_visible = false; $always_visible = false;
$mode = get_user_setting( 'posts_list_mode', 'list' ); $mode = get_user_setting( 'posts_list_mode', 'list' );
if ( 'extended' === $mode ) { if ( 'extended' === $mode ) {
$always_visible = true; $always_visible = true;
} }

View File

@ -1254,7 +1254,7 @@ class WP_List_Table {
protected function get_table_classes() { protected function get_table_classes() {
$mode = get_user_setting( 'posts_list_mode', 'list' ); $mode = get_user_setting( 'posts_list_mode', 'list' );
$mode_class = 'extended' === $mode ? 'table-view-extended' : 'table-view-list'; $mode_class = 'extended' === $mode ? 'table-view-extended' : 'table-view-list';
$mode = get_user_setting( 'posts_list_mode', 'list' ); $mode = get_user_setting( 'posts_list_mode', 'list' );
/** /**
* Filters the current view mode. * Filters the current view mode.
* *

View File

@ -600,7 +600,7 @@ class WP_Posts_List_Table extends WP_List_Table {
protected function get_table_classes() { protected function get_table_classes() {
$mode = get_user_setting( 'posts_list_mode', 'list' ); $mode = get_user_setting( 'posts_list_mode', 'list' );
$mode_class = 'extended' === $mode ? 'table-view-extended' : 'table-view-list'; $mode_class = 'extended' === $mode ? 'table-view-extended' : 'table-view-list';
$mode = get_user_setting( 'posts_list_mode', 'list' ); $mode = get_user_setting( 'posts_list_mode', 'list' );
/** /**
* Filters the current view mode. * Filters the current view mode.
* *

View File

@ -112,7 +112,6 @@ class WP_List_Util {
if ( array_key_exists( $m_key, $obj ) && ( $m_value == $obj[ $m_key ] ) ) { if ( array_key_exists( $m_key, $obj ) && ( $m_value == $obj[ $m_key ] ) ) {
$matched++; $matched++;
} }
} elseif ( is_object( $obj ) ) { } elseif ( is_object( $obj ) ) {
// Treat object as an object // Treat object as an object

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-beta1-48414'; $wp_version = '5.5-beta1-48415';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.