settings_fields and do_settings_sections should have an echo option
|Reported by:||AshKyd||Owned by:|
Neither settings_fields() and do_settings_sections() have the option to supress echoing content to the page. This means the output can't be adjusted, and the functions can't easily be used in higher level situations such as within an actual templating language or in an AJAX call.
I had a peek at the code, and adding a $echo parameter to settings_fields seems quite straightforward, but retaining backward compatibility in do_settings_sections could be difficult.
Change History (5)
- Keywords reporter-feedback added; settings_fields do_settings_sections plugins settings removed
comment:3 markjaquith — 3 years ago
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed