Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#19154 closed defect (bug) (fixed)

Add a (simple) way to disable the help tab.

Reported by: koopersmith Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: General Keywords: has-patch
Focuses: Cc:


Currently, disabling the default help takes some filter-filled goodness. We should have a better, API-sanctioned way.

As for use cases — the new About screen in core is a prime example.

Attachments (1)

19154.diff (2.0 KB) - added by nacin 8 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
8 years ago

The default help might change once the sidebar and such is set, so we'll use this ticket to track it.

I'm thinking a method that either kills (or sets) the default help, or all help.

One option would be a simple filter that we could do either before admin-header is included, or that a plugin could do on load-$pagenow:

add_filter( "show_help_" . get_current_screen()-id, '__return_false' )

Or something like that.

#2 @nacin
8 years ago

Alternative from Ryan: "No default help. It's kinda useless and those links are in the W menu." I like.

8 years ago

#3 @nacin
8 years ago

  • Keywords has-patch added

19154.diff removes the default default help (keeps the filter).

#4 @jane
8 years ago

No default help.

#5 @nacin
8 years ago

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

In [19185]:

Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.

Note: See TracTickets for help on using tickets.