[wp-trac] [WordPress Trac] #31977: Ping status of pages changes to "closed" in quick edit

WordPress Trac noreply at wordpress.org
Wed Apr 15 13:09:54 UTC 2015


#31977: Ping status of pages changes to "closed" in quick edit
----------------------------------------+-----------------------------
 Reporter:  JanVoracek                  |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Posts, Post Types           |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  administration
----------------------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:   => needs-patch good-first-bug
 * milestone:  Awaiting Review => Future Release


Comment:

 I've confirmed the bug, but it doesn't look like it's new to 4.2. As far
 as I can tell, it's worked this way since the current implementation of
 Quick Edit went into WP. See
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
 wp-posts-list-table.php?annotate=blame&marks=1252,1261#L1234 and
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/ajax-
 actions.php?annotate=blame&marks=1550,1551#L1542 Can you check again to be
 sure that this was not a problem in 4.1 and earlier?

 It looks to me like the simplest fix is to change
 https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-
 wp-posts-list-table.php?annotate=blame&marks=1252,1261#L1234 so that when
 the `post_type_supports()` checks fail (`elseif`) a hidden input with the
 current value will be output to the screen.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31977#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list