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

Add documentation for the max_srcset_image_width filter. #225

Closed
joemcgill opened this issue Nov 7, 2015 · 1 comment
Closed

Add documentation for the max_srcset_image_width filter. #225

joemcgill opened this issue Nov 7, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@joemcgill
Copy link
Member

In version 3.0 (and in WP 4.4), we added a low-pass filter to the sizes that will be included in srcset attributes, which defaults to 1600px, but is filterable using the max_srcset_image_width hook (link).

We need to add documentation for this hook with code samples for filtering conditionally based on the width of the original image.

@joemcgill joemcgill added the Task label Nov 7, 2015
@joemcgill joemcgill modified the milestone: Next release Nov 7, 2015
@joemcgill joemcgill self-assigned this Nov 14, 2015
joemcgill added a commit that referenced this issue Nov 14, 2015
@jaspermdegroot
Copy link
Member

Landed in 81ab3c8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants