Add an `if class_exists()` guard clause to the PucUpgraderStatus class.
This commit is contained in:
parent
cc42d4847a
commit
7a5732bd21
|
|
@ -1250,6 +1250,9 @@ class PucScheduler_3_0 {
|
|||
|
||||
endif;
|
||||
|
||||
|
||||
if ( !class_exists('PucUpgraderStatus_3_0', false) ):
|
||||
|
||||
/**
|
||||
* A utility class that helps figure out which plugin WordPress is upgrading.
|
||||
*
|
||||
|
|
@ -1390,6 +1393,8 @@ class PucUpgraderStatus_3_0 {
|
|||
}
|
||||
}
|
||||
|
||||
endif;
|
||||
|
||||
|
||||
if ( !class_exists('PucFactory', false) ):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue