Repository navigation
Organize and simplify the WordPress admin settings UI - #305
Merged
Merged
Conversation
CodyReichert
force-pushed
the
codex_admin-settings-ui
branch
from
October 7, 2026 00:34
2001c0b to
2dba837
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SimplyRETS settings page is a long form that makes individual options difficult to find. This change organizes it into eight navigable sections, adds a setting search and an All settings view, and provides a persistent save bar with unsaved-change feedback. The layout adapts to narrow screens, and API credentials are concealed by default with a reveal button.
All existing settings and their names, IDs, values, option registration, sanitizers, nonces, and save endpoint are retained. Sections remain in one form so saving includes edits in hidden sections; invalid fields reveal their section. Without JavaScript, every section and the save button remain available.
Cleanup removes the unused admin-page database global, repeated save buttons and separators, superseded CSS declarations, and the inline custom-form script. One WordPress save control retains the existing submit name and ID. The legacy post-editor filter switch is replaced with a label-to-selector map while preserving its control IDs and update order. Search indexes help text and option names once, excluding stored field values. Admin assets use their modification times to invalidate stale caches.
Validation: