Changeset 22502 for trunk/wp-admin/custom-background.php
- Timestamp:
- 11/09/2012 11:37:24 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r22470 r22502 107 107 108 108 add_thickbox(); 109 wp_enqueue_ script('media-upload');109 wp_enqueue_media(); 110 110 wp_enqueue_script('custom-background'); 111 111 wp_enqueue_style('wp-color-picker'); … … 270 270 <p> 271 271 <label for="choose-from-library-link"><?php _e( 'Or choose an image from your media library:' ); ?></label><br /> 272 <a id="choose-from-library-link" class="button thickbox" href="<?php echo esc_url( $image_library_url ); ?>"><?php _e( 'Choose Image' ); ?></a> 272 <a id="choose-from-library-link" class="button" 273 data-choose="<?php esc_attr_e( 'Choose a Background Image' ); ?>" 274 data-update="<?php esc_attr_e( 'Set as background' ); ?>"><?php _e( 'Choose Image' ); ?></a> 273 275 </p> 274 276 </form>
Note: See TracChangeset
for help on using the changeset viewer.