Automattic / Automattic/syndication
XML Pull: validate settings on save
Open
Priority::High
type: enhancement
- Dominant language
- PHP
- Stars
- 107
- Forks
- 44
- Avg merge
- 18m
- Merged PRs (30d)
- 19
Description
Validate saved values in `save_settings` (e.g. valid post_type? valid status?) before saving.
Should also validate xpath expressions on save (can use http://www.php.net/manual/en/domxpath.evaluate.php)
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the `save_settings` entry point and inspect how saved values such as `post_type`, `status`, and XPath expressions are currently handled. Use the referenced DOMXPath `evaluate` documentation as needed. Done means invalid settings and XPath expressions are rejected before saving.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100