Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19154 closed defect (bug) (fixed)

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

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

Description

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 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
13 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
13 years ago

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

@nacin
13 years ago

#3 @nacin
13 years ago

  • Keywords has-patch added

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

#4 @jane
13 years ago

No default help.

#5 @nacin
13 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.