Skip to content
2 changes: 1 addition & 1 deletion js/block-editor.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-i18n'), 'version' => 'b2f0bbe921dc49b7d514');
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'aab7b2e0606348e43cc2');
2 changes: 1 addition & 1 deletion js/block-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/gallery-block.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '98e435d77738ea4c4f99');
<?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '98f4cd2c29395fad0b1e');
2 changes: 1 addition & 1 deletion js/gallery-block.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/gallery.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '9cc411f20e1aa5754b7f');
<?php return array('dependencies' => array('wp-block-editor', 'wp-components', 'wp-components/build-style/style.css', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => 'ce273b9408344c97f28b');
2 changes: 1 addition & 1 deletion js/gallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/terms-order.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => '0085d1c205e96a2bbe85');
<?php return array('dependencies' => array(), 'version' => '2f7f1b83c7516fc1c316');
2 changes: 1 addition & 1 deletion js/terms-order.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion php/traits/trait-params.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function remove_param( $param ) {
* @return string
*/
protected function sanitize_slug( $slug ) {
if ( ! $this->should_sanitize_slugs || ! str_contains( $slug, $this->separator ) ) {
if ( ! $this->should_sanitize_slugs || false === strpos( $slug, $this->separator ) ) {
return $slug;
}

Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=== Cloudinary - Deliver Images and Videos at Scale ===
Contributors: Cloudinary, XWP, Automattic
Tags: image-optimizer, core-web-vitals, video, resize, performance
Requires at least: 4.7
Tested up to: 6.9.1
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 thought: Should we say requires 5.6?

Stable tag: STABLETAG
License: GPLv2
Expand Down
1 change: 1 addition & 0 deletions src/js/components/featured-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ let FeaturedTransformationsToggle = ( props ) => {
checked={ props.overwrite_featured_transformations }
onChange={ ( value ) => props.setOverwrite( value ) }
className="cloudinary-overwrite-transformations"
__nextHasNoMarginBottom={ true }
/>
) }
</>
Expand Down
12 changes: 7 additions & 5 deletions src/js/components/settings-gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Dot from 'dot-object';
/**
* WordPress dependencies
*/
import { createRoot, useEffect, useState } from '@wordpress/element';
import { createRoot, render, useEffect, useState } from '@wordpress/element';

/**
* Internal dependencies
Expand Down Expand Up @@ -127,7 +127,9 @@ const StatefulGalleryControls = () => {
);
};

const root = createRoot(
document.getElementById( 'app_gallery_gallery_config' )
);
root.render( <StatefulGalleryControls /> );
const container = document.getElementById( 'app_gallery_gallery_config' );
if ( createRoot ) {
createRoot( container ).render( <StatefulGalleryControls /> );
} else {
render( <StatefulGalleryControls />, container );
}
1 change: 1 addition & 0 deletions src/js/components/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const TransformationsToggle = ( props ) => {
onChange={ ( value ) => {
setAttributes( { overwrite_transformations: value } );
} }
__nextHasNoMarginBottom={ true }
/>
</PanelBody>
);
Expand Down
Loading
Loading