Ticket #46068: 46068.diff
File 46068.diff, 609 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/error-protection.php
68 68 $callback = 'wp_paused_plugins'; 69 69 $path = str_replace( $wp_plugin_dir . '/', '', $error_file ); 70 70 } else { 71 if ( empty( $wp_theme_directories ) ) { 72 return false; 73 } 74 71 75 foreach ( $wp_theme_directories as $theme_directory ) { 72 76 $theme_directory = wp_normalize_path( $theme_directory ); 73 77 if ( 0 === strpos( $error_file, $theme_directory ) ) {