WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 @petervanderdoes6 years ago

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

comment:2 @azaozz6 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.

comment:3 @azaozz6 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.