- Timestamp:
- 05/16/2020 06:40:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r47588 r47808 518 518 $actions = array(); 519 519 520 if ( 'active' != $status ) {520 if ( 'active' !== $status ) { 521 521 $actions['activate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Activate' ) : __( 'Activate' ); 522 522 } 523 523 524 if ( 'inactive' != $status && 'recent' != $status ) {524 if ( 'inactive' !== $status && 'recent' !== $status ) { 525 525 $actions['deactivate-selected'] = $this->screen->in_admin( 'network' ) ? __( 'Network Deactivate' ) : __( 'Deactivate' ); 526 526 } … … 531 531 } 532 532 533 if ( current_user_can( 'delete_plugins' ) && ( 'active' != $status ) ) {533 if ( current_user_can( 'delete_plugins' ) && ( 'active' !== $status ) ) { 534 534 $actions['delete-selected'] = __( 'Delete' ); 535 535 } … … 566 566 echo '<div class="alignleft actions">'; 567 567 568 if ( 'recently_activated' == $status ) {568 if ( 'recently_activated' === $status ) { 569 569 submit_button( __( 'Clear List' ), '', 'clear-recent-list', false ); 570 570 } elseif ( 'top' === $which && 'mustuse' === $status ) { … … 859 859 ); 860 860 } 861 if ( 'dropins' != $context ) {861 if ( 'dropins' !== $context ) { 862 862 $description = '<p>' . ( $plugin_data['Description'] ? $plugin_data['Description'] : ' ' ) . '</p>'; 863 863 $plugin_name = $plugin_data['Name'];
Note: See TracChangeset
for help on using the changeset viewer.