Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#9740 closed defect (bug) (fixed)

categories metabox hides other ui-tabs-panel as well

Reported by: petervanderdoes Owned by: azaozz
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.8
Component: JavaScript Keywords: post.js
Focuses: Cc:


If a plugin also uses the jQuery tabs on the page where the metabox categories is displayed the panels of the plugins are hidden.

in wp-admin/js/post.js all ui-tabs-panel classes are hidden on document loading.

Attachments (1)

patch-#9740.diff (580 bytes) - added by petervanderdoes 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @petervanderdoes
11 years ago

patch-#9740.diff should take care of the issue.

#2 @azaozz
11 years ago

jQuery UI tabs is not used any more, no point to load another js library just to hide couple of tabs. It is still included with WordPress so plugins can use it if needed, don't forget to enqueue it.

Perhaps it's better to use different css classes so there are no collisions if ui.tabs is used.

#3 @azaozz
11 years ago

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

(In [11224]) Change CSS classes to avoid collisions with ui.tabs, fixes #9740

Note: See TracTickets for help on using tickets.