[wp-trac] [WordPress Trac] #36996: get_the_post_thumbnail and the usage of class attribute
WordPress Trac
noreply at wordpress.org
Tue Aug 30 03:49:45 UTC 2016
#36996: get_the_post_thumbnail and the usage of class attribute
-----------------------------------------+------------------------------
Reporter: TomasM | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5.2
Severity: normal | Resolution:
Keywords: has-unit-tests dev-feedback | Focuses:
-----------------------------------------+------------------------------
Changes (by TomasM):
* keywords: => has-unit-tests dev-feedback
Comment:
I tested the code and it works perfectly - thank you!
It works for parent theme as well as for a child theme.
To me it looks like a bug, because looking at other similar WP functions,
from my limited experience usually classes would be added, leaving default
classes intact.
I hope that this bug will be fixed in the future release.
Thank you again!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36996#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list