Changeset 47219 for trunk/src/wp-admin/includes/update.php
- Timestamp:
- 02/09/2020 04:52:28 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r47198 r47219 57 57 $result = array(); 58 58 foreach ( $updates as $update ) { 59 if ( $update->response == 'autoupdate') {59 if ( 'autoupdate' === $update->response ) { 60 60 continue; 61 61 } … … 292 292 $cur = get_preferred_from_update_core(); 293 293 294 if ( ! isset( $cur->response ) || $cur->response != 'upgrade') {294 if ( ! isset( $cur->response ) || 'upgrade' !== $cur->response ) { 295 295 return false; 296 296 } … … 338 338 $cur = get_preferred_from_update_core(); 339 339 340 if ( isset( $cur->response ) && $cur->response == 'upgrade') {340 if ( isset( $cur->response ) && 'upgrade' === $cur->response ) { 341 341 $msg .= sprintf( 342 342 '<a href="%s" class="button" aria-describedby="wp-version">%s</a> ',
Note: See TracChangeset
for help on using the changeset viewer.