fix: add services/opik/ to autoloader directory scan

The WordPress runtime autoloader (class-autoloader.php) was not scanning
services/opik/ — only services/. All four Opik classes live in that
subdirectory and would fatal on first use in production (class not found).

Composer's classmap covers all of includes/ recursively, so PHPUnit tests
passed. The runtime autoloader only scans explicit directory entries.

Adds 'services/opik/' to the scan list. No other services/ subdirs exist.
This commit is contained in:
peptiderepo
2026-04-24 03:43:20 +00:00
parent 89670be661
commit d42cd63103

View File

@@ -30,6 +30,7 @@ class PRAutoBlogger_Autoloader {
'models/',
'frontend/',
'services/',
'services/opik/',
'ajax/',
);