[wp-trac] [WordPress Trac] #18954: Automatically whitelist screen options added via add_screen_option()
WordPress Trac
noreply at wordpress.org
Fri Apr 10 17:35:18 UTC 2015
#18954: Automatically whitelist screen options added via add_screen_option()
-------------------------+-----------------------------
Reporter: mdawaffe | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
-------------------------+-----------------------------
Comment (by GunGeekATX):
Also, we should be able to call {{{add_screen_option()}}} and have it
either rendered by the {{{render_per_page_options()}}} function, or be
able to pass a callback to render the option ourselves (probably a better
solution).
Maybe a more encompassing solution would be similar to the settings API,
with functions for {{{add_screen_group()}}},
{{{register_screen_option()}}}, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18954#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list