diff --git a/wp-admin/includes/class-wp-filesystem-base.php b/wp-admin/includes/class-wp-filesystem-base.php index d1a10f957f..b20a4b99e4 100644 --- a/wp-admin/includes/class-wp-filesystem-base.php +++ b/wp-admin/includes/class-wp-filesystem-base.php @@ -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 ); - } /** diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php index 3c277d6a61..9f2febedc2 100644 --- a/wp-admin/includes/class-wp-terms-list-table.php +++ b/wp-admin/includes/class-wp-terms-list-table.php @@ -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'; } - } /** diff --git a/wp-admin/includes/dashboard.php b/wp-admin/includes/dashboard.php index f0d0da1779..a92b684818 100644 --- a/wp-admin/includes/dashboard.php +++ b/wp-admin/includes/dashboard.php @@ -284,7 +284,6 @@ function wp_dashboard() { '; return $i; - } /** diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 94b591eedf..949f0d54a1 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -243,7 +243,6 @@ function display_themes() { } $wp_list_table->prepare_items(); $wp_list_table->display(); - } /** diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 39455ad425..0f08122239 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -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() { ) ); } - } /** diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index f1a8530a22..be9708efbf 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -191,7 +191,6 @@ function list_core_update( $update ) { } echo ''; - } /** diff --git a/wp-content/themes/twentyeleven/inc/widgets.php b/wp-content/themes/twentyeleven/inc/widgets.php index b84b808a3c..5ba4f1a438 100644 --- a/wp-content/themes/twentyeleven/inc/widgets.php +++ b/wp-content/themes/twentyeleven/inc/widgets.php @@ -147,7 +147,6 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget { if ( ! is_customize_preview() ) { wp_cache_set( 'widget_twentyeleven_ephemera', $cache, 'widget' ); } - } /** diff --git a/wp-content/themes/twentynineteen/functions.php b/wp-content/themes/twentynineteen/functions.php index 0689b7e332..f53b3a2053 100644 --- a/wp-content/themes/twentynineteen/functions.php +++ b/wp-content/themes/twentynineteen/functions.php @@ -207,7 +207,6 @@ function twentynineteen_widgets_init() { 'after_title' => '', ) ); - } add_action( 'widgets_init', 'twentynineteen_widgets_init' ); diff --git a/wp-content/themes/twentytwenty/classes/class-twentytwenty-non-latin-languages.php b/wp-content/themes/twentytwenty/classes/class-twentytwenty-non-latin-languages.php index 9be7acafe6..a5bbe31f53 100644 --- a/wp-content/themes/twentytwenty/classes/class-twentytwenty-non-latin-languages.php +++ b/wp-content/themes/twentytwenty/classes/class-twentytwenty-non-latin-languages.php @@ -131,7 +131,6 @@ if ( ! class_exists( 'TwentyTwenty_Non_Latin_Languages' ) ) { // Return the specified styles. return twentytwenty_generate_css( implode( ',', $elements[ $type ] ), 'font-family', implode( ',', $font_family[ $locale ] ), null, null, false ); - } } } diff --git a/wp-content/themes/twentytwenty/functions.php b/wp-content/themes/twentytwenty/functions.php index dbf0fc94a6..fc2b0dddbf 100644 --- a/wp-content/themes/twentytwenty/functions.php +++ b/wp-content/themes/twentytwenty/functions.php @@ -136,7 +136,6 @@ function twentytwenty_theme_support() { */ $loader = new TwentyTwenty_Script_Loader(); add_filter( 'script_loader_tag', array( $loader, 'filter_script_loader_tag' ), 10, 2 ); - } add_action( 'after_setup_theme', 'twentytwenty_theme_support' ); @@ -195,7 +194,6 @@ function twentytwenty_register_styles() { // Add print CSS. wp_enqueue_style( 'twentytwenty-print-style', get_template_directory_uri() . '/print.css', null, $theme_version, 'print' ); - } add_action( 'wp_enqueue_scripts', 'twentytwenty_register_styles' ); @@ -215,7 +213,6 @@ function twentytwenty_register_scripts() { wp_enqueue_script( 'twentytwenty-js', get_template_directory_uri() . '/assets/js/index.js', array(), $theme_version ); wp_script_add_data( 'twentytwenty-js', 'async', true ); - } add_action( 'wp_enqueue_scripts', 'twentytwenty_register_scripts' ); @@ -330,7 +327,6 @@ function twentytwenty_get_custom_logo( $html ) { } return $html; - } add_filter( 'get_custom_logo', 'twentytwenty_get_custom_logo' ); @@ -402,7 +398,6 @@ function twentytwenty_sidebar_registration() { ) ) ); - } add_action( 'widgets_init', 'twentytwenty_sidebar_registration' ); @@ -448,7 +443,6 @@ function twentytwenty_classic_editor_styles() { ); add_editor_style( $classic_editor_styles ); - } add_action( 'init', 'twentytwenty_classic_editor_styles' ); @@ -477,7 +471,6 @@ function twentytwenty_add_classic_editor_customizer_styles( $mce_init ) { } return $mce_init; - } add_filter( 'tiny_mce_before_init', 'twentytwenty_add_classic_editor_customizer_styles' ); @@ -505,7 +498,6 @@ function twentytwenty_add_classic_editor_non_latin_styles( $mce_init ) { } return $mce_init; - } add_filter( 'tiny_mce_before_init', 'twentytwenty_add_classic_editor_non_latin_styles' ); @@ -597,7 +589,6 @@ function twentytwenty_block_editor_settings() { if ( '#ffffff' === strtolower( twentytwenty_get_color_for_area( 'content', 'text' ) ) ) { add_theme_support( 'dark-editor-style' ); } - } add_action( 'after_setup_theme', 'twentytwenty_block_editor_settings' ); diff --git a/wp-content/themes/twentytwenty/inc/custom-css.php b/wp-content/themes/twentytwenty/inc/custom-css.php index 815f5d1b72..e551eb6abc 100644 --- a/wp-content/themes/twentytwenty/inc/custom-css.php +++ b/wp-content/themes/twentytwenty/inc/custom-css.php @@ -42,7 +42,6 @@ if ( ! function_exists( 'twentytwenty_generate_css' ) ) { } return $return; - } } @@ -190,6 +189,5 @@ if ( ! function_exists( 'twentytwenty_get_customizer_css' ) ) { // Return the results. return ob_get_clean(); - } } diff --git a/wp-content/themes/twentytwenty/inc/starter-content.php b/wp-content/themes/twentytwenty/inc/starter-content.php index 89be38bbe8..52b36d4c9f 100644 --- a/wp-content/themes/twentytwenty/inc/starter-content.php +++ b/wp-content/themes/twentytwenty/inc/starter-content.php @@ -214,5 +214,4 @@ function twentytwenty_get_starter_content() { * @param array $starter_content Array of starter content. */ return apply_filters( 'twentytwenty_starter_content', $starter_content ); - } diff --git a/wp-content/themes/twentytwenty/inc/template-tags.php b/wp-content/themes/twentytwenty/inc/template-tags.php index d91ffd344a..8014eb4123 100644 --- a/wp-content/themes/twentytwenty/inc/template-tags.php +++ b/wp-content/themes/twentytwenty/inc/template-tags.php @@ -88,7 +88,6 @@ function twentytwenty_site_logo( $args = array(), $display = true ) { } echo $html; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped - } /** @@ -154,7 +153,6 @@ function twentytwenty_is_comment_by_post_author( $comment = null ) { } } return false; - } /** @@ -172,7 +170,6 @@ function twentytwenty_filter_comment_reply_link( $link ) { $link = str_replace( 'class=\'', 'class=\'do-not-scroll ', $link ); return $link; - } add_filter( 'comment_reply_link', 'twentytwenty_filter_comment_reply_link' ); @@ -194,7 +191,6 @@ add_filter( 'comment_reply_link', 'twentytwenty_filter_comment_reply_link' ); function twentytwenty_the_post_meta( $post_id = null, $location = 'single-top' ) { echo twentytwenty_get_post_meta( $post_id, $location ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in twentytwenty_get_post_meta(). - } /** @@ -231,7 +227,6 @@ function twentytwenty_edit_post_link( $link, $post_id, $text ) { ); return '
'; - } add_filter( 'edit_post_link', 'twentytwenty_edit_post_link', 10, 3 ); @@ -523,7 +518,6 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' ) } } - } /** @@ -564,7 +558,6 @@ function twentytwenty_filter_wp_list_pages_item_classes( $css_class, $page, $dep } return $css_class; - } add_filter( 'page_css_class', 'twentytwenty_filter_wp_list_pages_item_classes', 10, 4 ); @@ -614,7 +607,6 @@ function twentytwenty_add_sub_toggles_to_main_menu( $args, $item ) { } return $args; - } add_filter( 'nav_menu_item_args', 'twentytwenty_add_sub_toggles_to_main_menu', 10, 2 ); @@ -661,7 +653,6 @@ function twentytwenty_no_js_class() { ?> '' . esc_html_x( 'example@example.com', 'Block pattern sample content', 'twentytwentyone' ) . '
' . esc_html_x( '123-456-7890', 'Block pattern sample content', 'twentytwentyone' ) . '
' . esc_html_x( '123 Main Street', 'Block pattern sample content', 'twentytwentyone' ) . '
' . esc_html_x( 'Cambridge, MA, 02139', 'Block pattern sample content', 'twentytwentyone' ) . '