Skip to content

Commit

Permalink
release: fixes
Browse files Browse the repository at this point in the history
- Fixed compatibility with WordPress 6.7, causing images to display incorrectly in the front-end
vytisbulkevicius authored Jan 16, 2025
2 parents 0646bd6 + 1ac4390 commit 3a0e985
Showing 4 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions composer.lock

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

1 change: 1 addition & 0 deletions inc/render/class-posts-grid-block.php
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ class Posts_Grid_Block {
*/
public function render( $attributes ) {

add_filter( 'wp_img_tag_add_auto_sizes', '__return_false' );
$has_pagination = isset( $attributes['hasPagination'] ) && $attributes['hasPagination'];
$page_number = 1;
$is_tiled = isset( $attributes['className'] ) && false !== strpos( $attributes['className'], 'is-style-tiled' );
2 changes: 1 addition & 1 deletion plugins/otter-pro/otter-pro.php
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ function ( $message ) {
);

add_filter( 'otter_pro_hide_license_field', '__return_true' );
add_filter( 'themeisle_sdk_ran_promos', '__return_false' );
add_filter( 'themeisle_sdk_ran_promos', '__return_true' );

if ( ! defined( 'OTTER_BLOCKS_VERSION' ) ) {
add_action(
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ export default () => (
<h2>{__('Add External Sources', 'otter-blocks')}</h2>

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

0 comments on commit 3a0e985

Please sign in to comment.