Skip to content

Commit 19bb507

Browse files
Docs: Remove duplicate words and correct a typo in inline comments.
Props devansh2002. See #65860. git-svn-id: https://develop.svn.wordpress.org/trunk@65407 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 62fb7f4 commit 19bb507

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/js/_enqueues/wp/widgets/media.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ wp.mediaWidgets = ( function( $ ) {
276276
*
277277
* Overrides the {EmbedLink#renderFail()} method to prevent showing the "Link Text" field.
278278
* The element is getting display:none in the stylesheet, but the underlying method uses
279-
* uses {jQuery.fn.show()} which adds an inline style. This avoids the need for !important.
279+
* {jQuery.fn.show()} which adds an inline style. This avoids the need for !important.
280280
*
281281
* @return {void}
282282
*/

‎src/wp-includes/class-wp-customize-manager.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ final class WP_Customize_Manager {
248248
*
249249
* @type null|string|false $changeset_uuid Changeset UUID, the `post_name` for the customize_changeset post containing the customized state.
250250
* Defaults to `null` resulting in a UUID to be immediately generated. If `false` is provided, then
251-
* then the changeset UUID will be determined during `after_setup_theme`: when the
251+
* the changeset UUID will be determined during `after_setup_theme`: when the
252252
* `customize_changeset_branching` filter returns false, then the default UUID will be that
253253
* of the most recent `customize_changeset` post that has a status other than 'auto-draft',
254254
* 'publish', or 'trash'. Otherwise, if changeset branching is enabled, then a random UUID will be used.
@@ -3223,7 +3223,7 @@ public function handle_changeset_trash_request() {
32233223
* the 'customize' meta cap which then maps to 'edit_theme_options'. This is currently
32243224
* required in core for `wp_create_post_autosave()` because it will call
32253225
* `_wp_translate_postdata()` which in turn will check if a user can 'edit_post', but the
3226-
* the caps for the customize_changeset post type are all mapping to the meta capability.
3226+
* caps for the customize_changeset post type are all mapping to the meta capability.
32273227
* This should be able to be removed once #40922 is addressed in core.
32283228
*
32293229
* @since 4.9.0

‎src/wp-includes/class-wp-query.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ public function fill_query_vars( $query_vars ) {
794794
* exclude posts matching that term. Eg, 'pillow -sofa' will
795795
* return posts containing 'pillow' but not 'sofa'. The
796796
* character used for exclusion can be modified using the
797-
* the 'wp_query_search_exclusion_prefix' filter.
797+
* 'wp_query_search_exclusion_prefix' filter.
798798
* @type string[] $search_columns Array of column names to be searched. Accepts 'post_title',
799799
* 'post_excerpt' and 'post_content'. Default empty array.
800800
* @type int $second Second of the minute. Default empty. Accepts numbers 0-59.

‎src/wp-includes/class-wp-tax-query.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function sanitize_query( $queries ) {
156156
$cleaned_query[] = $cleaned_clause;
157157

158158
/*
159-
* Keep a copy of the clause in the flate
159+
* Keep a copy of the clause in the flat
160160
* $queried_terms array, for use in WP_Query.
161161
*/
162162
if ( ! empty( $cleaned_clause['taxonomy'] ) && 'NOT IN' !== $cleaned_clause['operator'] ) {

‎src/wp-includes/functions.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ function _wp_upload_dir( $time = null ) {
25722572
*
25732573
* Rather than UPLOADS, we actually use BLOGUPLOADDIR if it is set, as it is absolute.
25742574
* (And it will be set, see ms_upload_constants().) Otherwise, UPLOADS can be used, as
2575-
* as it is relative to ABSPATH. For the final piece: when UPLOADS is used with ms-files
2575+
* it is relative to ABSPATH. For the final piece: when UPLOADS is used with ms-files
25762576
* rewriting in multisite, the resulting URL is /files. (#WP22702 for background.)
25772577
*/
25782578

0 commit comments

Comments
 (0)