Ticket #57775: 57775.diff
File 57775.diff, 669 bytes (added by , 2 years ago) |
---|
-
src/wp-admin/includes/class-custom-image-header.php
876 876 * @param string $file Path to the file. 877 877 * @param int $attachment_id Attachment ID. 878 878 */ 879 do_action( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.879 $file = apply_filters( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication. 880 880 881 881 return $this->finished(); 882 882 } elseif ( $width > $max_width ) {