Remove errant return. props SergeyBiryukov. see #22186.

git-svn-id: http://core.svn.wordpress.org/trunk@22679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-19 09:48:34 +00:00
parent fa3497237b
commit 4b9ef4ee05

View File

@ -1000,8 +1000,6 @@ function get_attachment_fields_to_edit($post, $errors = null) {
unset( $form_fields['image_alt'] ); unset( $form_fields['image_alt'] );
} }
return $form_fields;
$form_fields = apply_filters('attachment_fields_to_edit', $form_fields, $post); $form_fields = apply_filters('attachment_fields_to_edit', $form_fields, $post);
return $form_fields; return $form_fields;