mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 04:25:07 +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. 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 ) {
|
if ( $('#tagsdiv-post_tag').length ) {
|
||||||
window.tagBox && window.tagBox.init();
|
window.tagBox && window.tagBox.init();
|
||||||
} else {
|
} 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 ) {
|
if ( this.id.indexOf('tagsdiv-') === 0 ) {
|
||||||
window.tagBox && window.tagBox.init();
|
window.tagBox && window.tagBox.init();
|
||||||
return false;
|
return false;
|
||||||
|
2
wp-admin/js/post.min.js
vendored
2
wp-admin/js/post.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user