Skip to content

Commit

Permalink
Typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Jun 2, 2022
1 parent 6e18086 commit 0cf1aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/style-engine/class-wp-style-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ protected static function get_css( $style_value, $style_definition, $should_retu
// Before default processing, style definitions could define a callable `value_func` to generate custom CSS rules at this point.
$style_property = $style_definition['property_key'];

// Build CSS var values from var:? values, e..g, `var(--wp--css--rule-slug )`
// Build CSS var values from var:? values, e.g, `var(--wp--css--rule-slug )`
// Check if the value is a CSS preset and there's a corresponding css_var pattern in the style definition.
if ( is_string( $style_value ) && strpos( $style_value, 'var:' ) !== false ) {
if ( $should_return_css_vars && $style_definition['css_vars'] ) {
Expand Down

0 comments on commit 0cf1aa4

Please sign in to comment.