Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#10478 closed defect (bug) (fixed)

Quickediting pending post adds extra column to post list

Reported by: sirzooro's profile 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)

#1 @Denis-de-Bernardy
15 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

#2 @sirzooro
15 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.

#3 @sirzooro
15 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();

#4 @sirzooro
15 years ago

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

#5 @azaozz
15 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

#6 @azaozz
15 years ago

  • Milestone changed from 2.8.3 to 2.9

#7 @azaozz
15 years ago

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

Note: See TracTickets for help on using tickets.