Ticket #19569: 19569.diff
File 19569.diff, 1.5 KB (added by , 13 years ago) |
---|
-
press-this.php
ndex: press-this.php
619 619 remove_action( 'media_buttons', 'media_buttons' ); 620 620 add_action( 'media_buttons', 'press_this_media_buttons' ); 621 621 function press_this_media_buttons() { 622 _e( ' Add:' );622 _e( 'Upload/Insert' ); 623 623 624 624 if ( current_user_can('upload_files') ) { 625 625 ?> 626 <a id="photo_button" title="<?php esc_attr_e(' Insert an Image'); ?>" href="#">627 <img alt="<?php esc_attr_e('Insert an Image'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-image.gif?ver=20100531' ) ); ?>"/></a>626 <a id="photo_button" title="<?php esc_attr_e('Add Media'); ?>" href="#"> 627 <img alt="<?php esc_attr_e('Insert Media'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button.png?ver=20111005' ) ); ?>"/></a> 628 628 <?php 629 629 } 630 630 ?> 631 <a id="video_button" title="<?php esc_attr_e('Embed a Video'); ?>" href="#"><img alt="<?php esc_attr_e('Embed a Video'); ?>" src="<?php echo esc_url( admin_url( 'images/media-button-video.gif?ver=20100531' ) ); ?>"/></a>632 631 <?php 633 632 }