[wp-trac] [WordPress Trac] #34295: "Apply" button for screen options isn't just for the per-page setting

WordPress Trac noreply at wordpress.org
Wed Oct 14 01:27:00 UTC 2015


#34295: "Apply" button for screen options isn't just for the per-page setting
----------------------------+-----------------------------
 Reporter:  helen           |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  ui              |
----------------------------+-----------------------------
 The "Apply" button for screen options is output inside
 `WP_Screen::render_per_page_options()` and is displayed next to the per-
 page setting. By default right now this makes sense, as all other core
 screen options update via Ajax or are links (problematic in itself).
 However, there is a `screen_settings` filter that displays below the per
 page options, which are not always shown. Plugins that use this filter
 either also update via Ajax, piggyback onto the per-page's apply button,
 or add their own.

 This makes adding other non-Ajax screen options not very pleasant for
 developers or users, both for plugins and when looking at them in core,
 such as in #22222.

 Additionally, the button is secondary, when it's really your primary
 action and takes you away from the page. Related: #23738

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34295>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list