Changeset 46441
- Timestamp:
- 10/08/2019 05:44:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r46385 r46441 618 618 reset( $this->status_list ); 619 619 620 $site_status = isset( $_REQUEST['status'] ) ? wp_unslash( trim( $_REQUEST['status'] ) ) : ''; 620 621 foreach ( $this->status_list as $status => $col ) { 621 if ( $_site->{$status} == 1) {622 if ( ( 1 === intval( $_site->{$status} ) ) && ( $site_status !== $status ) ) { 622 623 $site_states[ $col[0] ] = $col[1]; 623 624 }
Note: See TracChangeset
for help on using the changeset viewer.