Skip to content

Commit

Permalink
Fix: php 5.6 error (#36305)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Nov 8, 2021
1 parent bd859d4 commit b9187f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-gutenberg.php
Expand Up @@ -586,7 +586,7 @@ private static function compute_style_properties( $styles, $settings = array(),
if ( is_array( $value_path ) ) {
$path_string = implode( '.', $value_path );
if (
isset( self::PROTECTED_PROPERTIES[ $path_string ] ) &&
array_key_exists( $path_string, self::PROTECTED_PROPERTIES ) &&
_wp_array_get( $settings, self::PROTECTED_PROPERTIES[ $path_string ], null ) === null
) {
continue;
Expand Down

0 comments on commit b9187f0

Please sign in to comment.