From 64b193980adb4df6ce661bd0e71250a9dab9bbbf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Aug 2021 13:25:58 +0000 Subject: [PATCH] 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 --- .../template-parts/post/content-audio.php | 14 ++++++-------- .../template-parts/post/content-gallery.php | 12 +++++------- .../template-parts/post/content-image.php | 8 ++++---- .../template-parts/post/content-video.php | 11 +++++------ .../template-parts/post/content.php | 4 ++-- wp-content/themes/twentyten/loop-attachment.php | 2 +- wp-content/themes/twentyten/loop-page.php | 2 +- wp-content/themes/twentyten/loop-single.php | 2 +- wp-content/themes/twentytwentyone/comments.php | 1 - wp-includes/version.php | 2 +- 10 files changed, 26 insertions(+), 32 deletions(-) diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php b/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php index 07f9897fa2..5679503ca4 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-audio.php @@ -27,9 +27,9 @@ } else { echo twentyseventeen_time_link(); twentyseventeen_edit_link(); - }; - echo ''; - }; + } + echo ''; + } if ( is_single() ) { the_title( '

', '

' ); @@ -72,9 +72,8 @@ echo $audio_html; echo ''; } - }; - - }; + } + } if ( is_single() || empty( $audio ) ) { @@ -94,8 +93,7 @@ 'link_after' => '', ) ); - - }; + } ?> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php b/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php index 7461d2958b..e58ead119b 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php @@ -27,9 +27,9 @@ } else { echo twentyseventeen_time_link(); twentyseventeen_edit_link(); - }; + } echo ''; - }; + } if ( is_single() ) { the_title( '

', '

' ); @@ -59,9 +59,8 @@ echo '
'; echo get_post_gallery(); echo '
'; - }; - - }; + } + } if ( is_single() || ! get_post_gallery() ) { @@ -81,8 +80,7 @@ 'link_after' => '', ) ); - - }; + } ?> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-image.php b/wp-content/themes/twentyseventeen/template-parts/post/content-image.php index 6d4b5dc188..1a3a1a78a5 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-image.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-image.php @@ -27,9 +27,9 @@ } else { echo twentyseventeen_time_link(); twentyseventeen_edit_link(); - }; - echo ''; - }; + } + echo ''; + } if ( is_single() ) { the_title( '

', '

' ); @@ -72,7 +72,7 @@ ) ); - }; + } ?> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content-video.php b/wp-content/themes/twentyseventeen/template-parts/post/content-video.php index 8c730446e3..edb7ac819c 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content-video.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content-video.php @@ -28,8 +28,8 @@ echo twentyseventeen_time_link(); twentyseventeen_edit_link(); } - echo ''; - }; + echo ''; + } if ( is_single() ) { the_title( '

', '

' ); @@ -71,9 +71,8 @@ echo $video_html; echo ''; } - }; - - }; + } + } if ( is_single() || empty( $video ) ) { @@ -93,7 +92,7 @@ 'link_after' => '', ) ); - }; + } ?> diff --git a/wp-content/themes/twentyseventeen/template-parts/post/content.php b/wp-content/themes/twentyseventeen/template-parts/post/content.php index e0f44d34e9..70c62b0cf1 100644 --- a/wp-content/themes/twentyseventeen/template-parts/post/content.php +++ b/wp-content/themes/twentyseventeen/template-parts/post/content.php @@ -27,9 +27,9 @@ } else { echo twentyseventeen_time_link(); twentyseventeen_edit_link(); - }; + } echo ''; - }; + } if ( is_single() ) { the_title( '

', '

' ); diff --git a/wp-content/themes/twentyten/loop-attachment.php b/wp-content/themes/twentyten/loop-attachment.php index 50622f768d..98981f5f81 100644 --- a/wp-content/themes/twentyten/loop-attachment.php +++ b/wp-content/themes/twentyten/loop-attachment.php @@ -179,4 +179,4 @@ if ( have_posts() ) { +} // End of the loop. ?> diff --git a/wp-content/themes/twentyten/loop-page.php b/wp-content/themes/twentyten/loop-page.php index d086648313..66e58d28eb 100644 --- a/wp-content/themes/twentyten/loop-page.php +++ b/wp-content/themes/twentyten/loop-page.php @@ -45,4 +45,4 @@ if ( have_posts() ) { +} // End of the loop. ?> diff --git a/wp-content/themes/twentyten/loop-single.php b/wp-content/themes/twentyten/loop-single.php index b51154e752..07c6469a72 100644 --- a/wp-content/themes/twentyten/loop-single.php +++ b/wp-content/themes/twentyten/loop-single.php @@ -88,4 +88,4 @@ if ( have_posts() ) { +} // End of the loop. ?> diff --git a/wp-content/themes/twentytwentyone/comments.php b/wp-content/themes/twentytwentyone/comments.php index ab865234cf..cb86fef26e 100644 --- a/wp-content/themes/twentytwentyone/comments.php +++ b/wp-content/themes/twentytwentyone/comments.php @@ -28,7 +28,6 @@ $twenty_twenty_one_comment_count = get_comments_number();

diff --git a/wp-includes/version.php b/wp-includes/version.php index 25e9898b7e..977993dd08 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.