wordpress-develop/tests/phpunit/tests/media
Joe Dolson a501f4f40d Media: Add argument to get_attached_file() for subsizes.
Add a `$size` argument to `get_attached_file()` to simplify getting the path to an intermediate image size.
 
Props paulschreiber, audrasjb, Mista-Flo.
Fixes #51780.

git-svn-id: https://develop.svn.wordpress.org/trunk@55199 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-02 23:38:49 +00:00
..
getAdjacentImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
getAttachmentTaxonomies.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
getNextImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
getPostGalleries.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
getPreviousImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
nextImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
previousImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
testcase-adjacent-image-link.php Media: Add new functions to return the previous/next attachment links. 2021-06-08 23:12:22 +00:00
wpGenerateAttachmentMetadata.php Media: Add argument to get_attached_file() for subsizes. 2023-02-02 23:38:49 +00:00
wpImageTagAddDecodingAttr.php Tests: Add unit tests for attachment’s file size being included in metadata. 2022-11-22 19:43:25 +00:00