Ticket #25549: 25549.2.diff
File 25549.2.diff, 1.1 KB (added by , 12 years ago) |
---|
-
wp-content/themes/twentyfourteen/inc/featured-content.php
326 326 if ( ! is_wp_error( $tag ) && isset( $tag->name ) ) 327 327 $tag_name = $tag->name; 328 328 } 329 330 wp_enqueue_script( 'twentyfourteen-admin', get_template_directory_uri() . '/js/featured-content-admin.js', array( 'jquery', 'suggest' ), '20131016', true ); 329 331 ?> 330 332 <div id="featured-content-ui"> 331 333 <p> -
wp-content/themes/twentyfourteen/js/featured-content-admin.js
1 jQuery(document).ready(function($){ 2 $( '#featured-content-tag-name' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } ); 3 }); 4 No newline at end of file