Make WordPress Core


Ignore:
Timestamp:
05/06/2014 04:44:56 AM (11 years ago)
Author:
wonderboymusic
Message:

In edit_form_image_editor(), $filename and $title are set and then unused. They shall be removed.

See #27882.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/media.php

    r28110 r28271  
    26082608        $thumb_url = wp_get_attachment_image_src( $attachment_id, array( 900, 450 ), true );
    26092609
    2610     $filename = esc_html( basename( $post->guid ) );
    2611     $title = esc_attr( $post->post_title );
    26122610    $alt_text = get_post_meta( $post->ID, '_wp_attachment_image_alt', true );
    26132611
Note: See TracChangeset for help on using the changeset viewer.