-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong image size set when using wp_get_attachment_image() (fix) #54
Comments
See kylereicks#54 Signed-off-by: terry chay <[email protected]>
Nice catch. Looks like WordPress core has a bug where Patch: Note to upstream: Without this patch, post thumbnails won't get properly sized (not sure they'll get properly sized post patch as I don't use this plugin yet). I submitted a bug report at https://core.trac.wordpress.org/ticket/32093 but I doubt it will be fixed at this point as post thumbnails have been with us for over three years. |
See kylereicks#54 Signed-off-by: terry chay <[email protected]>
Pull request #64 |
When using this function the image won't be returned with a size-$size class but with an attachment-$size class and thus Picturefill.WP will set an incorrect size. This can easily be fixed though:
The text was updated successfully, but these errors were encountered: