[wp-trac] [WordPress Trac] #23945: get_the_post_format_image doesn't use specificed image size
WordPress Trac
noreply at wordpress.org
Fri Apr 12 18:27:59 UTC 2013
#23945: get_the_post_format_image doesn't use specificed image size
-----------------------------+--------------------
Reporter: davidwilliamson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Post Formats | Version: trunk
Severity: normal | Resolution:
Keywords: |
-----------------------------+--------------------
Comment (by davidwilliamson):
@lancewillett: I just went in, updated trunk to r23974, switched themes to
Twenty Thirteen, deleted all my content and re-uploaded the theme test
data and regenerated thumbnails. I also created new image posts using the
new workflow for 3.6 as well as ones like the test cases with
significantly larger original images because the test images are smaller
than the new size you are defining with {{{add_image_size(
'twentythirteen-image-post', 724, 1288 );}}}. The problem is still there -
although it isn't visible in Twenty Thirteen because of css rules unless
you look at the page source. If you look at the source of the page and
the image source is the full size version rather than the twentythirteen-
image-post version and has the class attachment-full instead of the
expected attachment-twentythirteen-image-post.
If you apply the patch attachment:23945.3.diff the class changes to
attachment-twentythirteen-image-post and the image source is the
corresponding resized version.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23945#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list