WordPress.org

Make WordPress Core

Changeset 39051


Ignore:
Timestamp:
10/31/2016 06:27:53 AM (4 years ago)
Author:
DrewAPicture
Message:

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

Props ottok.
Fixes #38489.

Location:
trunk/src/wp-includes
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/cache.php

    r38457 r39051  
    255255 * function when preparing the cache for a blog switch. For clearing the cache
    256256 * during unit tests, consider using wp_cache_init(). wp_cache_init() is not
    257  * recommended outside of unit tests as the performance penality for using it is
     257 * recommended outside of unit tests as the performance penalty for using it is
    258258 * high.
    259259 *
  • trunk/src/wp-includes/class-pop3.php

    r34234 r39051  
    431431        {
    432432            //  The POP3 RSET command -never- gives a -ERR
    433             //  response - if it ever does, something truely
     433            //  response - if it ever does, something truly
    434434            //  wild is going on.
    435435
  • trunk/src/wp-includes/class-walker-page.php

    r38523 r39051  
    5050     * @param string $output Passed by reference. Used to append additional content.
    5151     * @param int    $depth  Optional. Depth of page. Used for padding. Default 0.
    52      * @param array  $args   Optional. Arguments for outputing the next level.
     52     * @param array  $args   Optional. Arguments for outputting the next level.
    5353     *                       Default empty array.
    5454     */
  • trunk/src/wp-includes/class-wp-customize-control.php

    r38948 r39051  
    458458     * Render the control's content.
    459459     *
    460      * Allows the content to be overriden without having to rewrite the wrapper in `$this::render()`.
     460     * Allows the content to be overridden without having to rewrite the wrapper in `$this::render()`.
    461461     *
    462462     * Supports basic input types `text`, `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`.
  • trunk/src/wp-includes/class-wp-widget.php

    r38318 r39051  
    1111 * Core base class extended to register widgets.
    1212 *
    13  * This class must be extended for each widget, and WP_Widget::widget() must be overriden.
     13 * This class must be extended for each widget, and WP_Widget::widget() must be overridden.
    1414 *
    1515 * If adding widget options, WP_Widget::update() and WP_Widget::form() should also be overridden.
     
    105105
    106106    //
    107     // Member functions that must be overriden by subclasses.
     107    // Member functions that must be overridden by subclasses.
    108108    //
    109109
  • trunk/src/wp-includes/css/editor.css

    r38937 r39051  
    13231323@media screen and ( min-width: 782px ) {
    13241324    .wp-core-ui .quicktags-toolbar input.button.button-small {
    1325         /* .button-small is normaly 11px, but a bit too small for these buttons. */
     1325        /* .button-small is normally 11px, but a bit too small for these buttons. */
    13261326        font-size: 12px;
    13271327        height: 26px;
  • trunk/src/wp-includes/customize/class-wp-customize-themes-panel.php

    r38813 r39051  
    7373        <li class="filter-themes-count">
    7474            <span class="themes-displayed"><?php
    75                 /* translators: %s: number of themes displayed; plural forms cannot be accomodated here so assume plurality or translate as "Themes: %s" */
     75                /* translators: %s: number of themes displayed; plural forms cannot be accommodated here so assume plurality or translate as "Themes: %s" */
    7676                echo sprintf( __( 'Displaying %s themes' ), '<span class="theme-count">0</span>' );
    7777            ?></span>
    7878            <button type="button" class="button button-primary see-themes"><?php
    79                 /* translators: %s: number of themes displayed; plural forms cannot be accomodated here so assume plurality or omit the count and translate as "Show themes" */
     79                /* translators: %s: number of themes displayed; plural forms cannot be accommodated here so assume plurality or omit the count and translate as "Show themes" */
    8080                echo sprintf( __( 'Show %s themes' ), '<span class="theme-count">0</span>' );
    8181            ?></button>
  • trunk/src/wp-includes/deprecated.php

    r38928 r39051  
    37643764 *
    37653765 * @since 1.5.0
    3766  * @deprecated 4.7.0 The paged.php template is no longer part of the theme template heirarchy.
     3766 * @deprecated 4.7.0 The paged.php template is no longer part of the theme template hierarchy.
    37673767 *
    37683768 * @return string Full path to paged template file.
  • trunk/src/wp-includes/js/customize-base.js

    r38890 r39051  
    166166     * Observable values that support two-way binding.
    167167     *
    168      * @constuctor
     168     * @constructor
    169169     */
    170170    api.Value = api.Class.extend({
     
    305305     * A collection of observable values.
    306306     *
    307      * @constuctor
     307     * @constructor
    308308     * @augments wp.customize.Class
    309309     * @mixes wp.customize.Events
     
    521521     * Handles inputs, selects, and textareas by default.
    522522     *
    523      * @constuctor
     523     * @constructor
    524524     * @augments wp.customize.Value
    525525     * @augments wp.customize.Class
     
    618618     * A communicator for sending data from one window to another over postMessage.
    619619     *
    620      * @constuctor
     620     * @constructor
    621621     * @augments wp.customize.Class
    622622     * @mixes wp.customize.Events
  • trunk/src/wp-includes/js/heartbeat.js

    r36709 r39051  
    132132                // The minimal interval can be up to 600 sec. however setting it to longer than 120 sec. will limit or disable
    133133                // some of the functionality (like post locks).
    134                 // Once set at initialization, minimalInterval cannot be changed/overriden.
     134                // Once set at initialization, minimalInterval cannot be changed/overridden.
    135135                if ( options.minimalInterval ) {
    136136                    options.minimalInterval = parseInt( options.minimalInterval, 10 );
  • trunk/src/wp-includes/js/mce-view.js

    r38774 r39051  
    295295
    296296        /**
    297          * Retuns the content to render in the view node.
     297         * Returns the content to render in the view node.
    298298         *
    299299         * @return {*}
  • trunk/src/wp-includes/js/media-models.js

    r33337 r39051  
    697697    },
    698698    /**
    699      * Retrive more attachments from the server for the collection.
     699     * Retrieve more attachments from the server for the collection.
    700700     *
    701701     * Only works if the collection is mirroring a Query Attachments collection,
  • trunk/src/wp-includes/js/media/models/attachments.js

    r33337 r39051  
    297297    },
    298298    /**
    299      * Retrive more attachments from the server for the collection.
     299     * Retrieve more attachments from the server for the collection.
    300300     *
    301301     * Only works if the collection is mirroring a Query Attachments collection,
  • trunk/src/wp-includes/js/utils.js

    r33947 r39051  
    111111            expires = expires.toGMTString();
    112112        } else if ( parseInt( expires, 10 ) ) {
    113             d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // time must be in miliseconds
     113            d.setTime( d.getTime() + ( parseInt( expires, 10 ) * 1000 ) ); // time must be in milliseconds
    114114            expires = d.toGMTString();
    115115        } else {
  • trunk/src/wp-includes/js/wp-api.js

    r38879 r39051  
    423423
    424424            /**
    425              * Add a helper funtion to handle post Meta.
     425             * Add a helper function to handle post Meta.
    426426             */
    427427            MetaMixin = {
     
    432432
    433433            /**
    434              * Add a helper funtion to handle post Revisions.
     434             * Add a helper function to handle post Revisions.
    435435             */
    436436            RevisionsMixin = {
     
    441441
    442442            /**
    443              * Add a helper funtion to handle post Tags.
     443             * Add a helper function to handle post Tags.
    444444             */
    445445            TagsMixin = {
     
    525525
    526526            /**
    527              * Add a helper funtion to handle post Categories.
     527             * Add a helper function to handle post Categories.
    528528             */
    529529            CategoriesMixin = {
  • trunk/src/wp-includes/pluggable.php

    r38961 r39051  
    17481748    }
    17491749
    1750     // `$deprecated was pre-4.3 `$plaintext_pass`. An empty `$plaintext_pass` didn't sent a user notifcation.
     1750    // `$deprecated was pre-4.3 `$plaintext_pass`. An empty `$plaintext_pass` didn't sent a user notification.
    17511751    if ( 'admin' === $notify || ( empty( $deprecated ) && empty( $notify ) ) ) {
    17521752        return;
  • trunk/src/wp-includes/pomo/translations.php

    r35714 r39051  
    103103     *  0 if there is one element, 1 otherwise
    104104     *
    105      * This function should be overrided by the sub-classes. For example MO/PO can derive the logic
     105     * This function should be overridden by the sub-classes. For example MO/PO can derive the logic
    106106     * from their headers.
    107107     *
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r39044 r39051  
    640640     * @param string $route      The REST route.
    641641     * @param array  $route_args Route arguments.
    642      * @param bool   $override   Optional. Whether the route should be overriden if it already exists.
     642     * @param bool   $override   Optional. Whether the route should be overridden if it already exists.
    643643     *                           Default false.
    644644     */
  • trunk/src/wp-includes/rss.php

    r38883 r39051  
    742742    Function:   set
    743743    Purpose:    add an item to the cache, keyed on url
    744     Input:      url from wich the rss file was fetched
     744    Input:      url from which the rss file was fetched
    745745    Output:     true on success
    746746\*=======================================================================*/
     
    756756    Function:   get
    757757    Purpose:    fetch an item from the cache
    758     Input:      url from wich the rss file was fetched
     758    Input:      url from which the rss file was fetched
    759759    Output:     cached object on HIT, false on MISS
    760760\*=======================================================================*/
     
    777777    Purpose:    check a url for membership in the cache
    778778                and whether the object is older then MAX_AGE (ie. STALE)
    779     Input:      url from wich the rss file was fetched
     779    Input:      url from which the rss file was fetched
    780780    Output:     cached object on HIT, false on MISS
    781781\*=======================================================================*/
     
    810810    Function:   file_name
    811811    Purpose:    map url to location in cache
    812     Input:      url from wich the rss file was fetched
     812    Input:      url from which the rss file was fetched
    813813    Output:     a file name
    814814\*=======================================================================*/
Note: See TracChangeset for help on using the changeset viewer.