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

See #27882.



git-svn-id: https://develop.svn.wordpress.org/trunk@28271 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-06 04:44:56 +00:00
parent 9259c6baa7
commit f95a4c70be

View File

@ -2607,8 +2607,6 @@ function edit_form_image_editor( $post ) {
if ( $attachment_id = intval( $post->ID ) )
$thumb_url = wp_get_attachment_image_src( $attachment_id, array( 900, 450 ), true );
$filename = esc_html( basename( $post->guid ) );
$title = esc_attr( $post->post_title );
$alt_text = get_post_meta( $post->ID, '_wp_attachment_image_alt', true );
$att_url = wp_get_attachment_url( $post->ID ); ?>