Repository navigation
Add a additional_mimes parameter to the add_image_size function
#3028
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
Closed
adamsilverstein
wants to merge
26
commits into
WordPress:trunk
from
adamsilverstein:add/add-image-size-mime-support
Closed
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
28e98e1
Add a boolean ‘output_mimes’ parameter to the add_image_size function…
adamsilverstein b8d4beb
remove phpbf changes
adamsilverstein 700b225
Remove test changes that aren’t required
adamsilverstein 3da79dc
Update parameter name and doc block - use “additional_mimes”
adamsilverstein f5451c1
Skip setting output data on size
adamsilverstein 647bac5
Remove output mimes parameter from set_post_thumbnail_size
adamsilverstein d7eb9cb
revert changes on one more test file
adamsilverstein 642041b
revert unrelated changes from trunk
adamsilverstein a7383d5
Merge branch 'trunk' into add/add-image-size-mime-support
adamsilverstein bec2656
complete rename of output_mimes to additional_mimes
adamsilverstein 94f85c3
add test coverage for add_image_size additional mimes parameter
adamsilverstein b58585e
Add test for _wp_filter_image_sizes_additional_mime_type_support with…
adamsilverstein 763f97a
Update src/wp-admin/includes/image.php
adamsilverstein 8853869
Remove ‘post-thumbnail’ from enabled_sizes in _wp_filter_image_sizes_…
adamsilverstein bcefc3a
Use wp_get_registered_image_subsizes() for all_images in test__wp_fil…
adamsilverstein 5f70585
Merge branch 'trunk' into add/add-image-size-mime-support
adamsilverstein 2474368
Improve assertion in public function test__wp_filter_image_sizes_addi…
adamsilverstein 3a218e8
Set default for parameter to null and warn developers with `_doing_it…
adamsilverstein fc40a45
Update doc block
adamsilverstein 2616d7d
Add the additional_mimes parameter in all test calls to add_image_size
adamsilverstein ecbdd13
Update src/wp-includes/media.php
adamsilverstein 1b5e084
Update src/wp-includes/media.php
adamsilverstein 3ace8e9
Update src/wp-includes/media.php
adamsilverstein 3ed40df
Merge branch 'trunk' into add/add-image-size-mime-support
adamsilverstein 4e674dc
Merge branch 'trunk' into add/add-image-size-mime-support
adamsilverstein 12986a3
remove _doing_it_wrong warning (and related test changes)
adamsilverstein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.