fix: resolve PR_Core_Settings_Renderer undefined constant fatal (v0.7.1)

All self::CONST refs in renderer pointed at constants that only exist on
PR_Core_Settings. PR #22 split the renderer into its own class but omitted
the constants. Promote 6 option-key private consts to public on
PR_Core_Settings; update renderer to reference them as PR_Core_Settings::*.

Closes #(no issue). Regression introduced in v0.7.0 (#22).

Agent-Session: 2026-06-17-prcore-500fix
This commit is contained in:
peptiderepo
2026-06-17 05:55:35 +00:00
parent 6a8c43496e
commit ad2b1d9a25
5 changed files with 229 additions and 20 deletions

View File

@@ -9,7 +9,7 @@
* Plugin Name: Peptide Repo Core
* Plugin URI: https://peptiderepo.com
* Description: Canonical peptide schema — shared data layer for the peptiderepo.com ecosystem. Provides the peptide CPT, dosing rows, legal status cells, AI candidate queue, disclaimer component, and JSON-LD output.
* Version: 0.7.0
* Version: 0.7.1
* Author: peptiderepo
* Author URI: https://peptiderepo.com
* License: GPL-2.0-or-later
@@ -29,7 +29,7 @@ if ( ! defined( 'ABSPATH' ) ) {
/* ── Constants ────────────────────────────────────────────────────────── */
define( 'PR_CORE_VERSION', '0.7.0' );
define( 'PR_CORE_VERSION', '0.7.1' );
define( 'PR_CORE_PLUGIN_FILE', __FILE__ );
define( 'PR_CORE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'PR_CORE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );