[wp-trac] [WordPress Trac] #19343: Allow Quick Edit to be Disabled for Custom Post Types

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


#19343: Allow Quick Edit to be Disabled for Custom Post Types
-----------------------------+---------------------
 Reporter:  Jick             |       Owner:  nacin
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Quick/Bulk Edit  |     Version:  3.3
 Severity:  trivial          |  Resolution:  fixed
 Keywords:  nacin-likes      |     Focuses:
-----------------------------+---------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => 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/19343#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list