From ca642a85624486a6190ed108cd192dd3f09803c1 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Fri, 8 Jan 2016 23:17:21 +0000 Subject: [PATCH] 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 --- src/wp-admin/js/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/post.js b/src/wp-admin/js/post.js index e6d2ca2ea0..ae5e097cf6 100644 --- a/src/wp-admin/js/post.js +++ b/src/wp-admin/js/post.js @@ -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;