#34577 closed defect (bug) (fixed)
Posts List Table: $mode is null in display_rows() for Quick Edit
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Posts, Post Types | Keywords: | has-patch |
| Focuses: | administration | Cc: |
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)
Note: See
TracTickets for help on using
tickets.
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].