Changeset 33298 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 07/16/2015 07:37:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r33263 r33298 553 553 554 554 $id_attribute = $instance === 1 ? ' id="insert-media-button"' : ''; 555 printf( '< a href="#"%s class="button insert-media add_media" data-editor="%s" title="%s">%s</a>',555 printf( '<button type="button"%s class="button insert-media add_media" data-editor="%s">%s</button>', 556 556 $id_attribute, 557 557 esc_attr( $editor_id ), 558 esc_attr__( 'Add Media' ),559 558 $img . __( 'Add Media' ) 560 559 );
Note: See TracChangeset
for help on using the changeset viewer.