Changeset 6415 for trunk/src/includes/users/functions.php
- Timestamp:
- 05/19/2017 03:25:37 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/users/functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/functions.php
r6407 r6415 675 675 676 676 // Bail if actions aren't meant for this function 677 if ( ! in_array( $action, $possible_actions ) ) {677 if ( ! in_array( $action, $possible_actions, true ) ) { 678 678 return; 679 679 } … … 1334 1334 1335 1335 // Bail if actions aren't meant for this function 1336 if ( ! in_array( $action, $possible_actions ) ) {1336 if ( ! in_array( $action, $possible_actions, true ) ) { 1337 1337 return; 1338 1338 } … … 1441 1441 1442 1442 // Bail if actions aren't meant for this function 1443 if ( ! in_array( $action, $possible_actions ) ) {1443 if ( ! in_array( $action, $possible_actions, true ) ) { 1444 1444 return; 1445 1445 } … … 2321 2321 2322 2322 // Bail if not editing or displaying (maybe we'll do more here later) 2323 if ( ! in_array( $context, array( 'edit', 'display' ) ) ) {2323 if ( ! in_array( $context, array( 'edit', 'display' ), true ) ) { 2324 2324 return $value; 2325 2325 }
Note: See TracChangeset
for help on using the changeset viewer.