fix(cpt): remove rest_namespace so Gutenberg block editor can load peptide posts (v0.3.2)

Removes rest_namespace => pr-core/v1 from CPT registration. Gutenberg fetches wp/v2 hardcoded — custom namespace caused 404 and editor crash on all 89 peptide entries. WordPress defaults to wp/v2.

QA: PASS (2026-04-25-9d4ce64c.md)
CI: green
PR: #5
This commit is contained in:
peptiderepo
2026-04-25 01:57:30 +07:00
committed by GitHub
parent deadccc27b
commit 3050292fcf
4 changed files with 11 additions and 5 deletions

View File

@@ -3,6 +3,11 @@
All notable changes to Peptide Repo Core are documented here.
Format: [Semantic Versioning](https://semver.org/).
## [0.3.2] — 2026-04-25
### Fixed
- Remove `rest_namespace` from peptide CPT registration. Custom namespace prevented Gutenberg block editor from loading peptide posts for editing (404 on wp/v2 REST route). All 89 peptide entries are now editable in the block editor. (#5)
## [0.3.1] — 2026-04-24
### Fixed