WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 months ago

#19828 assigned enhancement

allowing to insert help tab in specific position

Reported by: tfnab Owned by: dustyf
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.1
Component: Administration Keywords: has-patch good-first-bug needs-refresh
Focuses: Cc:

Description

this enhancement of add_help_tab() would allow plugin developers to insert help tabs on existing screens at an arbitrary position, e.g. place it on the "Writing Settings" screen's help tab between the "Overview" and "Press This" tabs

the patch attached includes the bugfix from #19827, but this enhancement can be rewritten to work independently

Attachments (2)

core-ticket19828.diff (2.5 KB) - added by tfnab 4 years ago.
wp-admin-includes-screen.diff (2.0 KB) - added by dustyf 10 months ago.
Patch dds priority argument for help tabs and method to sort by argument

Download all attachments as: .zip

Change History (14)

@tfnab4 years ago

comment:1 @nacin4 years ago

It would probably be best to implement a priority system.

comment:2 @chriscct710 months ago

  • Keywords needs-refresh added; has-patch removed

comment:3 @helen10 months ago

  • Keywords good-first-bug added

Seems like a fairly standalone patch exploration.

comment:4 @helen10 months ago

  • Keywords needs-refresh removed

comment:5 @slackbot10 months ago

This ticket was mentioned in Slack in #core by mattshaw. View the logs.

@dustyf10 months ago

Patch dds priority argument for help tabs and method to sort by argument

comment:6 @dustyf10 months ago

Patch submitted adding a priority argument for the help tabs and a method to sort the tabs before display. By default, tabs will have a priority of 10 and priorities can be passed in with the default $args when adding new tabs.

comment:7 @slackbot10 months ago

This ticket was mentioned in Slack in #core by dustyf. View the logs.

comment:8 @dustyf10 months ago

  • Keywords good-first-bug removed

comment:9 @slackbot10 months ago

This ticket was mentioned in Slack in #core by dustyf. View the logs.

comment:10 @chriscct710 months ago

  • Keywords has-patch added

comment:11 @helen10 months ago

  • Keywords good-first-bug added
  • Owner set to dustyf
  • Status changed from new to assigned

comment:12 @swissspidy3 months ago

  • Keywords needs-refresh added
Note: See TracTickets for help on using tickets.