Skip to content

Commit 1118e37

Browse files
Coding Standards: Remove superfluous blank lines at the end of various functions.
Note: This is enforced by WPCS 3.0.0. Follow-up to [56536], [56547]. Props jrf. See #59161, #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56548 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d790be1 commit 1118e37

File tree

123 files changed

+0
-263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+0
-263
lines changed

src/wp-admin/includes/class-wp-filesystem-base.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ public function search_for_folder( $folder, $base = '.', $loop = false ) {
333333
* This comes into effect when the CWD is /home/user/ but WP is at /var/www/....
334334
*/
335335
return $this->search_for_folder( $folder, '/', true );
336-
337336
}
338337

339338
/**

src/wp-admin/includes/class-wp-terms-list-table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public function __construct( $args = array() ) {
6363
if ( empty( $post_type ) || ! in_array( $post_type, get_post_types( array( 'show_ui' => true ) ), true ) ) {
6464
$post_type = 'post';
6565
}
66-
6766
}
6867

6968
/**

src/wp-admin/includes/dashboard.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ function wp_dashboard() {
284284
<?php
285285
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
286286
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
287-
288287
}
289288

290289
//

src/wp-admin/includes/image.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,6 @@ function wp_read_image_metadata( $file ) {
953953
* @param array $exif EXIF data.
954954
*/
955955
return apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif );
956-
957956
}
958957

959958
/**

src/wp-admin/includes/nav-menu.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,6 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
13201320
} elseif ( is_wp_error( $menu ) ) {
13211321
return $menu;
13221322
}
1323-
13241323
}
13251324

13261325
/**

src/wp-admin/includes/revision.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
161161
* @param WP_Post $compare_to The revision post to compare to.
162162
*/
163163
return apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to );
164-
165164
}
166165

167166
/**

src/wp-admin/includes/template.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,6 @@ function do_meta_boxes( $screen, $context, $data_object ) {
14511451
echo '</div>';
14521452

14531453
return $i;
1454-
14551454
}
14561455

14571456
/**

src/wp-admin/includes/theme-install.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ function display_themes() {
243243
}
244244
$wp_list_table->prepare_items();
245245
$wp_list_table->display();
246-
247246
}
248247

249248
/**

src/wp-admin/includes/upgrade.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,6 @@ function upgrade_110() {
995995
$wpdb->query( "UPDATE $wpdb->comments SET comment_date_gmt = DATE_ADD(comment_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)" );
996996
$wpdb->query( "UPDATE $wpdb->users SET user_registered = DATE_ADD(user_registered, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)" );
997997
}
998-
999998
}
1000999

10011000
/**
@@ -1545,7 +1544,6 @@ function upgrade_250() {
15451544
if ( $wp_current_db_version < 6689 ) {
15461545
populate_roles_250();
15471546
}
1548-
15491547
}
15501548

15511549
/**
@@ -1704,7 +1702,6 @@ function upgrade_300() {
17041702
)
17051703
);
17061704
}
1707-
17081705
}
17091706

17101707
/**

src/wp-admin/update-core.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ function list_core_update( $update ) {
191191
}
192192

193193
echo '</form>';
194-
195194
}
196195

197196
/**

0 commit comments

Comments
 (0)