[wp-trac] [WordPress Trac] #16502: Quick Edit contents should only be rendered if quick edit button in actions after filtering

WordPress Trac noreply at wordpress.org
Mon Sep 18 13:17:56 UTC 2023


#16502: Quick Edit contents should only be rendered if quick edit button in actions
after filtering
--------------------------------------------+-----------------------------
 Reporter:  wyrfel                          |       Owner:  SergeyBiryukov
     Type:  enhancement                     |      Status:  closed
 Priority:  normal                          |   Milestone:  6.4
Component:  Quick/Bulk Edit                 |     Version:  3.0.4
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56611" 56611]:
 {{{
 #!CommitTicketReference repository="" revision="56611"
 Quick Edit: Allow Quick Edit to be disabled for custom post types or
 taxonomies.

 Some custom post types or taxonomies may not need the Quick Edit
 functionality, in which case adding hidden fields and rendering the form
 with the data to edit would be redundant.

 This commit introduces two filters for more granular control:

 * `quick_edit_enabled_for_post_type`
 * `quick_edit_enabled_for_taxonomy`

 Follow-up to [8857], [9083], [9098].

 Props garyc40, sabernhardt, mukesh27, costdev, oglekler, wyrfel,
 peterwilsoncc, faguni22, robinwpdeveloper, webcommsat, johnbillion,
 azaozz, hellofromTonya, GunGeekATX, Jick, mikeschinkel, jane, nacin,
 helen, wonderboymusic, DrewAPicture, SergeyBiryukov.
 Fixes #16502, #19343, #57596.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/16502#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list