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: |
|
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)
Change History (4)
Note: See
TracTickets for help on using
tickets.

Ooops, second closing bracket is missing above.