Bundled Themes: Remove redundant semicolons after closing curly brackets.

Includes a few minor indentation fixes.

Props jrf.
See #53359.
Built from https://develop.svn.wordpress.org/trunk@51553


git-svn-id: http://core.svn.wordpress.org/trunk@51164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-08-05 13:25:58 +00:00
parent 815e31f611
commit 64b193980a
10 changed files with 26 additions and 32 deletions

View File

@ -27,9 +27,9 @@
} else { } else {
echo twentyseventeen_time_link(); echo twentyseventeen_time_link();
twentyseventeen_edit_link(); twentyseventeen_edit_link();
}; }
echo '</div><!-- .entry-meta -->'; echo '</div><!-- .entry-meta -->';
}; }
if ( is_single() ) { if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' ); the_title( '<h1 class="entry-title">', '</h1>' );
@ -72,9 +72,8 @@
echo $audio_html; echo $audio_html;
echo '</div><!-- .entry-audio -->'; echo '</div><!-- .entry-audio -->';
} }
}; }
}
};
if ( is_single() || empty( $audio ) ) { if ( is_single() || empty( $audio ) ) {
@ -94,8 +93,7 @@
'link_after' => '</span>', 'link_after' => '</span>',
) )
); );
}
};
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -27,9 +27,9 @@
} else { } else {
echo twentyseventeen_time_link(); echo twentyseventeen_time_link();
twentyseventeen_edit_link(); twentyseventeen_edit_link();
}; }
echo '</div><!-- .entry-meta -->'; echo '</div><!-- .entry-meta -->';
}; }
if ( is_single() ) { if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' ); the_title( '<h1 class="entry-title">', '</h1>' );
@ -59,9 +59,8 @@
echo '<div class="entry-gallery">'; echo '<div class="entry-gallery">';
echo get_post_gallery(); echo get_post_gallery();
echo '</div>'; echo '</div>';
}; }
}
};
if ( is_single() || ! get_post_gallery() ) { if ( is_single() || ! get_post_gallery() ) {
@ -81,8 +80,7 @@
'link_after' => '</span>', 'link_after' => '</span>',
) )
); );
}
};
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -27,9 +27,9 @@
} else { } else {
echo twentyseventeen_time_link(); echo twentyseventeen_time_link();
twentyseventeen_edit_link(); twentyseventeen_edit_link();
}; }
echo '</div><!-- .entry-meta -->'; echo '</div><!-- .entry-meta -->';
}; }
if ( is_single() ) { if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' ); the_title( '<h1 class="entry-title">', '</h1>' );
@ -72,7 +72,7 @@
) )
); );
}; }
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -28,8 +28,8 @@
echo twentyseventeen_time_link(); echo twentyseventeen_time_link();
twentyseventeen_edit_link(); twentyseventeen_edit_link();
} }
echo '</div><!-- .entry-meta -->'; echo '</div><!-- .entry-meta -->';
}; }
if ( is_single() ) { if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' ); the_title( '<h1 class="entry-title">', '</h1>' );
@ -71,9 +71,8 @@
echo $video_html; echo $video_html;
echo '</div>'; echo '</div>';
} }
}; }
}
};
if ( is_single() || empty( $video ) ) { if ( is_single() || empty( $video ) ) {
@ -93,7 +92,7 @@
'link_after' => '</span>', 'link_after' => '</span>',
) )
); );
}; }
?> ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->

View File

@ -27,9 +27,9 @@
} else { } else {
echo twentyseventeen_time_link(); echo twentyseventeen_time_link();
twentyseventeen_edit_link(); twentyseventeen_edit_link();
}; }
echo '</div><!-- .entry-meta -->'; echo '</div><!-- .entry-meta -->';
}; }
if ( is_single() ) { if ( is_single() ) {
the_title( '<h1 class="entry-title">', '</h1>' ); the_title( '<h1 class="entry-title">', '</h1>' );

View File

@ -179,4 +179,4 @@ if ( have_posts() ) {
<?php comments_template(); ?> <?php comments_template(); ?>
<?php endwhile; <?php endwhile;
}; // End of the loop. ?> } // End of the loop. ?>

View File

@ -45,4 +45,4 @@ if ( have_posts() ) {
<?php comments_template( '', true ); ?> <?php comments_template( '', true ); ?>
<?php endwhile; <?php endwhile;
}; // End of the loop. ?> } // End of the loop. ?>

View File

@ -88,4 +88,4 @@ if ( have_posts() ) {
<?php comments_template( '', true ); ?> <?php comments_template( '', true ); ?>
<?php endwhile; <?php endwhile;
}; // End of the loop. ?> } // End of the loop. ?>

View File

@ -28,7 +28,6 @@ $twenty_twenty_one_comment_count = get_comments_number();
<?php <?php
if ( have_comments() ) : if ( have_comments() ) :
;
?> ?>
<h2 class="comments-title"> <h2 class="comments-title">
<?php if ( '1' === $twenty_twenty_one_comment_count ) : ?> <?php if ( '1' === $twenty_twenty_one_comment_count ) : ?>

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51552'; $wp_version = '5.9-alpha-51553';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.