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

@@ -4,6 +4,11 @@ All notable changes to Peptide Repo Core are documented here.
Format: [Semantic Versioning](https://semver.org/).
## [0.7.1] - 2026-06-17
### Fixed
- **Critical**: Settings page PHP Fatal `Undefined constant PR_Core_Settings_Renderer::OPTION_GROUP` (and 6 other `self::CONST` references). Root cause: PR #22 split the renderer into its own class but left all constants defined only on `PR_Core_Settings`. Fix: promote the 6 option-key private constants to `public const` on `PR_Core_Settings`; update renderer to reference them via `PR_Core_Settings::*`. Regression introduced in v0.7.0.
## [0.7.0] - 2026-06-16
### Changed