Skip to content

Commit

Permalink
1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
websevendev committed Dec 12, 2023
1 parent 1d3303d commit b59533f
Show file tree
Hide file tree
Showing 7 changed files with 11,541 additions and 6,522 deletions.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ node_modules
screenshots
src
LICENSE
*.zip
4 changes: 2 additions & 2 deletions animations-for-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Animations for Blocks
* Plugin URI: https://wordpress.org/plugins/animations-for-blocks
* Description: Allows to add animations to Gutenberg blocks on scroll.
* Version: 1.1.2
* Version: 1.1.3
* Author: websevendev
* Author URI: https://chap.website/author/websevendev
*/
Expand Down Expand Up @@ -330,7 +330,7 @@ function block_args($args, $name) {
return $args;
}

if(!isset($args['attributes'])) {
if(!isset($args['attributes']) || !is_array($args['attributes'])) {
$args['attributes'] = [];
}

Expand Down
Loading

0 comments on commit b59533f

Please sign in to comment.