mirror of
https://github.com/WordPress/WordPress.git
synced 2026-06-19 07:37:07 +00:00
Docs: Fix duplicate-word and spelling typos in comments and docblocks.
Developed in https://github.com/WordPress/wordpress-develop/pull/12039. Props khokansardar, sabernhardt, sanayasir, tusharaddweb. Fixes #65384. Built from https://develop.svn.wordpress.org/trunk@62489 git-svn-id: http://core.svn.wordpress.org/trunk@61770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -756,8 +756,8 @@ jQuery( function( $ ) {
|
||||
*
|
||||
* @since 5.5.2
|
||||
*
|
||||
* @param {int} startDate The Unix timestamp in milliseconds when the the event starts.
|
||||
* @param {int} endDate The Unix timestamp in milliseconds when the the event ends.
|
||||
* @param {int} startDate The Unix timestamp in milliseconds when the event starts.
|
||||
* @param {int} endDate The Unix timestamp in milliseconds when the event ends.
|
||||
* @param {string} timeZone A time zone string or offset which is parsable by `wp.date.i18n()`.
|
||||
*
|
||||
* @returns {string}
|
||||
|
||||
@@ -307,7 +307,7 @@ wp.customHtmlWidgets = ( function( $ ) {
|
||||
|
||||
/*
|
||||
* Create a container element for the widget control fields.
|
||||
* This is inserted into the DOM immediately before the the .widget-content
|
||||
* This is inserted into the DOM immediately before the .widget-content
|
||||
* element because the contents of this element are essentially "managed"
|
||||
* by PHP, where each widget update cause the entire element to be emptied
|
||||
* and replaced with the rendered output of WP_Widget::form() which is
|
||||
|
||||
@@ -131,7 +131,7 @@ function _wp_add_block_level_preset_styles( $pre_render, $block ) {
|
||||
)
|
||||
);
|
||||
|
||||
// include preset css classes on the the stylesheet.
|
||||
// include preset css classes on the stylesheet.
|
||||
$styles .= $theme_json_object->get_stylesheet(
|
||||
array( 'presets' ),
|
||||
null,
|
||||
|
||||
@@ -452,7 +452,7 @@ function _block_template_render_without_post_block_context( $context ) {
|
||||
/**
|
||||
* Sets the current WP_Query to return auto-draft posts.
|
||||
*
|
||||
* The auto-draft status indicates a new post, so allow the the WP_Query instance to
|
||||
* The auto-draft status indicates a new post, so allow the WP_Query instance to
|
||||
* return an auto-draft post for template resolution when editing a new post.
|
||||
*
|
||||
* @access private
|
||||
|
||||
@@ -3056,7 +3056,7 @@ final class WP_Customize_Manager {
|
||||
*
|
||||
* The following re-formulates the logic from `wp_trash_post()` as done in
|
||||
* `wp_publish_post()`. The reason for bypassing `wp_trash_post()` is that it
|
||||
* will mutate the the `post_content` and the `post_name` when they should be
|
||||
* will mutate the `post_content` and the `post_name` when they should be
|
||||
* untouched.
|
||||
*
|
||||
* @since 4.9.0
|
||||
|
||||
@@ -132,7 +132,7 @@ final class WP_Recovery_Mode_Email_Service {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the support message sent with the the fatal error protection email.
|
||||
* Filters the support message sent with the fatal error protection email.
|
||||
*
|
||||
* @since 5.2.0
|
||||
*
|
||||
|
||||
@@ -45,7 +45,7 @@ class WP_Theme_JSON_Data {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the theme.json with the the given data.
|
||||
* Updates the theme.json with the given data.
|
||||
*
|
||||
* @since 6.1.0
|
||||
*
|
||||
|
||||
@@ -2693,7 +2693,7 @@ function wp_update_comment( $commentarr, $wp_error = false ) {
|
||||
*/
|
||||
$data = apply_filters( 'wp_update_comment_data', $data, $comment, $commentarr );
|
||||
|
||||
// Do not carry on on failure.
|
||||
// Do not continue on failure.
|
||||
if ( is_wp_error( $data ) ) {
|
||||
if ( $wp_error ) {
|
||||
return $data;
|
||||
|
||||
@@ -55,7 +55,7 @@ function wp_print_font_faces( $fonts = array() ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates and prints font-face styles defined the the theme style variations.
|
||||
* Generates and prints font-face styles defined in the theme style variations.
|
||||
*
|
||||
* @since 6.7.0
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* JSHINT has some GPL Compatability issues, so we are faking it out and using esprima for validation
|
||||
* JSHINT has some GPL Compatibility issues, so we are faking it out and using esprima for validation
|
||||
* Based on https://github.com/jquery/esprima/blob/gh-pages/demo/validate.js which is MIT licensed.
|
||||
* This is now deprecated in favor of Espree.
|
||||
*
|
||||
|
||||
@@ -1995,7 +1995,7 @@ class WP_REST_Server {
|
||||
} elseif ( 'REDIRECT_HTTP_AUTHORIZATION' === $key && empty( $server['HTTP_AUTHORIZATION'] ) ) {
|
||||
/*
|
||||
* In some server configurations, the authorization header is passed in this alternate location.
|
||||
* Since it would not be passed in in both places we do not check for both headers and resolve.
|
||||
* Since it would not be passed in both places we do not check for both headers and resolve.
|
||||
*/
|
||||
$headers['AUTHORIZATION'] = $value;
|
||||
} elseif ( isset( $additional[ $key ] ) ) {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.1-alpha-62488';
|
||||
$wp_version = '7.1-alpha-62489';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user