mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations.
See #45934. git-svn-id: https://develop.svn.wordpress.org/trunk@44566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -215,8 +215,9 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
|
||||
update_post_meta( $attachment_id, '_thumbnail_id', $sub_attachment_id );
|
||||
}
|
||||
}
|
||||
} // Try to create image thumbnails for PDFs
|
||||
elseif ( 'application/pdf' === $mime_type ) {
|
||||
} elseif ( 'application/pdf' === $mime_type ) {
|
||||
// Try to create image thumbnails for PDFs.
|
||||
|
||||
$fallback_sizes = array(
|
||||
'thumbnail',
|
||||
'medium',
|
||||
|
||||
Reference in New Issue
Block a user