#13393 closed defect (bug) (fixed)
"Show on screen" in screen options shown twice on some screens
Reported by: | azaozz | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | high |
Severity: | normal | Version: | 3.0 |
Component: | Menus | Keywords: | needs-patch |
Focuses: | Cc: |
Description
Introduced in [14287]. I know the whole screen_meta()
function is a bit messy but lately it seems it's getting messier instead of being streamlined. Generally each different type of settings there is handled by a separate function in wp-admin/includes/template.php and different JS. That avoids conflicts and makes future development easier.
Attachments (1)
Change History (9)
Note: See
TracTickets for help on using
tickets.
[14287] also adds couple of very marginal hooks on the "Show on screen" string that IMHO are useless. Why would a plugin want to change a consistent, UX checked, translated string to an (mostly) untranslated, inconsistent one?
Each hook adds a bit of processing time and more importantly each hook is a big "STOP" sign in future development. Once introduced it cannot be changed or all plugins using it would break. This adds complexity, possibility of introducing bugs and more backwards compatibility checking so new hooks should be added "sensibly".