- Timestamp:
- 09/22/2015 06:05:39 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r32656 r34383 78 78 $tabs = array(); 79 79 80 if ( 'search' == $tab )80 if ( 'search' === $tab ) { 81 81 $tabs['search'] = __( 'Search Results' ); 82 } 82 83 $tabs['featured'] = _x( 'Featured', 'Plugin Installer' ); 83 84 $tabs['popular'] = _x( 'Popular', 'Plugin Installer' ); … … 239 240 $display_tabs = array(); 240 241 foreach ( (array) $tabs as $action => $text ) { 241 $class = ( $action == $tab ) ? ' current' : '';242 $class = ( $action === $tab ) ? ' current' : ''; 242 243 $href = self_admin_url('plugin-install.php?tab=' . $action); 243 244 $display_tabs['plugin-install-'.$action] = "<a href='$href' class='$class'>$text</a>"; … … 311 312 } 312 313 313 if ( 'top' == 314 if ( 'top' === $which ) { 314 315 wp_referer_field(); 315 316 ?> … … 368 369 } 369 370 370 if ( 'DESC' == $this->order ) {371 if ( 'DESC' === $this->order ) { 371 372 return ( $a < $b ) ? 1 : -1; 372 373 } else {
Note: See TracChangeset
for help on using the changeset viewer.