Skip to content

Commit 3756b75

Browse files
committed
Merge remote-tracking branch 'origin/develop' into uat
2 parents 52f07a6 + 6d291d7 commit 3756b75

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

php/class-utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ public static function is_rest_api() {
574574
// Fallback if rest engine is not setup yet.
575575
$rest_base = wp_parse_url( static::rest_url( '/' ), PHP_URL_PATH );
576576
$request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI', FILTER_SANITIZE_URL );
577-
$is = strpos( $request_uri, $rest_base ) === 0;
577+
$is = is_string( $request_uri ) && strpos( $request_uri, $rest_base ) === 0;
578578
}
579579

580580
return $is;

php/delivery/class-responsive-breakpoints.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected function apply_breakpoints( $tag_element ) {
140140
$size_transformation = $this->media->get_crop_from_transformation( $this->media->get_transformations_from_string( $src ) );
141141
$size_string = Api::generate_transformation_string( array( $size_transformation ) );
142142
$breakpoints = array();
143-
while ( $max > $min ) {
143+
while ( $max >= $min ) {
144144
if ( $width >= $max ) {
145145
$size_transformation['width'] = $max;
146146
$size_transformation['height'] = floor( $max / $ratio );

readme.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ To function correctly, the Cloudinary plugin requires an active WordPress REST A
6363
For more information, see [WordPress’s REST API Handbook](https://developer.wordpress.org/rest-api/).
6464

6565

66+
**Does Cloudinary work on multilingual sites?**
67+
68+
Absolutely! Cloudinary is fully compatible with WPML, the leading WordPress multilingual plugin, and is officially recommended for seamless media management across multiple languages. Cloudinary ensures that your media assets are efficiently handled on your multilingual site. For more details, visit [WPML's official page](https://wpml.org/plugin/cloudinary/) on Cloudinary compatibility.
69+
70+
6671
**I'm having an incompatibility issue with a theme, plugin, or hosting environment, what can I do?**
6772

6873
We’re compatible with most other plugins so we expect it to work absolutely fine. If you do have any issues, please [contact our support team](https://support.cloudinary.com/hc/en-us/requests/new) who will help resolve your issue.

0 commit comments

Comments
 (0)