Skip to content

Commit

Permalink
Docs: Fix various typos and spelling mistakes.
Browse files Browse the repository at this point in the history
Props swissspidy, jucaduca, sergeybiryukov.
See #60699.
Built from https://develop.svn.wordpress.org/trunk@57987


git-svn-id: http://core.svn.wordpress.org/trunk@57473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
swissspidy committed Apr 12, 2024
1 parent 98d90f8 commit 00d06db
Show file tree
Hide file tree
Showing 30 changed files with 63 additions and 63 deletions.
2 changes: 1 addition & 1 deletion wp-admin/css/list-tables-rtl.css
Expand Up @@ -905,7 +905,7 @@ tr:hover .row-actions,

tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
/* Prevents the focus style on .inline-edit-wrapper from being cut-off */
position: relative;
}

Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/list-tables.css
Expand Up @@ -904,7 +904,7 @@ tr:hover .row-actions,

tr.inline-edit-row td {
padding: 0;
/* Prevents the focus style on .inline-edit-wrapper from being cutted-off */
/* Prevents the focus style on .inline-edit-wrapper from being cut-off */
position: relative;
}

Expand Down
4 changes: 2 additions & 2 deletions wp-admin/js/customize-controls.js
Expand Up @@ -1799,7 +1799,7 @@
section.closeDetails();
} else {

// Escape from the inifinite scroll list.
// Escape from the infinite scroll list.
section.headerContainer.find( '.customize-themes-section-title' ).focus();
}
event.stopPropagation(); // Prevent section from being collapsed.
Expand Down Expand Up @@ -7199,7 +7199,7 @@
} ) );

/**
* Return whether the pubish settings section should be active.
* Return whether the publish settings section should be active.
*
* @return {boolean} Is section active.
*/
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/js/customize-widgets.js
Expand Up @@ -388,7 +388,7 @@
},

/**
* Adds keyboard accessiblity to the panel.
* Adds keyboard accessibility to the panel.
*/
keyboardAccessible: function( event ) {
var isEnter = ( event.which === 13 ),
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/js/dashboard.js
Expand Up @@ -92,7 +92,7 @@ jQuery( function($) {
setTimeout( function(){
// Request the widget content.
p.load( ajaxurl + '?action=dashboard-widgets&widget=' + id + '&pagenow=' + pagenow, '', function() {
// Hide the parent and slide it out for visual fancyness.
// Hide the parent and slide it out for visual fanciness.
p.hide().slideDown('normal', function(){
$(this).css('display', '');
});
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/js/editor-expand.js
Expand Up @@ -1552,7 +1552,7 @@
// Bind and unbind based on the distraction free writing focus.
$document.on( 'dfw-on.focus', mceBind ).on( 'dfw-off.focus', mceUnbind );

// Focuse the editor when it is the target of the click event.
// Focus the editor when it is the target of the click event.
editor.on( 'click', function( event ) {
if ( event.target === editor.getDoc().documentElement ) {
editor.focus();
Expand Down
4 changes: 2 additions & 2 deletions wp-admin/js/editor.js
Expand Up @@ -265,7 +265,7 @@ window.wp = window.wp || {};
}

/**
* Gets a list of unique shortcodes or shortcode-look-alikes in the content.
* Gets a list of unique shortcodes or shortcode-lookalikes in the content.
*
* @param {string} content The content we want to scan for shortcodes.
*/
Expand Down Expand Up @@ -561,7 +561,7 @@ window.wp = window.wp || {};
* By default TinyMCE wraps loose inline tags in a `<p>`.
* When removing selection markers an empty `<p>` may be left behind, remove it.
*
* @param {Object} $marker The marker to be removed from the editor DOM, wrapped in an instnce of `editor.$`
* @param {Object} $marker The marker to be removed from the editor DOM, wrapped in an instance of `editor.$`
*/
function removeSelectionMarker( $marker ) {
var $markerParent = $marker.parent();
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/js/theme-plugin-editor.js
Expand Up @@ -191,7 +191,7 @@ wp.themePluginEditor = (function( $ ) {
return;
}

// Scroll ot the line that has the error.
// Scroll to the line that has the error.
if ( component.lintErrors.length ) {
component.instance.codemirror.setCursor( component.lintErrors[0].from.line );
return;
Expand Down
6 changes: 3 additions & 3 deletions wp-admin/js/theme.js
Expand Up @@ -926,7 +926,7 @@ themes.view.Preview = themes.view.Details.extend({

currentPreviewDevice = this.$el.data( 'current-preview-device' );
if ( currentPreviewDevice ) {
self.tooglePreviewDeviceButtons( currentPreviewDevice );
self.togglePreviewDeviceButtons( currentPreviewDevice );
}

themes.router.navigate( themes.router.baseUrl( themes.router.themePath + this.model.get( 'id' ) ), { replace: false } );
Expand Down Expand Up @@ -988,10 +988,10 @@ themes.view.Preview = themes.view.Details.extend({
.addClass( 'preview-' + device )
.data( 'current-preview-device', device );

this.tooglePreviewDeviceButtons( device );
this.togglePreviewDeviceButtons( device );
},

tooglePreviewDeviceButtons: function( newDevice ) {
togglePreviewDeviceButtons: function( newDevice ) {
var $devices = $( '.wp-full-overlay-footer .devices' );

$devices.find( 'button' )
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/js/theme.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-content/themes/twentyfourteen/inc/featured-content.php
Expand Up @@ -179,7 +179,7 @@ public static function get_featured_post_ids() {
}

/**
* Return an array with IDs of posts maked as sticky.
* Return an array with IDs of posts marked as sticky.
*
* @since Twenty Fourteen 1.0
*
Expand Down
12 changes: 6 additions & 6 deletions wp-content/themes/twentyseventeen/assets/css/colors-dark.css
Expand Up @@ -126,8 +126,8 @@
.colors-dark .widget .widget-title a:hover,
.colors-dark .widget ul li a:focus,
.colors-dark .widget ul li a:hover {
-webkit-box-shadow: inset 0 0 0 rgba(255, 255, 255, 0), 0 3px 0 rgba(255, 255, 255, 1); /* Equivalant to #fff */
box-shadow: inset 0 0 0 rgba(255, 255, 255, 0), 0 3px 0 rgba(255, 255, 255, 1); /* Equivalant to #fff */
-webkit-box-shadow: inset 0 0 0 rgba(255, 255, 255, 0), 0 3px 0 rgba(255, 255, 255, 1); /* Equivalent to #fff */
box-shadow: inset 0 0 0 rgba(255, 255, 255, 0), 0 3px 0 rgba(255, 255, 255, 1); /* Equivalent to #fff */
}

.colors-dark .entry-content a,
Expand All @@ -137,8 +137,8 @@
.colors-dark .site-footer .widget-area a,
.colors-dark .posts-navigation a,
.colors-dark .widget_authors a strong {
-webkit-box-shadow: inset 0 -1px 0 rgba(240, 240, 240, 1); /* Equivalant to #f0f0f0 */
box-shadow: inset 0 -1px 0 rgba(240, 240, 240, 1); /* Equivalant to #f0f0f0 */
-webkit-box-shadow: inset 0 -1px 0 rgba(240, 240, 240, 1); /* Equivalent to #f0f0f0 */
box-shadow: inset 0 -1px 0 rgba(240, 240, 240, 1); /* Equivalent to #f0f0f0 */
}

body.colors-dark,
Expand Down Expand Up @@ -474,8 +474,8 @@ body.colors-dark,
.colors-dark .widget ul li a,
.colors-dark .site-footer .widget-area ul li a,
.colors-dark .site-info a {
-webkit-box-shadow: inset 0 -1px 0 rgba(34, 34, 34, 1); /* Equivalant to #222 */
box-shadow: inset 0 -1px 0 rgba(34, 34, 34, 1); /* Equivalant to #222 */
-webkit-box-shadow: inset 0 -1px 0 rgba(34, 34, 34, 1); /* Equivalent to #222 */
box-shadow: inset 0 -1px 0 rgba(34, 34, 34, 1); /* Equivalent to #222 */
}

/* Fixes linked images */
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/twentytwelve/inc/block-patterns.php
Expand Up @@ -100,7 +100,7 @@
<p class="has-drop-cap">' . esc_html__( 'Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.', 'twentytwelve' ) . '</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>' . esc_html__( 'The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn&#8217;t listen. She packed her seven versalia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then.', 'twentytwelve' ) . '</p>
<p>' . esc_html__( 'The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn&#8217;t listen. She packed her seven versalia, put her initial into the belt and made herself on the way. When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rhetoric question ran over her cheek, then.', 'twentytwelve' ) . '</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>' . esc_html__( 'It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.', 'twentytwelve' ) . '</p>
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/twentytwenty/assets/js/index.js
Expand Up @@ -331,7 +331,7 @@ twentytwenty.intrinsicRatioVideos = {
} );
}

}; // twentytwenty.instrinsicRatioVideos
}; // twentytwenty.intrinsicRatioVideos

/* -----------------------------------------------------------------------------------------------
Modal Menu
Expand Down
Expand Up @@ -173,7 +173,7 @@
margin-top: calc(0px - var(--button--padding-vertical) + (0.25 * var(--global--spacing-unit)));

#primary-mobile-menu {
// The 4.5px here is to offset the icon size horizontallly
// The 4.5px here is to offset the icon size horizontally
// (the icon's width is larger than the path's width and has extra space on the sides).
padding-left: calc(var(--global--spacing-horizontal) * 0.6 - 4.5px);
padding-right: calc(var(--global--spacing-horizontal) * 0.6 - 4.5px);
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/class-wp-theme-json.php
Expand Up @@ -2893,7 +2893,7 @@ protected static function should_override_preset( $theme_json, $path, $override

/**
* Returns the default slugs for all the presets in an associative array
* whose keys are the preset paths and the leafs is the list of slugs.
* whose keys are the preset paths and the leaves is the list of slugs.
*
* For example:
*
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/embed.php
Expand Up @@ -244,7 +244,7 @@ function wp_embed_handler_youtube( $matches, $attr, $url, $rawattr ) {
$embed = $wp_embed->autoembed( sprintf( 'https://youtube.com/watch?v=%s', urlencode( $matches[2] ) ) );

/**
* Filters the YoutTube embed output.
* Filters the YouTube embed output.
*
* @since 4.0.0
*
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/functions.php
Expand Up @@ -2270,7 +2270,7 @@ function wp_is_writable( $path ) {
* PHP has issues with Windows ACL's for determine if a
* directory is writable or not, this works around them by
* checking the ability to open files rather than relying
* upon PHP to interprate the OS ACL.
* upon PHP to interpret the OS ACL.
*
* @since 2.8.0
*
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/html-api/class-wp-html-tag-processor.php
Expand Up @@ -2071,7 +2071,7 @@ private function after_tag() {
/*
* Purge updates if there are too many. The actual count isn't
* scientific, but a few values from 100 to a few thousand were
* tests to find a practially-useful limit.
* tests to find a practically-useful limit.
*
* If the update queue grows too big, then the Tag Processor
* will spend more time iterating through them and lose the
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/js/admin-bar.js
Expand Up @@ -203,7 +203,7 @@
}

/**
* Toogle hover class for mobile devices.
* Toggle hover class for mobile devices.
*
* @since 5.3.1
*
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/js/customize-loader.js
Expand Up @@ -22,7 +22,7 @@ window.wp = window.wp || {};
});

/**
* Allows the Customizer to be overlayed on any page.
* Allows the Customizer to be overlaid on any page.
*
* By default, any element in the body with the load-customize class will open
* an iframe overlay with the URL specified.
Expand Down
8 changes: 4 additions & 4 deletions wp-includes/js/customize-selective-refresh.js
Expand Up @@ -429,7 +429,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
}

/* jshint ignore:start */
self.orginalDocumentWrite = document.write;
self.originalDocumentWrite = document.write;
document.write = function() {
throw new Error( self.data.l10n.badDocumentWrite );
};
Expand Down Expand Up @@ -473,8 +473,8 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
partial.fallback( error, [ placement ] );
}
/* jshint ignore:start */
document.write = self.orginalDocumentWrite;
self.orginalDocumentWrite = null;
document.write = self.originalDocumentWrite;
self.originalDocumentWrite = null;
/* jshint ignore:end */

partial.createEditShortcutForPlacement( placement );
Expand Down Expand Up @@ -673,7 +673,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
self._pendingPartialRequests = {};

/**
* Timeout ID for the current requesr, or null if no request is current.
* Timeout ID for the current request, or null if no request is current.
*
* @since 4.5.0
* @type {number|null}
Expand Down

0 comments on commit 00d06db

Please sign in to comment.