Coding Standards: Fix a few newly introduced WPCS issues.
Follow-up to [56570], [56573], [56589], [56604], [56612], [56620], [56629], [56631], [56638], [56642], [56644], [56649]. Props jrf. See #59161, #58831. Built from https://develop.svn.wordpress.org/trunk@56680 git-svn-id: http://core.svn.wordpress.org/trunk@56192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -98,7 +98,7 @@ function wp_render_elements_support( $block_content, $block ) {
|
||||
|
||||
foreach ( $element_config['paths'] as $path ) {
|
||||
if ( null !== _wp_array_get( $block['attrs'], explode( '.', $path ), null ) ) {
|
||||
$element_colors_set++;
|
||||
++$element_colors_set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user