Skip to content
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

Breaking behavior in inheriting width, height attributes from 2.3.0 #237

Open
1 task done
martinpl opened this issue Nov 27, 2024 · 3 comments
Open
1 task done
Labels
type:bug Something isn't working.

Comments

@martinpl
Copy link

Describe the bug

Hello,
Here are details:
#216 (comment)

Thanks :)

Steps to Reproduce

wp_get_attachment_image() without full thumbnail will not get original width and height

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@martinpl martinpl added the type:bug Something isn't working. label Nov 27, 2024
@martinpl martinpl changed the title Breaking behavior in inheriting width, size attributes from 2.3.0 Breaking behavior in inheriting width, height attributes from 2.3.0 Nov 27, 2024
@subfighter3
Copy link

same issue here! this is a breaking behaviour, please fix it!

@smerriman
Copy link

This is breaking my sites too.

@gigatyrant
Copy link

Same issue for all my clients. Now, the maximum size specified in wp_get_attachment_image is being used instead of the native SVG size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
Status: Incoming
Development

No branches or pull requests

4 participants