Skip to content

Commit c7ecfd3

Browse files
committed
fixup! CSS: Follow-up fixes to split_selector_list()
1 parent ba8d80c commit c7ecfd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/class-wp-theme-json-gutenberg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ protected static function append_to_selector( $selector, $to_append ) {
12991299
* @see https://www.w3.org/TR/css-syntax-3/#parse-comma-separated-list-of-component-values
13001300
*/
13011301
if ( strlen( $selector ) === strcspn( $selector, '/\'"(<\\' ) ) {
1302-
return $to_append . str_replace( ',', ',' . $to_append, $selector );
1302+
return str_replace( ',', $to_append . ',', $selector ) . $to_append;
13031303
}
13041304

13051305
$new_selectors = array();

0 commit comments

Comments
 (0)