Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a small documentation typo within function template_preprocess_responsive_image()
:
This:
// There is only one source tag with an empty media attribute. This means
// we can output an image tag with the srcset attribute in stead of a
// picture tag.
Should be:
// There is only one source tag with an empty media attribute. This means
// we can output an image tag with the srcset attribute instead of a
// picture tag.
Patch coming shortly.
Comment | File | Size | Author |
---|---|---|---|
#4 | core-responsive-image-type-2820875-3.patch | 837 bytes | chrisfree |
Comments
Comment #2
chrisfree CreditAttribution: chrisfree at Chromatic commentedComment #3
chrisfree CreditAttribution: chrisfree at Chromatic commentedComment #4
chrisfree CreditAttribution: chrisfree at Chromatic commentedHere is a patch that corrects the spelling of "instead".
Comment #5
markdorisonPatch applies cleanly; change makes sense to me.
Comment #6
chrisfree CreditAttribution: chrisfree at Chromatic commentedComment #9
xjmI confirmed that this is the only instance of this particular documentation typo:
Committed 385982d and pushed to 8.3.x and 8.2.x. Thanks!