Add an `if class_exists()` guard clause to the PucUpgraderStatus class.

This commit is contained in:
Yahnis Elsts 2016-01-22 11:53:13 +02:00
parent cc42d4847a
commit 7a5732bd21
1 changed files with 5 additions and 0 deletions

View File

@ -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) ):