mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 19:02:23 +01:00
In edit_form_image_editor()
, $filename
and $title
are set and then unused. They shall be removed.
See #27882. Built from https://develop.svn.wordpress.org/trunk@28271 git-svn-id: http://core.svn.wordpress.org/trunk@28099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
962e8113ab
commit
dd73ad4299
@ -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 ); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user