WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 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
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 3 years ago.
wp-admin-includes-screen.diff (2.0 KB) - added by dustyf 7 months ago.
Patch dds priority argument for help tabs and method to sort by argument

Download all attachments as: .zip

Change History (13)

@tfnab3 years ago

comment:1 @nacin3 years ago

It would probably be best to implement a priority system.

comment:2 @chriscct77 months ago

  • Keywords needs-refresh added; has-patch removed

comment:3 @helen7 months ago

  • Keywords good-first-bug added

Seems like a fairly standalone patch exploration.

comment:4 @helen7 months ago

  • Keywords needs-refresh removed

comment:5 @slackbot7 months ago

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

@dustyf7 months ago

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

comment:6 @dustyf7 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 @slackbot7 months ago

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

comment:8 @dustyf6 months ago

  • Keywords good-first-bug removed

comment:9 @slackbot6 months ago

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

comment:10 @chriscct76 months ago

  • Keywords has-patch added

comment:11 @helen6 months ago

  • Keywords good-first-bug added
  • Owner set to dustyf
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.