Changeset 45607 for trunk/tests/phpunit/tests/user/capabilities.php
- Timestamp:
- 07/08/2019 12:55:20 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r45507 r45607 1547 1547 // Prevents fatal errors in ::tearDown()'s and other uses of restore_current_blog() 1548 1548 $function_stack = wp_debug_backtrace_summary( null, 0, false ); 1549 if ( in_array( 'restore_current_blog', $function_stack ) ) {1549 if ( in_array( 'restore_current_blog', $function_stack, true ) ) { 1550 1550 return; 1551 1551 }
Note: See TracChangeset
for help on using the changeset viewer.