diff --git a/wp-includes/block-patterns.php b/wp-includes/block-patterns.php index 55c0dd29ba..0d4eacd1a3 100644 --- a/wp-includes/block-patterns.php +++ b/wp-includes/block-patterns.php @@ -120,7 +120,7 @@ function _load_remote_featured_patterns() { foreach ( $patterns as $pattern ) { $pattern_name = sanitize_title( $pattern['title'] ); $registry = WP_Block_Patterns_Registry::get_instance(); - // Some patterns might be already registerd as `core patterns with the `core` prefix. + // Some patterns might be already registered as core patterns with the `core` prefix. $is_registered = $registry->is_registered( $pattern_name ) || $registry->is_registered( "core/$pattern_name" ); if ( ! $is_registered ) { register_block_pattern( $pattern_name, (array) $pattern ); diff --git a/wp-includes/block-template.php b/wp-includes/block-template.php index ff34626ad9..ee619dbe5c 100644 --- a/wp-includes/block-template.php +++ b/wp-includes/block-template.php @@ -66,7 +66,7 @@ function locate_block_template( $template, $type, array $templates ) { ); $index = array_search( $relative_template_path, $templates, true ); - // If the template hiearchy algorithm has successfully located a PHP template file, + // If the template hierarchy algorithm has successfully located a PHP template file, // we will only consider block templates with higher or equal specificity. $templates = array_slice( $templates, 0, $index + 1 ); } diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 5669bbf7b6..28e269c1d9 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -1164,7 +1164,7 @@ function build_query_vars_from_query_block( $block, $page ) { * @since 5.9.0 * * @param WP_Block $block Block instance. - * @param boolean $is_next Flag for hanlding `next/previous` blocks. + * @param boolean $is_next Flag for handling `next/previous` blocks. * * @return string|null Returns the constructed WP_Query arguments. */ diff --git a/wp-includes/class-wp-http-encoding.php b/wp-includes/class-wp-http-encoding.php index 62ae420a9b..e9e94e4d77 100644 --- a/wp-includes/class-wp-http-encoding.php +++ b/wp-includes/class-wp-http-encoding.php @@ -88,7 +88,7 @@ class WP_Http_Encoding { * * Warning: Magic numbers within. Due to the potential different formats that the compressed * data may be returned in, some "magic offsets" are needed to ensure proper decompression - * takes place. For a simple progmatic way to determine the magic offset in use, see: + * takes place. For a simple pragmatic way to determine the magic offset in use, see: * https://core.trac.wordpress.org/ticket/18273 * * @since 2.8.1 diff --git a/wp-includes/class-wp-http.php b/wp-includes/class-wp-http.php index a51c28a2a9..8146ef94c2 100644 --- a/wp-includes/class-wp-http.php +++ b/wp-includes/class-wp-http.php @@ -136,7 +136,7 @@ class WP_Http { * @type string $sslcertificates Absolute path to an SSL certificate .crt file. * Default ABSPATH . WPINC . '/certificates/ca-bundle.crt'. * @type bool $stream Whether to stream to a file. If set to true and no filename was - * given, it will be droped it in the WP temp dir and its name will + * given, it will be dropped it in the WP temp dir and its name will * be set using the basename of the URL. Default false. * @type string $filename Filename of the file to write to when streaming. $stream must be * set to true. Default null. diff --git a/wp-includes/class-wp-locale.php b/wp-includes/class-wp-locale.php index 50dd44847e..cb8fdf566f 100644 --- a/wp-includes/class-wp-locale.php +++ b/wp-includes/class-wp-locale.php @@ -138,7 +138,7 @@ class WP_Locale { // Abbreviations for each day. $this->weekday_abbrev[ __( 'Sunday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Sun' ); - $this->weekday_abbrev[ __( 'Monday' ) ] = /* translators: Ttree-letter abbreviation of the weekday. */ __( 'Mon' ); + $this->weekday_abbrev[ __( 'Monday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Mon' ); $this->weekday_abbrev[ __( 'Tuesday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Tue' ); $this->weekday_abbrev[ __( 'Wednesday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Wed' ); $this->weekday_abbrev[ __( 'Thursday' ) ] = /* translators: Three-letter abbreviation of the weekday. */ __( 'Thu' ); diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index 38df6cebf1..cf1528d807 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -147,7 +147,7 @@ class WP_Theme_JSON_Resolver { * Data from theme.json will be backfilled from existing * theme supports, if any. Note that if the same data * is present in theme.json and in theme supports, - * the theme.json takes precendence. + * the theme.json takes precedence. * * @since 5.8.0 * @since 5.9.0 Theme supports have been inlined and the `$theme_support_data` argument removed. diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 5c643cf138..fb8bd3f27b 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -1520,7 +1520,7 @@ class WP_Theme_JSON { * Additionally, for some preset types, we also want to make sure the * values they introduce don't conflict with default values. We do so * by checking the incoming slugs for theme presets and compare them - * with the equivalent dfefault presets: if a slug is present as a default + * with the equivalent default presets: if a slug is present as a default * we remove it from the theme presets. */ $nodes = self::get_setting_nodes( $incoming_data ); diff --git a/wp-includes/customize/class-wp-customize-nav-menu-setting.php b/wp-includes/customize/class-wp-customize-nav-menu-setting.php index c3dc1e9eb5..f01906c818 100644 --- a/wp-includes/customize/class-wp-customize-nav-menu-setting.php +++ b/wp-includes/customize/class-wp-customize-nav-menu-setting.php @@ -595,7 +595,7 @@ class WP_Customize_Nav_Menu_Setting extends WP_Customize_Setting { * @param array $nav_menu_options Array as returned by get_option( 'nav_menu_options' ). * @param int $menu_id The term ID for the given menu. * @param bool $auto_add Whether to auto-add or not. - * @return array (Maybe) modified nav_menu_otions array. + * @return array (Maybe) modified nav_menu_options array. */ protected function filter_nav_menu_options_value( $nav_menu_options, $menu_id, $auto_add ) { $nav_menu_options = (array) $nav_menu_options; diff --git a/wp-includes/version.php b/wp-includes/version.php index 01e0d787ff..96cf316c73 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52595'; +$wp_version = '6.0-alpha-52597'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.