Skip to content

Commit dc5a52f

Browse files
committed
chore: fix phpcs.
1 parent b1af100 commit dc5a52f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/wp-content/themes/twentynineteen/functions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,10 @@ function twentynineteen_content_width() {
261261
* @since Twenty Nineteen 1.0
262262
*/
263263
function twentynineteen_scripts() {
264-
$theme_version = wp_get_theme()->get( 'Version' );
265-
$suffix = SCRIPT_DEBUG ? '' : '.min';
264+
$theme_version = wp_get_theme()->get( 'Version' );
265+
$suffix = SCRIPT_DEBUG ? '' : '.min';
266266
$stylesheet_uri = SCRIPT_DEBUG ? get_stylesheet_uri() : str_replace( '.css', $suffix . '.css', get_stylesheet_uri() );
267-
267+
268268
wp_enqueue_style( 'twentynineteen-style', $stylesheet_uri, array(), $theme_version );
269269

270270
wp_style_add_data( 'twentynineteen-style', 'rtl', 'replace' );

src/wp-content/themes/twentytwentyone/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ function twenty_twenty_one_scripts() {
402402
global $is_IE, $wp_scripts;
403403
$theme_version = wp_get_theme()->get( 'Version' );
404404
$suffix = SCRIPT_DEBUG ? '' : '.min';
405-
405+
406406
if ( $is_IE ) {
407407
// If IE 11 or below, use a flattened stylesheet with static values replacing CSS Variables.
408408
wp_enqueue_style( 'twenty-twenty-one-style', get_template_directory_uri() . '/assets/css/ie.css', array(), $theme_version );

0 commit comments

Comments
 (0)