Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#23112 closed defect (bug) (fixed)

Taxonomy meta box: choose_from_most_used not working if more than one none hierarchical taxonomy registered

Reported by: OttmarGobrecht Owned by: azaozz
Priority: normal Milestone: 3.5.1
Component: Taxonomy Version: 3.5
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

I registered two none hierarchical taxonomies on a custom post type. It works, when I am clicking the first time the choose_from_most_used link in one of the taxonomy meta boxes. The second click on the choose_from_most_used link in the other taxonomy meta box does not work. After reloading the page and testing vice versa it ist the same - the first click in one of the meta boxes is working, the other meta box is not working. May be a JavaScript-Error?

I tested on WordPress 3.5 (DE) and WordPress latest (2013-01-03).

I have attached my plugin code for testing.

Thanks

Attachments (2)

og-post-type-film.zip​ (4.5 KB ) - added by OttmarGobrecht 14 years ago.
Plugin code with one post type and two taxonomies
23112.patch​ (569 bytes ) - added by SergeyBiryukov 14 years ago.

Download all attachments as: .zip

Change History (7)

@OttmarGobrecht
14 years ago

Plugin code with one post type and two taxonomies

#1 @SergeyBiryukov
14 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review → 3.5.1
  • Version trunk → 3.5

Confirmed.

The regression is caused by the changes to post.js in [22268]. Those changes were only needed in earlier patches on #21324 to properly apply blur(), which was eventually removed.

23112.patch​ reverts that part of [22268].

#2 @nacin
14 years ago

  • Owner set to azaozz
  • Status new → assigned

#3 @azaozz
14 years ago

Yes, no need for that change. Reverting it fixes toggling in multiple taxonomy postboxes.

#4 @azaozz
14 years ago

  • Resolution → fixed
  • Status assigned → closed

In 23277:

Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for 3.5

#5 @azaozz
14 years ago

In 23278:

Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for trunk

Note: See TracTickets for help on using tickets.