[wp-trac] [WordPress Trac] #40311: Disable inline edit post via filter

WordPress Trac noreply at wordpress.org
Thu Mar 30 10:44:39 UTC 2017


#40311: Disable inline edit post via filter
-------------------------------------+-----------------------------
 Reporter:  sebastian.pisula         |       Owner:
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Posts, Post Types        |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by johnbillion):

 * keywords:  has-patch => has-patch needs-refresh
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks for the patch, @sebastian.pisula! I agree this filter will be
 useful. It's a bit hacky removing Quick Edit otherwise.

 The filter name should be changed to `disable_inline_edit_post` with a
 default value of `true`. This avoids the double negative of
 `'disable_inline_edit_post', false`.

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


More information about the wp-trac mailing list