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:
Andrew Nacin 2012-11-19 09:48:34 +00:00
parent bf46cc71b5
commit f5fb08658f
1 changed files with 0 additions and 2 deletions

View File

@ -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;