Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#18038 closed defect (bug) (fixed)

After Quick Editing a Custom Taxonomy returned link has wrong Post Type

Reported by: wildphoenix's profile WildPhoenix Owned by: duck_'s profile duck_
Milestone: 3.3 Priority: normal
Severity: minor Version: 3.0
Component: Quick/Bulk Edit Keywords: has-patch
Focuses: Cc:

Description

When you use the quick edit form on a custom taxonomy the returned link always returns with the post type as 'post' rather than the correct custom post type.

Attachments (1)

18038.diff (820 bytes) - added by duck_ 13 years ago.

Download all attachments as: .zip

Change History (4)

@duck_
13 years ago

#1 @duck_
13 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to Future Release
  • Version changed from 3.2 to 3.0

The $post_type global isn't set in the WP_Terms_List_Table constructor when instantiated during the AJAX request and so it is set to the default of 'post'.

#2 @SergeyBiryukov
13 years ago

  • Milestone changed from Future Release to 3.3

#3 @duck_
13 years ago

  • Owner set to duck_
  • Resolution set to fixed
  • Status changed from new to closed

In [18771]:

Use correct post_type in HTML returned by inline-save-tax AJAX. Fixes #18038.

Note: See TracTickets for help on using tickets.