Docs: Fix multiple trivial typos throughout a variety of core files.

Props ottok.
Fixes #38489.

Built from https://develop.svn.wordpress.org/trunk@39051


git-svn-id: http://core.svn.wordpress.org/trunk@38993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-10-31 06:28:32 +00:00
parent c7691ceb36
commit 5f4497f0af
20 changed files with 31 additions and 31 deletions

View File

@ -254,7 +254,7 @@ function wp_cache_add_non_persistent_groups( $groups ) {
* This function is deprecated. Use wp_cache_switch_to_blog() instead of this * This function is deprecated. Use wp_cache_switch_to_blog() instead of this
* function when preparing the cache for a blog switch. For clearing the cache * function when preparing the cache for a blog switch. For clearing the cache
* during unit tests, consider using wp_cache_init(). wp_cache_init() is not * during unit tests, consider using wp_cache_init(). wp_cache_init() is not
* recommended outside of unit tests as the performance penality for using it is * recommended outside of unit tests as the performance penalty for using it is
* high. * high.
* *
* @since 2.6.0 * @since 2.6.0

View File

@ -430,7 +430,7 @@ class POP3 {
if(!$this->is_ok($reply)) if(!$this->is_ok($reply))
{ {
// The POP3 RSET command -never- gives a -ERR // The POP3 RSET command -never- gives a -ERR
// response - if it ever does, something truely // response - if it ever does, something truly
// wild is going on. // wild is going on.
$this->ERROR = "POP3 reset: " . _("Error ") . "[$reply]"; $this->ERROR = "POP3 reset: " . _("Error ") . "[$reply]";

View File

@ -49,7 +49,7 @@ class Walker_Page extends Walker {
* *
* @param string $output Passed by reference. Used to append additional content. * @param string $output Passed by reference. Used to append additional content.
* @param int $depth Optional. Depth of page. Used for padding. Default 0. * @param int $depth Optional. Depth of page. Used for padding. Default 0.
* @param array $args Optional. Arguments for outputing the next level. * @param array $args Optional. Arguments for outputting the next level.
* Default empty array. * Default empty array.
*/ */
public function start_lvl( &$output, $depth = 0, $args = array() ) { public function start_lvl( &$output, $depth = 0, $args = array() ) {

View File

@ -457,7 +457,7 @@ class WP_Customize_Control {
/** /**
* Render the control's content. * Render the control's content.
* *
* Allows the content to be overriden without having to rewrite the wrapper in `$this::render()`. * Allows the content to be overridden without having to rewrite the wrapper in `$this::render()`.
* *
* Supports basic input types `text`, `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`. * Supports basic input types `text`, `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`.
* Additional input types such as `email`, `url`, `number`, `hidden` and `date` are supported implicitly. * Additional input types such as `email`, `url`, `number`, `hidden` and `date` are supported implicitly.

View File

@ -10,7 +10,7 @@
/** /**
* Core base class extended to register widgets. * Core base class extended to register widgets.
* *
* This class must be extended for each widget, and WP_Widget::widget() must be overriden. * This class must be extended for each widget, and WP_Widget::widget() must be overridden.
* *
* If adding widget options, WP_Widget::update() and WP_Widget::form() should also be overridden. * If adding widget options, WP_Widget::update() and WP_Widget::form() should also be overridden.
* *
@ -104,7 +104,7 @@ class WP_Widget {
public $updated = false; public $updated = false;
// //
// Member functions that must be overriden by subclasses. // Member functions that must be overridden by subclasses.
// //
/** /**

View File

@ -1322,7 +1322,7 @@ i.mce-i-wp_code:before {
@media screen and ( min-width: 782px ) { @media screen and ( min-width: 782px ) {
.wp-core-ui .quicktags-toolbar input.button.button-small { .wp-core-ui .quicktags-toolbar input.button.button-small {
/* .button-small is normaly 11px, but a bit too small for these buttons. */ /* .button-small is normally 11px, but a bit too small for these buttons. */
font-size: 12px; font-size: 12px;
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;

View File

@ -1322,7 +1322,7 @@ i.mce-i-wp_code:before {
@media screen and ( min-width: 782px ) { @media screen and ( min-width: 782px ) {
.wp-core-ui .quicktags-toolbar input.button.button-small { .wp-core-ui .quicktags-toolbar input.button.button-small {
/* .button-small is normaly 11px, but a bit too small for these buttons. */ /* .button-small is normally 11px, but a bit too small for these buttons. */
font-size: 12px; font-size: 12px;
height: 26px; height: 26px;
line-height: 24px; line-height: 24px;

View File

@ -72,11 +72,11 @@ class WP_Customize_Themes_Panel extends WP_Customize_Panel {
?> ?>
<li class="filter-themes-count"> <li class="filter-themes-count">
<span class="themes-displayed"><?php <span class="themes-displayed"><?php
/* translators: %s: number of themes displayed; plural forms cannot be accomodated here so assume plurality or translate as "Themes: %s" */ /* translators: %s: number of themes displayed; plural forms cannot be accommodated here so assume plurality or translate as "Themes: %s" */
echo sprintf( __( 'Displaying %s themes' ), '<span class="theme-count">0</span>' ); echo sprintf( __( 'Displaying %s themes' ), '<span class="theme-count">0</span>' );
?></span> ?></span>
<button type="button" class="button button-primary see-themes"><?php <button type="button" class="button button-primary see-themes"><?php
/* translators: %s: number of themes displayed; plural forms cannot be accomodated here so assume plurality or omit the count and translate as "Show themes" */ /* translators: %s: number of themes displayed; plural forms cannot be accommodated here so assume plurality or omit the count and translate as "Show themes" */
echo sprintf( __( 'Show %s themes' ), '<span class="theme-count">0</span>' ); echo sprintf( __( 'Show %s themes' ), '<span class="theme-count">0</span>' );
?></button> ?></button>
<button type="button" class="button button-primary filter-themes"><?php _e( 'Filter themes' ); ?></button> <button type="button" class="button button-primary filter-themes"><?php _e( 'Filter themes' ); ?></button>

View File

@ -3763,7 +3763,7 @@ function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) {
* Retrieve path of paged template in current or parent template. * Retrieve path of paged template in current or parent template.
* *
* @since 1.5.0 * @since 1.5.0
* @deprecated 4.7.0 The paged.php template is no longer part of the theme template heirarchy. * @deprecated 4.7.0 The paged.php template is no longer part of the theme template hierarchy.
* *
* @return string Full path to paged template file. * @return string Full path to paged template file.
*/ */

View File

@ -165,7 +165,7 @@ window.wp = window.wp || {};
/** /**
* Observable values that support two-way binding. * Observable values that support two-way binding.
* *
* @constuctor * @constructor
*/ */
api.Value = api.Class.extend({ api.Value = api.Class.extend({
/** /**
@ -304,7 +304,7 @@ window.wp = window.wp || {};
/** /**
* A collection of observable values. * A collection of observable values.
* *
* @constuctor * @constructor
* @augments wp.customize.Class * @augments wp.customize.Class
* @mixes wp.customize.Events * @mixes wp.customize.Events
*/ */
@ -520,7 +520,7 @@ window.wp = window.wp || {};
* *
* Handles inputs, selects, and textareas by default. * Handles inputs, selects, and textareas by default.
* *
* @constuctor * @constructor
* @augments wp.customize.Value * @augments wp.customize.Value
* @augments wp.customize.Class * @augments wp.customize.Class
*/ */
@ -617,7 +617,7 @@ window.wp = window.wp || {};
/** /**
* A communicator for sending data from one window to another over postMessage. * A communicator for sending data from one window to another over postMessage.
* *
* @constuctor * @constructor
* @augments wp.customize.Class * @augments wp.customize.Class
* @mixes wp.customize.Events * @mixes wp.customize.Events
*/ */

View File

@ -131,7 +131,7 @@
// Needed for some hosts that cannot handle frequent requests and the user may exceed the allocated server CPU time, etc. // Needed for some hosts that cannot handle frequent requests and the user may exceed the allocated server CPU time, etc.
// The minimal interval can be up to 600 sec. however setting it to longer than 120 sec. will limit or disable // The minimal interval can be up to 600 sec. however setting it to longer than 120 sec. will limit or disable
// some of the functionality (like post locks). // some of the functionality (like post locks).
// Once set at initialization, minimalInterval cannot be changed/overriden. // Once set at initialization, minimalInterval cannot be changed/overridden.
if ( options.minimalInterval ) { if ( options.minimalInterval ) {
options.minimalInterval = parseInt( options.minimalInterval, 10 ); options.minimalInterval = parseInt( options.minimalInterval, 10 );
settings.minimalInterval = options.minimalInterval > 0 && options.minimalInterval <= 600 ? options.minimalInterval * 1000 : 0; settings.minimalInterval = options.minimalInterval > 0 && options.minimalInterval <= 600 ? options.minimalInterval * 1000 : 0;

View File

@ -294,7 +294,7 @@
initialize: function() {}, initialize: function() {},
/** /**
* Retuns the content to render in the view node. * Returns the content to render in the view node.
* *
* @return {*} * @return {*}
*/ */

View File

@ -696,7 +696,7 @@ var Attachments = Backbone.Collection.extend({
delete this.mirroring; delete this.mirroring;
}, },
/** /**
* Retrive more attachments from the server for the collection. * Retrieve more attachments from the server for the collection.
* *
* Only works if the collection is mirroring a Query Attachments collection, * Only works if the collection is mirroring a Query Attachments collection,
* and forwards to its `more` method. This collection class doesn't have * and forwards to its `more` method. This collection class doesn't have

View File

@ -110,7 +110,7 @@ var wpCookies = {
if ( typeof( expires ) === 'object' && expires.toGMTString ) { if ( typeof( expires ) === 'object' && expires.toGMTString ) {
expires = expires.toGMTString(); expires = expires.toGMTString();
} else if ( parseInt( expires, 10 ) ) { } else if ( parseInt( expires, 10 ) ) {
d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // time must be in miliseconds d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // time must be in milliseconds
expires = d.toGMTString(); expires = d.toGMTString();
} else { } else {
expires = ''; expires = '';

View File

@ -422,7 +422,7 @@
}, },
/** /**
* Add a helper funtion to handle post Meta. * Add a helper function to handle post Meta.
*/ */
MetaMixin = { MetaMixin = {
getMeta: function() { getMeta: function() {
@ -431,7 +431,7 @@
}, },
/** /**
* Add a helper funtion to handle post Revisions. * Add a helper function to handle post Revisions.
*/ */
RevisionsMixin = { RevisionsMixin = {
getRevisions: function() { getRevisions: function() {
@ -440,7 +440,7 @@
}, },
/** /**
* Add a helper funtion to handle post Tags. * Add a helper function to handle post Tags.
*/ */
TagsMixin = { TagsMixin = {
@ -524,7 +524,7 @@
}, },
/** /**
* Add a helper funtion to handle post Categories. * Add a helper function to handle post Categories.
*/ */
CategoriesMixin = { CategoriesMixin = {

View File

@ -1747,7 +1747,7 @@ function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' )
} }
} }
// `$deprecated was pre-4.3 `$plaintext_pass`. An empty `$plaintext_pass` didn't sent a user notifcation. // `$deprecated was pre-4.3 `$plaintext_pass`. An empty `$plaintext_pass` didn't sent a user notification.
if ( 'admin' === $notify || ( empty( $deprecated ) && empty( $notify ) ) ) { if ( 'admin' === $notify || ( empty( $deprecated ) && empty( $notify ) ) ) {
return; return;
} }

View File

@ -102,7 +102,7 @@ class Translations {
* Here, in the base Translations class, the common logic for English is implemented: * Here, in the base Translations class, the common logic for English is implemented:
* 0 if there is one element, 1 otherwise * 0 if there is one element, 1 otherwise
* *
* This function should be overrided by the sub-classes. For example MO/PO can derive the logic * This function should be overridden by the sub-classes. For example MO/PO can derive the logic
* from their headers. * from their headers.
* *
* @param integer $count number of items * @param integer $count number of items

View File

@ -639,7 +639,7 @@ class WP_REST_Server {
* @param string $namespace Namespace. * @param string $namespace Namespace.
* @param string $route The REST route. * @param string $route The REST route.
* @param array $route_args Route arguments. * @param array $route_args Route arguments.
* @param bool $override Optional. Whether the route should be overriden if it already exists. * @param bool $override Optional. Whether the route should be overridden if it already exists.
* Default false. * Default false.
*/ */
public function register_route( $namespace, $route, $route_args, $override = false ) { public function register_route( $namespace, $route, $route_args, $override = false ) {

View File

@ -741,7 +741,7 @@ class RSSCache {
/*=======================================================================*\ /*=======================================================================*\
Function: set Function: set
Purpose: add an item to the cache, keyed on url Purpose: add an item to the cache, keyed on url
Input: url from wich the rss file was fetched Input: url from which the rss file was fetched
Output: true on success Output: true on success
\*=======================================================================*/ \*=======================================================================*/
function set ($url, $rss) { function set ($url, $rss) {
@ -755,7 +755,7 @@ class RSSCache {
/*=======================================================================*\ /*=======================================================================*\
Function: get Function: get
Purpose: fetch an item from the cache Purpose: fetch an item from the cache
Input: url from wich the rss file was fetched Input: url from which the rss file was fetched
Output: cached object on HIT, false on MISS Output: cached object on HIT, false on MISS
\*=======================================================================*/ \*=======================================================================*/
function get ($url) { function get ($url) {
@ -776,7 +776,7 @@ class RSSCache {
Function: check_cache Function: check_cache
Purpose: check a url for membership in the cache Purpose: check a url for membership in the cache
and whether the object is older then MAX_AGE (ie. STALE) and whether the object is older then MAX_AGE (ie. STALE)
Input: url from wich the rss file was fetched Input: url from which the rss file was fetched
Output: cached object on HIT, false on MISS Output: cached object on HIT, false on MISS
\*=======================================================================*/ \*=======================================================================*/
function check_cache ( $url ) { function check_cache ( $url ) {
@ -809,7 +809,7 @@ class RSSCache {
/*=======================================================================*\ /*=======================================================================*\
Function: file_name Function: file_name
Purpose: map url to location in cache Purpose: map url to location in cache
Input: url from wich the rss file was fetched Input: url from which the rss file was fetched
Output: a file name Output: a file name
\*=======================================================================*/ \*=======================================================================*/
function file_name ($url) { function file_name ($url) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-beta1-39050'; $wp_version = '4.7-beta1-39051';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.