Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update check
  • Loading branch information
Mamaduka committed Apr 21, 2022
commit 78983eda312db7fd1a7214854d2ac7e6e1a6236d
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.0/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function ( $response ) {
*/
function gutenberg_register_lock_attribute( $args ) {
// Setup attributes if needed.
if ( empty( $args['attributes'] ) ) {
if ( ! isset( $args['attributes'] ) ) {
$args['attributes'] = array();
}

Expand Down