Remove errant return. props SergeyBiryukov. see #22186.
git-svn-id: https://develop.svn.wordpress.org/trunk@22679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf46cc71b5
commit
f5fb08658f
|
@ -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