Commit 162c2abdb6 for wordpress.org
commit 162c2abdb64fd7ad8ee7fdf3d558f655c19accfe
Author: SergeyBiryukov <sergeybiryukov@git.wordpress.org>
Date: Wed Nov 11 23:57:59 2026 +0000
Docs: Remove duplicate words and correct a typo in inline comments.
Props devansh2002.
See #65860.
Built from https://develop.svn.wordpress.org/trunk@65407
git-svn-id: http://core.svn.wordpress.org/trunk@64546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/js/widgets/media-widgets.js b/wp-admin/js/widgets/media-widgets.js
index ce366361d5..45e827d4ba 100644
--- a/wp-admin/js/widgets/media-widgets.js
+++ b/wp-admin/js/widgets/media-widgets.js
@@ -276,7 +276,7 @@ wp.mediaWidgets = ( function( $ ) {
*
* Overrides the {EmbedLink#renderFail()} method to prevent showing the "Link Text" field.
* The element is getting display:none in the stylesheet, but the underlying method uses
- * uses {jQuery.fn.show()} which adds an inline style. This avoids the need for !important.
+ * {jQuery.fn.show()} which adds an inline style. This avoids the need for !important.
*
* @return {void}
*/
diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php
index 9ee2054c79..ad787986b7 100644
--- a/wp-includes/class-wp-customize-manager.php
+++ b/wp-includes/class-wp-customize-manager.php
@@ -248,7 +248,7 @@ final class WP_Customize_Manager {
*
* @type null|string|false $changeset_uuid Changeset UUID, the `post_name` for the customize_changeset post containing the customized state.
* Defaults to `null` resulting in a UUID to be immediately generated. If `false` is provided, then
- * then the changeset UUID will be determined during `after_setup_theme`: when the
+ * the changeset UUID will be determined during `after_setup_theme`: when the
* `customize_changeset_branching` filter returns false, then the default UUID will be that
* of the most recent `customize_changeset` post that has a status other than 'auto-draft',
* 'publish', or 'trash'. Otherwise, if changeset branching is enabled, then a random UUID will be used.
@@ -3223,7 +3223,7 @@ final class WP_Customize_Manager {
* the 'customize' meta cap which then maps to 'edit_theme_options'. This is currently
* required in core for `wp_create_post_autosave()` because it will call
* `_wp_translate_postdata()` which in turn will check if a user can 'edit_post', but the
- * the caps for the customize_changeset post type are all mapping to the meta capability.
+ * caps for the customize_changeset post type are all mapping to the meta capability.
* This should be able to be removed once #40922 is addressed in core.
*
* @since 4.9.0
diff --git a/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php
index 998fe477d4..d9827a5ded 100644
--- a/wp-includes/class-wp-query.php
+++ b/wp-includes/class-wp-query.php
@@ -794,7 +794,7 @@ class WP_Query {
* exclude posts matching that term. Eg, 'pillow -sofa' will
* return posts containing 'pillow' but not 'sofa'. The
* character used for exclusion can be modified using the
- * the 'wp_query_search_exclusion_prefix' filter.
+ * 'wp_query_search_exclusion_prefix' filter.
* @type string[] $search_columns Array of column names to be searched. Accepts 'post_title',
* 'post_excerpt' and 'post_content'. Default empty array.
* @type int $second Second of the minute. Default empty. Accepts numbers 0-59.
diff --git a/wp-includes/class-wp-tax-query.php b/wp-includes/class-wp-tax-query.php
index 7e254b1275..e109152513 100644
--- a/wp-includes/class-wp-tax-query.php
+++ b/wp-includes/class-wp-tax-query.php
@@ -156,7 +156,7 @@ class WP_Tax_Query {
$cleaned_query[] = $cleaned_clause;
/*
- * Keep a copy of the clause in the flate
+ * Keep a copy of the clause in the flat
* $queried_terms array, for use in WP_Query.
*/
if ( ! empty( $cleaned_clause['taxonomy'] ) && 'NOT IN' !== $cleaned_clause['operator'] ) {
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 16911734cf..10449deeba 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -2572,7 +2572,7 @@ function _wp_upload_dir( $time = null ) {
*
* Rather than UPLOADS, we actually use BLOGUPLOADDIR if it is set, as it is absolute.
* (And it will be set, see ms_upload_constants().) Otherwise, UPLOADS can be used, as
- * as it is relative to ABSPATH. For the final piece: when UPLOADS is used with ms-files
+ * it is relative to ABSPATH. For the final piece: when UPLOADS is used with ms-files
* rewriting in multisite, the resulting URL is /files. (#WP22702 for background.)
*/
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 30df428647..f296c9e199 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta5-65406';
+$wp_version = '7.2-beta5-65407';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.