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

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 9 08:48:22 UTC 2011


#16502: Quick Edit contents should only be rendered if quick edit button in actions
after filtering
-----------------------------+--------------------------------
 Reporter:  wyrfel           |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Quick/Bulk Edit  |    Version:  3.0.4
 Severity:  minor            |   Keywords:  quick edit filters
-----------------------------+--------------------------------
 _the_post() has a static call to get_inline_data() to generate the
 quick_edit content. This happens even if after running the (undocumented)
 'post_row_actions' filters the Quick-Edit link ($actions['inline hide-if-
 no-js']) is not amongst the actions anymore.

 Prefixing the get_inline_data() call with
 {{{
 if (isset($actions['inline hide-if-no-js'])
 }}}
 would be a simple solution, enabling people to cancel the performance-
 impacting quick-edit form generation alltogether.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16502>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list