Ticket #19569: 19569.diff

File 19569.diff, 1.5 KB (added by Ipstenu, 17 months ago)

First pass - Just removing video and adding the new image URL

  • press-this.php

    ndex: press-this.php
     
    619619               remove_action( 'media_buttons', 'media_buttons' ); 
    620620               add_action( 'media_buttons', 'press_this_media_buttons' ); 
    621621               function press_this_media_buttons() { 
    622                        _e( 'Add:' ); 
     622                       _e( 'Upload/Insert' ); 
    623623 
    624624                       if ( current_user_can('upload_files') ) { 
    625625                               ?> 
    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> 
    628628                               <?php 
    629629                       } 
    630630                       ?> 
    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> 
    632631                       <?php 
    633632               }