mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Coding Standards: Some missed code formatting.
Unprops: whyisjake. git-svn-id: https://develop.svn.wordpress.org/trunk@48415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
36f9f6c70d
commit
80e2a20c53
@ -759,7 +759,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
|
||||
|
||||
$always_visible = false;
|
||||
$mode = get_user_setting( 'posts_list_mode', 'list' );
|
||||
$mode = get_user_setting( 'posts_list_mode', 'list' );
|
||||
if ( 'extended' === $mode ) {
|
||||
$always_visible = true;
|
||||
}
|
||||
|
||||
@ -1254,7 +1254,7 @@ class WP_List_Table {
|
||||
protected function get_table_classes() {
|
||||
$mode = get_user_setting( 'posts_list_mode', '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.
|
||||
*
|
||||
|
||||
@ -600,7 +600,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
protected function get_table_classes() {
|
||||
$mode = get_user_setting( 'posts_list_mode', '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.
|
||||
*
|
||||
|
||||
@ -112,7 +112,6 @@ class WP_List_Util {
|
||||
if ( array_key_exists( $m_key, $obj ) && ( $m_value == $obj[ $m_key ] ) ) {
|
||||
$matched++;
|
||||
}
|
||||
|
||||
} elseif ( is_object( $obj ) ) {
|
||||
|
||||
// Treat object as an object
|
||||
|
||||
Loading…
Reference in New Issue
Block a user