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' ) . '

', ) ); - } add_action( 'init', 'twenty_twenty_one_register_block_pattern' ); } diff --git a/wp-content/themes/twentytwentytwo/functions.php b/wp-content/themes/twentytwentytwo/functions.php index 3b1dde74c4..cd994beec7 100644 --- a/wp-content/themes/twentytwentytwo/functions.php +++ b/wp-content/themes/twentytwentytwo/functions.php @@ -26,7 +26,6 @@ if ( ! function_exists( 'twentytwentytwo_support' ) ) : // Enqueue editor styles. add_editor_style( 'style.css' ); - } endif; @@ -56,7 +55,6 @@ if ( ! function_exists( 'twentytwentytwo_styles' ) ) : // Enqueue theme stylesheet. wp_enqueue_style( 'twentytwentytwo-style' ); - } endif; diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index d1d438d9e5..ca35a56ae8 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -1100,7 +1100,6 @@ function wp_admin_bar_appearance_menu( $wp_admin_bar ) { ) ); } - } /** diff --git a/wp-includes/class-walker-comment.php b/wp-includes/class-walker-comment.php index dfc8ccd39d..2aabcbd158 100644 --- a/wp-includes/class-walker-comment.php +++ b/wp-includes/class-walker-comment.php @@ -150,7 +150,6 @@ class Walker_Comment extends Walker { unset( $children_elements[ $id ] ); } - } /** diff --git a/wp-includes/class-wp-http.php b/wp-includes/class-wp-http.php index bc411179d3..87a9342a92 100644 --- a/wp-includes/class-wp-http.php +++ b/wp-includes/class-wp-http.php @@ -919,7 +919,6 @@ class WP_Http { } else { return ! in_array( $check['host'], $accessible_hosts, true ); // Inverse logic, if it's in the array, then don't block it. } - } /** diff --git a/wp-includes/class-wp-text-diff-renderer-table.php b/wp-includes/class-wp-text-diff-renderer-table.php index c0cf35b653..ddf732c3e5 100644 --- a/wp-includes/class-wp-text-diff-renderer-table.php +++ b/wp-includes/class-wp-text-diff-renderer-table.php @@ -118,7 +118,6 @@ class WP_Text_Diff_Renderer_Table extends Text_Diff_Renderer { /* translators: Hidden accessibility text. */ __( 'Added:' ) . " {$line}"; - } /** diff --git a/wp-includes/comment.php b/wp-includes/comment.php index b538b2c5c1..ce0ebe769d 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -2700,7 +2700,6 @@ function wp_update_comment_count( $post_id, $do_deferred = false ) { } elseif ( $post_id ) { return wp_update_comment_count_now( $post_id ); } - } /** diff --git a/wp-includes/customize/class-wp-customize-header-image-control.php b/wp-includes/customize/class-wp-customize-header-image-control.php index 0c8cc0e21e..ecb134a5d1 100644 --- a/wp-includes/customize/class-wp-customize-header-image-control.php +++ b/wp-includes/customize/class-wp-customize-header-image-control.php @@ -62,7 +62,6 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control { 'get_url' => 'get_header_image', ) ); - } /** diff --git a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php index 028cd8da20..4c8ad5bec0 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php @@ -183,7 +183,6 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting { throw new Exception( "Supplied nav_menu_item value missing property: $missing" ); } } - } /** @@ -878,7 +877,6 @@ class WP_Customize_Nav_Menu_Item_Setting extends WP_Customize_Setting { } } } - } /** diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php index a1f4eedd54..6e64e789a0 100644 --- a/wp-includes/default-constants.php +++ b/wp-includes/default-constants.php @@ -429,5 +429,4 @@ function wp_templating_constants() { if ( ! defined( 'WP_DEFAULT_THEME' ) ) { define( 'WP_DEFAULT_THEME', 'twentytwentythree' ); } - } diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 835fa7190e..4a2a2b1779 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4829,7 +4829,6 @@ function smilies_init() { } $wp_smiliessearch .= ')(?=' . $spaces . '|$)/m'; - } /** @@ -5609,7 +5608,6 @@ function _deprecated_constructor( $class_name, $version, $parent_class = '' ) { } } } - } /** diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index a2b1029064..fafbfcbcd9 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -2622,7 +2622,6 @@ function the_modified_date( $format = '', $before = '', $after = '', $display = } else { return $the_modified_date; } - } /** @@ -4810,7 +4809,6 @@ function register_admin_color_schemes() { 'current' => '#fff', ) ); - } /** diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index bdf0d1a00d..a34b34b6ce 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -2718,7 +2718,6 @@ function get_posts_nav_link( $args = array() ) { } } return $return; - } /** diff --git a/wp-includes/load.php b/wp-includes/load.php index 3db556583c..8f18a3a6e9 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -1865,7 +1865,6 @@ function wp_is_jsonp_request() { $jsonp_enabled = apply_filters( 'rest_jsonp_enabled', true ); return $jsonp_enabled; - } /** diff --git a/wp-includes/pomo/entry.php b/wp-includes/pomo/entry.php index cd209e2f20..9ca63f89de 100644 --- a/wp-includes/pomo/entry.php +++ b/wp-includes/pomo/entry.php @@ -111,7 +111,6 @@ if ( ! class_exists( 'Translation_Entry', false ) ) : if ( $this->extracted_comments !== $other->extracted_comments ) { $this->extracted_comments .= $other->extracted_comments; } - } } endif; diff --git a/wp-includes/post.php b/wp-includes/post.php index 93d6ce9ade..5d7aee24ee 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -2439,7 +2439,6 @@ function get_posts( $args = null ) { $get_posts = new WP_Query(); return $get_posts->query( $parsed_args ); - } // @@ -3998,7 +3997,6 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) { } return $results ? $results : false; - } /** diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php index 3ebed0752b..689e86355c 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php @@ -131,7 +131,6 @@ class WP_REST_Autosaves_Controller extends WP_REST_Revisions_Controller { 'schema' => array( $this, 'get_public_item_schema' ), ) ); - } /** diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php index 356c321129..69c8ae946a 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php @@ -1397,7 +1397,6 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { * @param WP_REST_Request $request Request object. */ return apply_filters( "rest_pre_insert_{$this->post_type}", $prepared_post, $request ); - } /** @@ -1496,7 +1495,6 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { } else { return delete_post_thumbnail( $post_id ); } - } /** diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php index 6fde5f13f5..66122a1922 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php @@ -128,7 +128,6 @@ class WP_REST_Revisions_Controller extends WP_REST_Controller { 'schema' => array( $this, 'get_public_item_schema' ), ) ); - } /** diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php index 1c83f5caea..365afd39d2 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php @@ -54,7 +54,6 @@ class WP_REST_Settings_Controller extends WP_REST_Controller { 'schema' => array( $this, 'get_public_item_schema' ), ) ); - } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index bfacdb0388..732920ba33 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56547'; +$wp_version = '6.4-alpha-56548'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.