Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#19154 closed defect (bug) (fixed)

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

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

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

Download all attachments as: .zip

Change History (6)

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

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

@nacin
15 years ago

#3 @nacin
15 years ago

  • Keywords has-patch added

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

#4 @jane
15 years ago

No default help.

#5 @nacin
15 years ago

  • Resolution → fixed
  • Status new → 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.