Bootstrap the plugin header, autoloader, and PHP 7.4 floor #2
Labels
No labels
area: build
area: ci
area: compare
area: model
area: plugin
area: provenance
area: rite
area: settings
area: ui
backport
blocked
breaking
confirmed
dependencies
duplicate
epic
invalid
needs-info
needs-triage
php
priority: high
priority: low
priority: medium
regression
type: chore
type: correction
type: docs
type: enhancement
type: feature
type: fix
type: perf
type: refactor
type: security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Directorium/Ordo#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Ordo needs a single entry-point plugin file that WordPress recognizes, with a namespaced PSR-4 autoloader for the plugin's own classes and a hard floor on the supported PHP version. Everything else in v0.1.0 hangs off this bootstrap.
Acceptance criteria
Notes
Version string is the single source of truth read from the plugin header, not duplicated in code.
Done in #105. Plugin header with GPL-2.0-or-later + Requires PHP 7.4; version read from the header via get_file_data (single source of truth); self-contained PSR-4 autoloader (src/Autoloader.php); activation aborts with an admin notice below PHP 7.4 instead of fatal-erroring; activates/deactivates with no notices.