From 3c0b2bfdd9be8bc809cb2f3e6552c907f78b3b7f Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Wed, 3 Jun 2020 18:05:13 +0700 Subject: [PATCH] #92: Fix Travis issue --- functions.php | 16 ++++++++-------- template-parts/content.php | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/functions.php b/functions.php index 323c4ff..17335ba 100644 --- a/functions.php +++ b/functions.php @@ -218,8 +218,8 @@ function smntcs_retro_customize_register( $wp_customize ) { $wp_customize->add_section( 'smntcs_retro_theme_general_section', array( - 'title' => __( 'General', 'smntcs-retro' ), - 'panel' => 'smntcs_retro_theme_options_section', + 'title' => __( 'General', 'smntcs-retro' ), + 'panel' => 'smntcs_retro_theme_options_section', ) ); @@ -286,8 +286,8 @@ function smntcs_retro_customize_register( $wp_customize ) { $wp_customize->add_section( 'smntcs_retro_theme_archive_section', array( - 'title' => __( 'Archives', 'smntcs-retro' ), - 'panel' => 'smntcs_retro_theme_options_section', + 'title' => __( 'Archives', 'smntcs-retro' ), + 'panel' => 'smntcs_retro_theme_options_section', ) ); @@ -393,8 +393,8 @@ function smntcs_retro_customize_register( $wp_customize ) { $wp_customize->add_section( 'smntcs_retro_theme_post_section', array( - 'title' => __( 'Posts', 'smntcs-retro' ), - 'panel' => 'smntcs_retro_theme_options_section', + 'title' => __( 'Posts', 'smntcs-retro' ), + 'panel' => 'smntcs_retro_theme_options_section', ) ); @@ -482,8 +482,8 @@ function smntcs_retro_customize_register( $wp_customize ) { $wp_customize->add_section( 'smntcs_retro_theme_page_section', array( - 'title' => __( 'Pages', 'smntcs-retro' ), - 'panel' => 'smntcs_retro_theme_options_section', + 'title' => __( 'Pages', 'smntcs-retro' ), + 'panel' => 'smntcs_retro_theme_options_section', ) ); diff --git a/template-parts/content.php b/template-parts/content.php index da799ef..2caefaf 100644 --- a/template-parts/content.php +++ b/template-parts/content.php @@ -65,7 +65,7 @@ } // Display the post excerpt or the full post. -if ( 'full' == get_theme_mod( 'smntcs_retro_archive_show_posts_as' ) ) { +if ( 'full' === get_theme_mod( 'smntcs_retro_archive_show_posts_as' ) ) { the_content( $post->ID ); } else { the_excerpt( $post->ID );