From 4b9ef4ee057a39b70040c32d13f2783d96cfc178 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 19 Nov 2012 09:48:34 +0000 Subject: [PATCH] Remove errant return. props SergeyBiryukov. see #22186. git-svn-id: http://core.svn.wordpress.org/trunk@22679 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 205841d570..478dfdd768 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -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;