mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 17:44:25 +00:00
Use a more generous selector when setting up tag suggestion.
This allows taxonomy metaboxes to be registered in a greater variety of locations on the Dashboard. Props johnjamesjacoby.. Fixes #35349. git-svn-id: https://develop.svn.wordpress.org/trunk@36227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -412,7 +412,7 @@ jQuery(document).ready( function($) {
|
||||
if ( $('#tagsdiv-post_tag').length ) {
|
||||
window.tagBox && window.tagBox.init();
|
||||
} else {
|
||||
$('#side-sortables, #normal-sortables, #advanced-sortables').children('div.postbox').each(function(){
|
||||
$('.meta-box-sortables').children('div.postbox').each(function(){
|
||||
if ( this.id.indexOf('tagsdiv-') === 0 ) {
|
||||
window.tagBox && window.tagBox.init();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user