[wp-trac] [WordPress Trac] #36237: Add filter for post statuses in quickedit (was: Add filter for ticket statuses in quickedit)
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Mar 14 17:10:54 UTC 2016
    
    
  
#36237: Add filter for post statuses in quickedit
-------------------------------+------------------------------
 Reporter:  kakomap            |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.4.2
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:  administration
-------------------------------+------------------------------
Changes (by johnbillion):
 * keywords:   => needs-patch
 * focuses:   => administration
Old description:
> T[[Image()]]o 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. [[BR]]
>
> 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.[[BR]]
>
> I'm available to submit a patch that does this
New description:
 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. [[BR]]
 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.[[BR]]
 I'm available to submit a patch that does this
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36237#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list