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. Built from https://develop.svn.wordpress.org/trunk@36227 git-svn-id: http://core.svn.wordpress.org/trunk@36194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
13629bf5d0
commit
cbb245196c
|
@ -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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.5-alpha-36226';
|
||||
$wp_version = '4.5-alpha-36227';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue