mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1320,7 +1320,6 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
|
||||
} elseif ( is_wp_error( $menu ) ) {
|
||||
return $menu;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1451,7 +1451,6 @@ function do_meta_boxes( $screen, $context, $data_object ) {
|
||||
echo '</div>';
|
||||
|
||||
return $i;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -243,7 +243,6 @@ function display_themes() {
|
||||
}
|
||||
$wp_list_table->prepare_items();
|
||||
$wp_list_table->display();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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() {
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -191,7 +191,6 @@ function list_core_update( $update ) {
|
||||
}
|
||||
|
||||
echo '</form>';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user