|
All checks were successful
Release Plugin / release (push) Successful in 13s
The bundled updater declared a shared global class name WenPai_Updater, which 22 WenPai plugins all ship a copy of. The file-level class_exists() + return guard is not a safe conditional declaration and was bypassed under certain opcache states, producing: Fatal error: Cannot declare class WenPai_Updater, because the name is already in use in .../includes/class-wenpai-updater.php on line 27 Reproduced on a customer site running this plugin alongside WPBridge: with both active, every wp-admin request returned 500. Rename the class to WPCY_Template_Connector_Updater so it no longer occupies a shared name. Renaming one side is sufficient to resolve the collision, and each plugin now uses the updater version it ships instead of whichever copy happened to load first. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| class-wenpai-updater.php | ||