fix: resolve PR_Core_Settings_Renderer undefined constant fatal (v0.7.1) (#24)
Squash-merge of PR #24 — QA APPROVED (2026-06-17 SHA ad2b1d9a)
Agent-Session: 2026-06-17-phase1-vps-runner-deploy-500fixes
This commit is contained in:
@@ -23,22 +23,22 @@ class PR_Core_Settings {
|
||||
public const OPTION_GROUP = 'pr_core_settings';
|
||||
|
||||
/** @var string Option key: enable/disable related articles. */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
private const RELATED_ENABLED = 'pr_core_related_posts_enabled';
|
||||
public const RELATED_ENABLED = 'pr_core_related_posts_enabled';
|
||||
|
||||
/** @var string Option key: related articles limit (1-6). */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
private const RELATED_LIMIT = 'pr_core_related_posts_limit';
|
||||
public const RELATED_LIMIT = 'pr_core_related_posts_limit';
|
||||
|
||||
/** @var string Option key: WP-cron scan cadence. */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
private const SCAN_CADENCE = 'pr_core_scan_cadence';
|
||||
public const SCAN_CADENCE = 'pr_core_scan_cadence';
|
||||
|
||||
/** @var string Option key: default staleness threshold in days. */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
private const DEFAULT_THRESHOLD = 'pr_core_default_threshold';
|
||||
public const DEFAULT_THRESHOLD = 'pr_core_default_threshold';
|
||||
|
||||
/** @var string Option key: high-velocity staleness threshold in days. */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
private const HIGH_VELOCITY_THRESHOLD = 'pr_core_high_velocity_threshold';
|
||||
public const HIGH_VELOCITY_THRESHOLD = 'pr_core_high_velocity_threshold';
|
||||
|
||||
/** @var string Option key: comma-separated notification email list. */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
|
||||
private const VERIFICATION_EMAIL = 'pr_core_verification_email';
|
||||
public const VERIFICATION_EMAIL = 'pr_core_verification_email';
|
||||
|
||||
/**
|
||||
* Register the settings submenu page under Peptides.
|
||||
|
||||
Reference in New Issue
Block a user