Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#36237 new enhancement

Add filter for post statuses in quickedit

Reported by: kakomap's profile kakomap Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.4.2
Component: Posts, Post Types Keywords: has-patch needs-testing
Focuses: administration Cc:

Description (last modified by johnbillion)

To make changes to the quick edit status list, one has to use JS or action quick_edit_custom_box to add extra fields. In instances where some of the statuses need to be removed, JS is required.

I propose that the statuses in wp-admin/includes/class-wp-posts-list-table.php (line 1284-1300) be stored in an array then filtered using quick_edit_statuses before the array is iterated through to create the select options.

I'm available to submit a patch that does this

Attachments (2)

quick_edit_statuses.png (44.8 KB) - added by kakomap 8 years ago.
Quick Edits
36237.patch (3.4 KB) - added by kakomap 8 years ago.
Use quick_edit_statuses filter for the statuses

Download all attachments as: .zip

Change History (7)

@kakomap
8 years ago

Quick Edits

#1 @johnbillion
8 years ago

  • Description modified (diff)
  • Focuses administration added
  • Keywords needs-patch added
  • Summary changed from Add filter for ticket statuses in quickedit to Add filter for post statuses in quickedit

#2 @kakomap
8 years ago

Thanks @johnbillion. May I proceed to propose a patch?

@kakomap
8 years ago

Use quick_edit_statuses filter for the statuses

#5 @kakomap
8 years ago

  • Keywords has-patch needs-testing added; needs-patch removed
Note: See TracTickets for help on using tickets.