Ticket #12152: 12152.patch
| File 12152.patch, 1.2 KB (added by ocean90, 3 years ago) |
|---|
-
wp-admin/js/post.dev.js
133 133 } 134 134 }).each(function(){ 135 135 var tax = $(this).closest('div.tagsdiv').attr('id'); 136 $(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + tax, { delay: 500, minchars: 2, multiple: true, multipleSep: ", " } );136 $(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + tax, { delay: 500, minchars: 2, multiple: true, multipleSep: "," } ); 137 137 }); 138 138 139 139 // save tags on post save/publish -
wp-includes/js/jquery/suggest.dev.js
120 120 if ( options.multiple ) { 121 121 multipleSepPos = q.lastIndexOf(options.multipleSep); 122 122 if ( multipleSepPos != -1 ) { 123 q = q.substr(multipleSepPos + options.multipleSep.length);123 q = $.trim(q.substr(multipleSepPos + options.multipleSep.length)); 124 124 } 125 125 } 126 126 if (q.length >= options.minchars) {
