Changeset 1570297
- Timestamp:
- 01/07/2017 05:41:09 PM (9 years ago)
- Location:
- at-multiauthor/trunk
- Files:
-
- 2 edited
-
assets/js/backend.min.js (modified) (1 diff)
-
includes/class-backend.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
at-multiauthor/trunk/assets/js/backend.min.js
r1566446 r1570297 1 1 jQuery('#atmat-mb-multi-author').ready(function(){ 2 2 jQuery('#atmat-authors').select2({ 3 placeholder : 'Select Author(s)'3 placeholder : atmatStrings.placeholder 4 4 }); 5 5 }); -
at-multiauthor/trunk/includes/class-backend.php
r1570252 r1570297 60 60 wp_enqueue_script( 'atmat-select2-js' ); 61 61 wp_enqueue_script( 'atmat-backend-js' ); 62 wp_localize_script( 63 'atmat-backend-js', 64 'atmatStrings', 65 array( 66 'placeholder' => __('Select Contributor(s)', 'at-multiauthor') 67 ) 68 ); 62 69 $authors = get_post_meta( $post->ID, 'atmat_authors', true ); 63 70 $users = get_users(
Note: See TracChangeset
for help on using the changeset viewer.