WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#17187 closed enhancement (fixed)

Allow plugins to disable screen options with filter

Reported by: yoavf Owned by: azaozz
Milestone: 3.2 Priority: normal
Severity: minor Version: 3.1
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Currently there's no easy way to simply disable screen options.
This patch adds a filter for that.

Attachments (1)

screen_options_filter.diff (404 bytes) - added by yoavf 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 follow-up: @johnbillion4 years ago

I think the $screen and $show_screen parameters are the wrong way round in your patch yoavf

comment:2 in reply to: ↑ 1 @yoavf4 years ago

Replying to johnbillion:

I think the $screen and $show_screen parameters are the wrong way round in your patch yoavf

Thanks, updated.

comment:3 @azaozz4 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In [17884]:

Allow plugins to disable screen options with filter, props yoavf, fixes #17187

Note: See TracTickets for help on using tickets.