Opened 2 years ago

Last modified 2 years ago

#16502 new enhancement

Quick Edit contents should only be rendered if quick edit button in actions after filtering

Reported by: wyrfel Owned by:
Priority: normal Milestone: Future Release
Component: Quick/Bulk Edit Version: 3.0.4
Severity: minor Keywords: has-patch
Cc:

Description

_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 ($actionsinline 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.

Attachments (1)

16502.diff (652 bytes) - added by garyc40 2 years ago.
simple patch

Download all attachments as: .zip

Change History (4)

Ooops, second closing bracket is missing above.

  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

garyc402 years ago

simple patch

  • Keywords has-patch added; quick edit filters removed
Note: See TracTickets for help on using tickets.