mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 03:51:38 +00:00
Fix tags and categories postboxes in PressThis
git-svn-id: https://develop.svn.wordpress.org/trunk@12030 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+10
-6
@@ -208,12 +208,16 @@ jQuery(document).ready( function($) {
|
||||
postboxes.add_postbox_toggles('page');
|
||||
|
||||
// multi-taxonomies
|
||||
$('div.postbox').each(function(){
|
||||
if ( this.id.indexOf('tagsdiv-') === 0 ) {
|
||||
tagBox.init();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
if ( $('#tagsdiv-post_tag').length ) {
|
||||
tagBox.init();
|
||||
} else {
|
||||
$('#side-sortables, #normal-sortables, #advanced-sortables').children('div.postbox').each(function(){
|
||||
if ( this.id.indexOf('tagsdiv-') === 0 ) {
|
||||
tagBox.init();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// categories
|
||||
if ( $('#categorydiv').length ) {
|
||||
|
||||
Reference in New Issue
Block a user