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
This commit is contained in:
Sergey Biryukov
2023-09-08 10:01:14 +00:00
parent d790be16dc
commit 1118e37f48
123 changed files with 0 additions and 263 deletions

View File

@@ -333,7 +333,6 @@ class WP_Filesystem_Base {
* This comes into effect when the CWD is /home/user/ but WP is at /var/www/....
*/
return $this->search_for_folder( $folder, '/', true );
}
/**

View File

@@ -63,7 +63,6 @@ class WP_Terms_List_Table extends WP_List_Table {
if ( empty( $post_type ) || ! in_array( $post_type, get_post_types( array( 'show_ui' => true ) ), true ) ) {
$post_type = 'post';
}
}
/**

View File

@@ -284,7 +284,6 @@ function wp_dashboard() {
<?php
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
}
//

View File

@@ -953,7 +953,6 @@ function wp_read_image_metadata( $file ) {
* @param array $exif EXIF data.
*/
return apply_filters( 'wp_read_image_metadata', $meta, $file, $image_type, $iptc, $exif );
}
/**

View File

@@ -1320,7 +1320,6 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
} elseif ( is_wp_error( $menu ) ) {
return $menu;
}
}
/**

View File

@@ -161,7 +161,6 @@ function wp_get_revision_ui_diff( $post, $compare_from, $compare_to ) {
* @param WP_Post $compare_to The revision post to compare to.
*/
return apply_filters( 'wp_get_revision_ui_diff', $return, $compare_from, $compare_to );
}
/**

View File

@@ -1451,7 +1451,6 @@ function do_meta_boxes( $screen, $context, $data_object ) {
echo '</div>';
return $i;
}
/**

View File

@@ -243,7 +243,6 @@ function display_themes() {
}
$wp_list_table->prepare_items();
$wp_list_table->display();
}
/**

View File

@@ -995,7 +995,6 @@ function upgrade_110() {
$wpdb->query( "UPDATE $wpdb->comments SET comment_date_gmt = DATE_ADD(comment_date, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)" );
$wpdb->query( "UPDATE $wpdb->users SET user_registered = DATE_ADD(user_registered, INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)" );
}
}
/**
@@ -1545,7 +1544,6 @@ function upgrade_250() {
if ( $wp_current_db_version < 6689 ) {
populate_roles_250();
}
}
/**
@@ -1704,7 +1702,6 @@ function upgrade_300() {
)
);
}
}
/**

View File

@@ -191,7 +191,6 @@ function list_core_update( $update ) {
}
echo '</form>';
}
/**