Changeset 54865 for trunk/tests/phpunit/tests/user/capabilities.php
- Timestamp:
- 11/22/2022 09:25:27 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/capabilities.php
r54673 r54865 1708 1708 1709 1709 public function nullify_current_user() { 1710 // Prevents fatal errors in ::tear Down()'s and other uses of restore_current_blog().1710 // Prevents fatal errors in ::tear_down()'s and other uses of restore_current_blog(). 1711 1711 $function_stack = wp_debug_backtrace_summary( null, 0, false ); 1712 1712 if ( in_array( 'restore_current_blog', $function_stack, true ) ) {
Note: See TracChangeset
for help on using the changeset viewer.