Changeset 6415 for trunk/src/includes/core/update.php
- Timestamp:
- 05/19/2017 03:25:37 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/update.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/update.php
r6339 r6415 68 68 69 69 // Bail if not activating 70 if ( empty( $action ) || ! in_array( $action, array( 'activate', 'activate-selected' ) ) ) {70 if ( empty( $action ) || ! in_array( $action, array( 'activate', 'activate-selected', true ) ) ) { 71 71 return false; 72 72 } … … 90 90 91 91 // Is bbPress being activated? 92 return in_array( $basename, $plugins );92 return in_array( $basename, $plugins, true ); 93 93 } 94 94 … … 118 118 119 119 // Bail if not deactivating 120 if ( empty( $action ) || ! in_array( $action, array( 'deactivate', 'deactivate-selected' ) ) ) {120 if ( empty( $action ) || ! in_array( $action, array( 'deactivate', 'deactivate-selected' ), true ) ) { 121 121 return false; 122 122 } … … 140 140 141 141 // Is bbPress being deactivated? 142 return in_array( $basename, $plugins );142 return in_array( $basename, $plugins, true ); 143 143 } 144 144
Note: See TracChangeset
for help on using the changeset viewer.