Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#18038 closed defect (bug) (fixed)

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

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

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_ 15 years ago.

Download all attachments as: .zip

Change History (4)

@duck_
15 years ago

#1 @duck_
15 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone Awaiting Review → Future Release
  • Version 3.2 → 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
15 years ago

  • Milestone Future Release → 3.3

#3 @duck_
15 years ago

  • Owner set to duck_
  • Resolution → fixed
  • Status new → 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.