mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
Refactoring
This commit is contained in:
parent
dea49b13b1
commit
acdfa23a81
25 changed files with 121 additions and 285 deletions
|
@ -15,7 +15,7 @@ class MainWP_Child_Skeleton_Key {
|
|||
}
|
||||
|
||||
public function action() {
|
||||
error_reporting( 0 );
|
||||
|
||||
function mainwp_skeleton_key_handle_fatal_error() {
|
||||
$error = error_get_last();
|
||||
if ( isset( $error['type'] ) && in_array( $error['type'], array( 1, 4, 16, 64, 256 ) ) && isset( $error['message'] ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue