Changeset 47550 for trunk/src/wp-activate.php
- Timestamp:
- 04/05/2020 03:00:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-activate.php
r47198 r47550 58 58 $error_code = $result->get_error_code(); 59 59 60 if ( ! in_array( $error_code, $valid_error_codes ) ) {60 if ( ! in_array( $error_code, $valid_error_codes, true ) ) { 61 61 status_header( 400 ); 62 62 } … … 137 137 <?php 138 138 } else { 139 if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes ) ) {139 if ( is_wp_error( $result ) && in_array( $result->get_error_code(), $valid_error_codes, true ) ) { 140 140 $signup = $result->get_error_data(); 141 141 ?>
Note: See TracChangeset
for help on using the changeset viewer.