Changeset 47219 for trunk/src/wp-admin/includes/class-wp-screen.php
- Timestamp:
- 02/09/2020 04:52:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-screen.php
r47122 r47219 374 374 if ( isset( self::$_registry[ $id ] ) ) { 375 375 $screen = self::$_registry[ $id ]; 376 if ( $screen === get_current_screen()) {376 if ( get_current_screen() === $screen ) { 377 377 return $screen; 378 378 } … … 455 455 */ 456 456 public function is_block_editor( $set = null ) { 457 if ( $set !== null) {457 if ( null !== $set ) { 458 458 $this->is_block_editor = (bool) $set; 459 459 }
Note: See TracChangeset
for help on using the changeset viewer.