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:
parent
fa3497237b
commit
4b9ef4ee05
|
@ -1000,8 +1000,6 @@ function get_attachment_fields_to_edit($post, $errors = null) {
|
|||
unset( $form_fields['image_alt'] );
|
||||
}
|
||||
|
||||
return $form_fields;
|
||||
|
||||
$form_fields = apply_filters('attachment_fields_to_edit', $form_fields, $post);
|
||||
|
||||
return $form_fields;
|
||||
|
|
Loading…
Reference in New Issue