Skip to content

feat: add field group page location rules - #1

Merged
coowinit merged 40 commits into
mainfrom
feature/field-group-location-rules
Oct 18, 2026
Merged

coowinit merged 40 commits into
mainfrom
feature/field-group-location-rules

Conversation

@coowinit

@coowinit coowinit commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add field-group location settings: all associated content types or specific WordPress Pages.
  • Apply object-level matching to Meta Box display, asset loading, and standard field saving.
  • Validate selected Page IDs and preserve legacy field groups without a location setting.
  • Add portable page path references for Schema v2 export/import while retaining Schema v1 compatibility.
  • Document the design and current development status.

Manual verification completed

  • Field group appears on the selected About Us Page.
  • Field group does not appear on other Pages.
  • Field value saves and remains after reopening the editor.
  • Editing the field group preserves its selected location rule.
  • Switching the rule and restoring it behaved as expected.
  • Legacy field groups and JSON import/export were reported as working in the test environment.

Review notes

  • PHP syntax workflow passed on PHP 7.4.
  • Manual page-location, save/reload, legacy group, and JSON import/export tests passed in the target test site.
  • REST API test passed: selected About Us page read/write returned HTTP 200; unselected Contact Us page write returned HTTP 403.
  • Release version metadata and final release notes should be aligned before publishing v1.1.0.

Automated checks

  • Added GitHub Actions PHP syntax check for PHP 7.4.
  • Latest pull-request workflow run: passed.
  • Live WordPress REST API authorization test passed on the target WordPress site: About Us read/write returned HTTP 200; Contact Us write returned HTTP 403 (rest_cannot_update).

@coowinit
coowinit marked this pull request as ready for review October 18, 2026 04:03
@coowinit
coowinit merged commit 539279a into main Oct 18, 2026
2 checks passed
@coowinit
coowinit deleted the feature/field-group-location-rules branch October 18, 2026 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant