wpavatar/includes
wenpai 52c8e9e548 fix: add function_exists guard for add_settings_error in Cache class
add_settings_error() is only available in admin context. When
setup_cache_dir() runs on frontend via the 'init' hook, calling
add_settings_error() causes a fatal error that breaks the entire
WordPress loading process, cascading into class redeclaration
errors for other plugins.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 03:36:14 +08:00
..
admin.php security: 修复 19 个真正的输出转义问题 2026-03-03 14:36:11 +08:00
core.php fix: add function_exists guard for add_settings_error in Cache class 2026-03-27 03:36:14 +08:00
marketing.php refactor: WPCS 代码规范修复 (7900+ 问题) 2026-03-03 12:25:48 +08:00
multisite.php security: 修复 19 个真正的输出转义问题 2026-03-03 14:36:11 +08:00
wpcy-compatibility.php refactor: WPCS 代码规范修复 (7900+ 问题) 2026-03-03 12:25:48 +08:00