diff --git a/wp-includes/cache.php b/wp-includes/cache.php index b9457a7eee..b974756914 100644 --- a/wp-includes/cache.php +++ b/wp-includes/cache.php @@ -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 * 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 - * 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. * * @since 2.6.0 diff --git a/wp-includes/class-pop3.php b/wp-includes/class-pop3.php index ffbc377daf..7416dd7001 100644 --- a/wp-includes/class-pop3.php +++ b/wp-includes/class-pop3.php @@ -430,7 +430,7 @@ class POP3 { if(!$this->is_ok($reply)) { // 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. $this->ERROR = "POP3 reset: " . _("Error ") . "[$reply]"; diff --git a/wp-includes/class-walker-page.php b/wp-includes/class-walker-page.php index d2ad1694c7..3fcaa67a86 100644 --- a/wp-includes/class-walker-page.php +++ b/wp-includes/class-walker-page.php @@ -49,7 +49,7 @@ class Walker_Page extends Walker { * * @param string $output Passed by reference. Used to append additional content. * @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. */ public function start_lvl( &$output, $depth = 0, $args = array() ) { diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index 25b8ee6613..b576c97ee5 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -457,7 +457,7 @@ class WP_Customize_Control { /** * 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`. * Additional input types such as `email`, `url`, `number`, `hidden` and `date` are supported implicitly. diff --git a/wp-includes/class-wp-widget.php b/wp-includes/class-wp-widget.php index de9db07cc9..b69b219cd9 100644 --- a/wp-includes/class-wp-widget.php +++ b/wp-includes/class-wp-widget.php @@ -10,7 +10,7 @@ /** * 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. * @@ -104,7 +104,7 @@ class WP_Widget { public $updated = false; // - // Member functions that must be overriden by subclasses. + // Member functions that must be overridden by subclasses. // /** diff --git a/wp-includes/css/editor-rtl.css b/wp-includes/css/editor-rtl.css index bf929a5dd5..204e972f36 100644 --- a/wp-includes/css/editor-rtl.css +++ b/wp-includes/css/editor-rtl.css @@ -1322,7 +1322,7 @@ i.mce-i-wp_code:before { @media screen and ( min-width: 782px ) { .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; height: 26px; line-height: 24px; diff --git a/wp-includes/css/editor.css b/wp-includes/css/editor.css index e23a7ec51b..b2a6eedcfb 100644 --- a/wp-includes/css/editor.css +++ b/wp-includes/css/editor.css @@ -1322,7 +1322,7 @@ i.mce-i-wp_code:before { @media screen and ( min-width: 782px ) { .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; height: 26px; line-height: 24px; diff --git a/wp-includes/customize/class-wp-customize-themes-panel.php b/wp-includes/customize/class-wp-customize-themes-panel.php index cc2c5069a6..4d83e3078b 100644 --- a/wp-includes/customize/class-wp-customize-themes-panel.php +++ b/wp-includes/customize/class-wp-customize-themes-panel.php @@ -72,11 +72,11 @@ class WP_Customize_Themes_Panel extends WP_Customize_Panel { ?>
  • 0' ); ?> diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index a495af3619..f35ea0ce99 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -3763,7 +3763,7 @@ function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { * Retrieve path of paged template in current or parent template. * * @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. */ diff --git a/wp-includes/js/customize-base.js b/wp-includes/js/customize-base.js index a8fa41d0de..a1528de4ff 100644 --- a/wp-includes/js/customize-base.js +++ b/wp-includes/js/customize-base.js @@ -165,7 +165,7 @@ window.wp = window.wp || {}; /** * Observable values that support two-way binding. * - * @constuctor + * @constructor */ api.Value = api.Class.extend({ /** @@ -304,7 +304,7 @@ window.wp = window.wp || {}; /** * A collection of observable values. * - * @constuctor + * @constructor * @augments wp.customize.Class * @mixes wp.customize.Events */ @@ -520,7 +520,7 @@ window.wp = window.wp || {}; * * Handles inputs, selects, and textareas by default. * - * @constuctor + * @constructor * @augments wp.customize.Value * @augments wp.customize.Class */ @@ -617,7 +617,7 @@ window.wp = window.wp || {}; /** * A communicator for sending data from one window to another over postMessage. * - * @constuctor + * @constructor * @augments wp.customize.Class * @mixes wp.customize.Events */ diff --git a/wp-includes/js/heartbeat.js b/wp-includes/js/heartbeat.js index 9867ceb1d6..6c5e8d151b 100644 --- a/wp-includes/js/heartbeat.js +++ b/wp-includes/js/heartbeat.js @@ -131,7 +131,7 @@ // 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 // 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 ) { options.minimalInterval = parseInt( options.minimalInterval, 10 ); settings.minimalInterval = options.minimalInterval > 0 && options.minimalInterval <= 600 ? options.minimalInterval * 1000 : 0; diff --git a/wp-includes/js/mce-view.js b/wp-includes/js/mce-view.js index 048387d3dd..a2dca4272b 100644 --- a/wp-includes/js/mce-view.js +++ b/wp-includes/js/mce-view.js @@ -294,7 +294,7 @@ initialize: function() {}, /** - * Retuns the content to render in the view node. + * Returns the content to render in the view node. * * @return {*} */ diff --git a/wp-includes/js/media-models.js b/wp-includes/js/media-models.js index 5cc7597872..f5683a939e 100644 --- a/wp-includes/js/media-models.js +++ b/wp-includes/js/media-models.js @@ -696,7 +696,7 @@ var Attachments = Backbone.Collection.extend({ 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, * and forwards to its `more` method. This collection class doesn't have diff --git a/wp-includes/js/utils.js b/wp-includes/js/utils.js index 60c2746203..d8fa7d8d22 100644 --- a/wp-includes/js/utils.js +++ b/wp-includes/js/utils.js @@ -110,7 +110,7 @@ var wpCookies = { if ( typeof( expires ) === 'object' && expires.toGMTString ) { expires = expires.toGMTString(); } 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(); } else { expires = ''; diff --git a/wp-includes/js/wp-api.js b/wp-includes/js/wp-api.js index 3961a5343a..d45219af72 100644 --- a/wp-includes/js/wp-api.js +++ b/wp-includes/js/wp-api.js @@ -422,7 +422,7 @@ }, /** - * Add a helper funtion to handle post Meta. + * Add a helper function to handle post Meta. */ MetaMixin = { getMeta: function() { @@ -431,7 +431,7 @@ }, /** - * Add a helper funtion to handle post Revisions. + * Add a helper function to handle post Revisions. */ RevisionsMixin = { getRevisions: function() { @@ -440,7 +440,7 @@ }, /** - * Add a helper funtion to handle post Tags. + * Add a helper function to handle post Tags. */ TagsMixin = { @@ -524,7 +524,7 @@ }, /** - * Add a helper funtion to handle post Categories. + * Add a helper function to handle post Categories. */ CategoriesMixin = { diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index d232426e3d..fcc92fb71c 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -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 ) ) ) { return; } diff --git a/wp-includes/pomo/translations.php b/wp-includes/pomo/translations.php index 66971d9595..6623a9f02a 100644 --- a/wp-includes/pomo/translations.php +++ b/wp-includes/pomo/translations.php @@ -102,7 +102,7 @@ class Translations { * Here, in the base Translations class, the common logic for English is implemented: * 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. * * @param integer $count number of items diff --git a/wp-includes/rest-api/class-wp-rest-server.php b/wp-includes/rest-api/class-wp-rest-server.php index 1a43a1ac32..c7026eb955 100644 --- a/wp-includes/rest-api/class-wp-rest-server.php +++ b/wp-includes/rest-api/class-wp-rest-server.php @@ -639,7 +639,7 @@ class WP_REST_Server { * @param string $namespace Namespace. * @param string $route The REST route. * @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. */ public function register_route( $namespace, $route, $route_args, $override = false ) { diff --git a/wp-includes/rss.php b/wp-includes/rss.php index 99c8fe8649..208ca72004 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -741,7 +741,7 @@ class RSSCache { /*=======================================================================*\ Function: set 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 \*=======================================================================*/ function set ($url, $rss) { @@ -755,7 +755,7 @@ class RSSCache { /*=======================================================================*\ Function: get 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 \*=======================================================================*/ function get ($url) { @@ -776,7 +776,7 @@ class RSSCache { Function: check_cache Purpose: check a url for membership in the cache 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 \*=======================================================================*/ function check_cache ( $url ) { @@ -809,7 +809,7 @@ class RSSCache { /*=======================================================================*\ Function: file_name 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 \*=======================================================================*/ function file_name ($url) { diff --git a/wp-includes/version.php b/wp-includes/version.php index dc1d6e6f8b..e92eca2a75 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.