Skip to content

Commit bab2d61

Browse files
Merge branch 'develop' into feat/getting-started-onboarding
2 parents 7b18928 + fe8e82e commit bab2d61

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '3.18.0' );
2929
defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
3030
defined( 'STACKABLE_I18N' ) || define( 'STACKABLE_I18N', 'stackable-ultimate-gutenberg-blocks' ); // Plugin slug.
31-
defined( 'STACKABLE_DESIGN_LIBRARY_URL' ) || define( 'STACKABLE_DESIGN_LIBRARY_URL', 'https://storage.googleapis.com/stackable-plugin-assets' ); // Design Library CDN URL
31+
defined( 'STACKABLE_DESIGN_LIBRARY_URL' ) || define( 'STACKABLE_DESIGN_LIBRARY_URL', 'https://stackable-files.pages.dev' ); // Design Library CDN URL
3232

3333
/********************************************************************************************
3434
* Activation & PHP version checks.

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ Nope. Stackable only works with Gutenberg, the new WordPress editor.
323323
* Fixed: Added some missing string translations #3414
324324

325325
= 3.17.2 =
326+
* Fixed: Design Library - Updated CDN URL
326327
* Fixed: If using non-English locale, Google Fonts may not load properly in the editor
327328
* Fixed: Do not create a new design library block if there already is one
328329

src/components/design-library-list/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export const parseDisabledBlocks = parsedBlock => {
199199
return { block, blocksForSubstitution }
200200
}
201201

202-
const IMAGE_STORAGE = 'https://storage.googleapis.com/stackable-plugin-assets/library-v4/images/'
202+
const IMAGE_STORAGE = 'https://stackable-files.pages.dev/library-v4/images/'
203203

204204
export const addPlaceholderForPostsBlock = ( content, postsPlaceholder, defaultValues ) => {
205205
const remainingPosts = [ ...postsPlaceholder ]

src/design-library/init.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,7 @@ public function get_design_library_from_cloud() {
252252
$designs = array();
253253
$content = null;
254254

255-
// Add ignoreCache to retrieve the updated file
256-
$response = wp_remote_get( self::get_cdn_url() . 'library-v4/library.json?ignoreCache=1' );
255+
$response = wp_remote_get( self::get_cdn_url() . 'library-v4/library.json' );
257256

258257
if ( is_wp_error( $response ) ) {
259258
// Add our error message so we can see it in the network tab.

0 commit comments

Comments
 (0)