[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 11 05:50:57 UTC 2023


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

Comment (by peterwilsoncc):

 Naming things nitpick -- `quick_edit_enabled_for_posts` or
 `quick_edit_enabled_for_post_objects` may be better.

 `add_filter( 'quick_edit_enabled_for_post_type', '__return_false' )`
 disables the feature for all posts so could be seen as misleading.

 Given @SergeyBiryukov, @azaozz, @hellofromTonya and @oglekler are all very
 experienced contributes, it's also possible I'm over thinking this so I
 won't be upset if you disregard this comment :)

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


More information about the wp-trac mailing list