-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1016 from cloudinary/uat
3.2.5
- Loading branch information
Showing
10 changed files
with
114 additions
and
78 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.2.4 | ||
3.2.5 |
This file contains 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,5 +143,5 @@ | |
"webpack-cli": "^4.2.0", | ||
"webpackbar": "^5.0.2" | ||
}, | ||
"version": "3.2.4" | ||
"version": "3.2.5" | ||
} |
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* Returns image sizes used in `class-utils.php`. | ||
* | ||
* These sizes are defined in a separate file, because the `addtextdomain` | ||
* task in `gruntfile.js` would otherwise try to add our textdomain to | ||
* them, which we don't want. | ||
* | ||
* We need these size names to use the default WordPress translations. | ||
* | ||
* @package Cloudinary | ||
*/ | ||
|
||
namespace Cloudinary\Misc; | ||
|
||
/** | ||
* Class Image_Sizes_No_Textdomain | ||
*/ | ||
class Image_Sizes_No_Textdomain { | ||
/** | ||
* Get image sizes. | ||
* | ||
* @return array | ||
*/ | ||
public static function get_image_sizes() { | ||
return array( | ||
// phpcs:disable WordPress.WP.I18n.MissingArgDomain | ||
'thumbnail' => __( 'Thumbnail' ), | ||
'medium' => __( 'Medium' ), | ||
'medium_large' => __( 'Medium Large' ), | ||
'large' => __( 'Large' ), | ||
'full' => __( 'Full Size' ), | ||
// phpcs:enable WordPress.WP.I18n.MissingArgDomain | ||
); | ||
} | ||
} |
Oops, something went wrong.