Skip to content

Commit

Permalink
#92: Fix Travis issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslange committed Jun 3, 2020
1 parent 496de72 commit 3c0b2bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
);

Expand Down Expand Up @@ -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',
)
);

Expand Down Expand Up @@ -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',
)
);

Expand Down Expand Up @@ -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',
)
);

Expand Down
2 changes: 1 addition & 1 deletion template-parts/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 3c0b2bf

Please sign in to comment.