Skip to content

Commit 8f52943

Browse files
committed
Remove unnecessary PHPCS ignore comment from the WP REST Attachments Controller.
1 parent 9f85466 commit 8f52943

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,6 @@ public function edit_media_item( $request ) {
827827
* @param int $new_attachment_id Attachment post ID for the new image.
828828
* @param int $attachment_id Attachment post ID for the edited (parent) image.
829829
*/
830-
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
831830
$new_image_meta = apply_filters( 'wp_edited_image_metadata', $new_image_meta, $new_attachment_id, $attachment_id );
832831

833832
wp_update_attachment_metadata( $new_attachment_id, $new_image_meta );

0 commit comments

Comments
 (0)