WordPress.org

Make WordPress Core

Changeset 36227


Ignore:
Timestamp:
01/08/2016 11:17:21 PM (6 years ago)
Author:
boonebgorges
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/post.js

    r35567 r36227  
    413413        window.tagBox && window.tagBox.init();
    414414    } else {
    415         $('#side-sortables, #normal-sortables, #advanced-sortables').children('div.postbox').each(function(){
     415        $('.meta-box-sortables').children('div.postbox').each(function(){
    416416            if ( this.id.indexOf('tagsdiv-') === 0 ) {
    417417                window.tagBox && window.tagBox.init();
Note: See TracChangeset for help on using the changeset viewer.