#34577 closed defect (bug) (fixed)
Posts List Table: $mode is null in display_rows() for Quick Edit
| Reported by: | ocean90 | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description
Set the view mode to excerpt and change a post via Quick Edit.
Expected: You get the excerpt view
Current: You get the list view because the global $mode in WP_Posts_List_Table->display_rows() is null.
$mode gets only defined in WP_Posts_List_Table->prepare_items() which isn't used by wp_ajax_inline_save().
Attachments (3)
Change History (8)
This ticket was mentioned in Slack in #core by ocean90. View the logs.
11 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Looks like this line got removed: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-admin/includes/ajax-actions.php?marks=1348#L1346
Edit: In [28292].