WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10478 closed defect (bug) (fixed)

Quickediting pending post adds extra column to post list

Reported by: sirzooro Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.8.2
Component: General Keywords: needs-patch
Focuses: Cc:

Description

Steps do reproduce:

  • create post and move is to Pending state;
  • go to Posts / Edit and click on "Pending" to show posts in Pending state only;
  • open quickedit form, change something and save changes.

After save WP will add extra column to the table with posts. It contains link to edit-comments.php?p=ID page.

Change History (7)

comment:1 Denis-de-Bernardy5 years ago

  • Milestone 2.8.3 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

please try it without any plugins, and using the default theme

comment:2 sirzooro5 years ago

  • Milestone set to 2.8.3
  • Resolution worksforme deleted
  • Status changed from closed to reopened

Tried this without plugins and with default theme - the same result.

Make sure you open wp-admin/edit.php?post_status=pending page - this bug exhibits on this particular page only.

comment:3 sirzooro5 years ago

After quick investigation I have found in file inline-edit-post.dev.js two following lines (224-225). Looks that we need to add pending check here too:

if ( 'draft' == $('input[name="post_status"]').val() )
	row.find('td.column-comments').hide();

comment:4 sirzooro5 years ago

One more thing to discuss: how this should work for custom post types.

comment:5 azaozz5 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [11742]) Fix QE returned data for Pending and Scheduled posts screens, use jQuery.live() for QE events, fixes #10478

comment:6 azaozz5 years ago

  • Milestone changed from 2.8.3 to 2.9

comment:7 azaozz5 years ago

(In [11743]) Improve QE data for Draft, Pending and Scheduled posts screens, see #10478

Note: See TracTickets for help on using tickets.