[wp-trac] [WordPress Trac] #34577: Posts List Table: $mode is null in display_rows() for Quick Edit

WordPress Trac noreply at wordpress.org
Wed Nov 4 12:54:02 UTC 2015


#34577: Posts List Table: $mode is null in display_rows() for Quick Edit
-------------------------------+-----------------------------
 Reporter:  ocean90            |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:
  Focuses:  administration     |
-------------------------------+-----------------------------
 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()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34577>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list