fix: add services/opik/ to autoloader — v0.12.3

class-autoloader.php listed services/ as a scan directory but not
services/opik/, where all four Opik classes live. Composer's classmap
covers includes/ recursively so PHPUnit passed; the WP runtime autoloader
fatals on first Opik class reference in production.

Root cause: the subdirectory was not added to the explicit $directories
array when the opik/ subdirectory was created in Wave 1.

Adds services/opik/ to the scan list. Bumps to v0.12.3.
This commit is contained in:
peptiderepo
2026-04-24 03:46:11 +00:00
parent b9dfc29436
commit 5c048dd531
3 changed files with 9 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
* Plugin Name: PRAutoBlogger
* Plugin URI: https://peptiderepo.com/prautoblogger
* Description: Monitors social media for trending topics, generates SEO-friendly blog posts using AI, and publishes them on a daily schedule with full cost tracking and self-improvement metrics.
* Version: 0.12.2
* Version: 0.12.3
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: PeptideRepo
@@ -35,7 +35,7 @@ if ( ! defined( 'ABSPATH' ) ) {
| Defined here so every file in the plugin can reference paths, versions,
| and limits without magic strings.
*/
define( 'PRAUTOBLOGGER_VERSION', '0.12.2' );
define( 'PRAUTOBLOGGER_VERSION', '0.12.3' );
define( 'PRAUTOBLOGGER_DB_VERSION', '1.1.0' );
define( 'PRAUTOBLOGGER_PLUGIN_FILE', __FILE__ );
define( 'PRAUTOBLOGGER_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );