Fix some comment typos. (#50993)

This commit is contained in:
Caleb Mazalevskis 2024-08-28 01:54:10 +08:00 committed by GitHub
parent 013cef959e
commit 3ab62e11c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: Fix some comment typos.

View File

@ -215,7 +215,7 @@ $muriel-box-shadow-8dp: 0 5px 5px -3px rgb(0 0 0 / 20%),
}
// At the time of this comment, it was discovered that this component has
// the same classnames as the WP Components Checkbox, without it being a code depedency.
// the same class names as the WP Components Checkbox, without it being a code dependency.
// This caused some visual breakages when changes happened in WP 6.6, and
// the rules have been copied over from WP Components styles of 6.5.1.
// https://github.com/WordPress/gutenberg/blob/403b4b8d014ef7f6edc15c822e455e109bf49c6d/packages/components/src/checkbox-control/style.scss#L4

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: Fix some comment typos.

View File

@ -26,7 +26,7 @@ import type { CustomFieldNameControlProps } from './types';
* the arbitrary value into an option so it can be selected as
* a valid value
*
* @param search The seraching criteria.
* @param search The search criteria.
* @return The list of filtered custom field names as a Promise.
*/
async function searchCustomFieldNames( search?: string ) {

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: Fix some comment typos.

View File

@ -292,7 +292,7 @@ export class RemoteLogger {
.map( this.getFormattedFrame )
.join( '\n\n' );
// Set hard limit of 8192 characters for the stack trace so it does not use too much user bandwith and also our computation.
// Set hard limit of 8192 characters for the stack trace so it does not use too much user bandwidth and also our computation.
return trace.length > 8192 ? trace.substring( 0, 8192 ) : trace;
}

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Comment: Fix some comment typos.

View File

@ -22,7 +22,7 @@ const GROUP_PREFIX = 'x_woocommerce-';
* @param {Record<string, string> | string} group - The group of stats or a single stat name.
* @param {string} [name] - The name of the stat if group is a string.
*
* @return {URLSearchParams} The constructed querys.
* @return {URLSearchParams} The constructed query.
*/
function buildQueryParams(
group: Record< string, string > | string,