Skip to content

Commit 3a0e985

Browse files
release: fixes
- Fixed compatibility with WordPress 6.7, causing images to display incorrectly in the front-end
2 parents 0646bd6 + 1ac4390 commit 3a0e985

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inc/render/class-posts-grid-block.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Posts_Grid_Block {
2323
*/
2424
public function render( $attributes ) {
2525

26+
add_filter( 'wp_img_tag_add_auto_sizes', '__return_false' );
2627
$has_pagination = isset( $attributes['hasPagination'] ) && $attributes['hasPagination'];
2728
$page_number = 1;
2829
$is_tiled = isset( $attributes['className'] ) && false !== strpos( $attributes['className'], 'is-style-tiled' );

plugins/otter-pro/otter-pro.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function ( $message ) {
5959
);
6060

6161
add_filter( 'otter_pro_hide_license_field', '__return_true' );
62-
add_filter( 'themeisle_sdk_ran_promos', '__return_false' );
62+
add_filter( 'themeisle_sdk_ran_promos', '__return_true' );
6363

6464
if ( ! defined( 'OTTER_BLOCKS_VERSION' ) ) {
6565
add_action(

src/blocks/plugins/patterns-library/cloudLibraryPlaceholder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default () => (
99
<h2>{__('Add External Sources', 'otter-blocks')}</h2>
1010

1111
<div>
12-
<p>{__('Import templates from any site using Templates Cloud.', 'otter-blocks')}</p>
12+
<p>{__('Import templates from any site using Templates Cloud. Free Sources included.', 'otter-blocks')}</p>
1313
<p>{__('Share patterns between your own sites.', 'otter-blocks')}</p>
1414
</div>
1515

0 commit comments

Comments
 (0)