Commit 77901d9553 for wordpress.org
commit 77901d95532a67dcada77bd7ab65601170466066
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Sun Oct 25 19:47:50 2026 +0000
Docs: Fix various typos in inline comments: `/wp/editor/base.js`, `/wp/backbone.js` and `/wp/theme.js`.
Developed in https://github.com/WordPress/wordpress-develop/pull/14844.
Props nofearinc.
See #65860.
Built from https://develop.svn.wordpress.org/trunk@64696
git-svn-id: http://core.svn.wordpress.org/trunk@63846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-admin/js/editor.js b/wp-admin/js/editor.js
index 23b948d860..c073929d60 100644
--- a/wp-admin/js/editor.js
+++ b/wp-admin/js/editor.js
@@ -133,7 +133,7 @@ window.wp = window.wp || {};
/*
* Override the editor's focus method to conditionally skip
* focusing the editor based on the input device. Note that
- * editor.focus() aleady uses a `skipFocus` parameter. When
+ * editor.focus() already uses a `skipFocus` parameter. When
* it is true, it calls activateEditor(editor) instead of
* focusEditor(editor).
*/
@@ -1044,7 +1044,7 @@ window.wp = window.wp || {};
// Unmark special paragraph closing tags.
html = html.replace( /<\/p#>/g, '</p>\n' );
- // Pad remaining <p> tags whit a line break.
+ // Pad remaining <p> tags with a line break.
html = html.replace( /\s*(<p [^>]+>[\s\S]*?<\/p>)/g, '\n$1' );
// Trim.
diff --git a/wp-admin/js/theme.js b/wp-admin/js/theme.js
index 4939f453ac..7140dec3d5 100644
--- a/wp-admin/js/theme.js
+++ b/wp-admin/js/theme.js
@@ -1364,7 +1364,7 @@ themes.view.Themes = wp.Backbone.View.extend({
// Trigger a route update for the current model.
self.theme.trigger( 'theme:expand', nextModel.cid );
- // Set focus again to the 'Next' navigation button after the view fully re-rendeers.
+ // Set focus again to the 'Next' navigation button after the view fully re-renders.
$( '.theme-header .right' ).trigger( 'focus' );
themes.announceThemeDebounced( nextModel );
}
@@ -1401,7 +1401,7 @@ themes.view.Themes = wp.Backbone.View.extend({
// Trigger a route update for the current model.
self.theme.trigger( 'theme:expand', previousModel.cid );
- // Set focus again to the 'Previous' navigation button after the view fully re-rendeers.
+ // Set focus again to the 'Previous' navigation button after the view fully re-renders.
$( '.theme-header .left' ).trigger( 'focus' );
themes.announceThemeDebounced( previousModel );
}
diff --git a/wp-includes/js/wp-backbone.js b/wp-includes/js/wp-backbone.js
index 2c8e62d23c..5e71d2b21c 100644
--- a/wp-includes/js/wp-backbone.js
+++ b/wp-includes/js/wp-backbone.js
@@ -480,7 +480,7 @@ window.wp = window.wp || {};
/**
* The base view class.
*
- * This extends the backbone view to have a build-in way to use subviews. This
+ * This extends the backbone view to have a built-in way to use subviews. This
* makes it easier to have nested views.
*
* @since 3.5.0
diff --git a/wp-includes/version.php b/wp-includes/version.php
index b02e31341d..abdedfe67d 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-beta1-64695';
+$wp_version = '7.2-beta1-64696';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.