Make WordPress Core

Changeset 45232


Ignore:
Timestamp:
04/17/2019 01:26:00 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct spelling in various comments and DocBlocks, per the conventions in Core Contributor Handbook.

Props man4toman, samanehmirrajabi.
Fixes #45857.

Location:
trunk/src
Files:
9 edited

Legend:

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

    r45204 r45232  
    22192219
    22202220    $title = sprintf(
    2221         /* translators: %s: user's e-mail address */
     2221        /* translators: %s: user's email address */
    22222222        __( 'Personal Data Export for %s' ),
    22232223        $email_address
  • trunk/src/wp-includes/class-json.php

    r44894 r45232  
    1616 *
    1717 * This package provides a simple encoder and decoder for JSON notation. It
    18  * is intended for use with client-side Javascript applications that make
     18 * is intended for use with client-side JavaScript applications that make
    1919 * use of HTTPRequest to perform server communication functions - data can
    20  * be encoded into JSON notation for use in a client-side javascript, or
    21  * decoded from incoming Javascript requests. JSON format is native to
    22  * Javascript, and can be directly eval()'ed with no further parsing
     20 * be encoded into JSON notation for use in a client-side javaScript, or
     21 * decoded from incoming JavaScript requests. JSON format is native to
     22 * JavaScript, and can be directly eval()'ed with no further parsing
    2323 * overhead
    2424 *
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r45190 r45232  
    36483648     *  @type string|array $theme_supports        Theme features required to support the panel. Default is none.
    36493649     *  @type string       $default               Default value for the setting. Default is empty string.
    3650      *  @type string       $transport             Options for rendering the live preview of changes in Theme Customizer.
     3650     *  @type string       $transport             Options for rendering the live preview of changes in Customizer.
    36513651     *                                            Using 'refresh' makes the change visible by reloading the whole preview.
    36523652     *                                            Using 'postMessage' allows a custom JavaScript to handle live changes.
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r42761 r45232  
    6767
    6868    /**
    69      * Options for rendering the live preview of changes in Theme Customizer.
    70      *
    71      * Set this value to 'postMessage' to enable a custom Javascript handler to render changes to this setting
     69     * Options for rendering the live preview of changes in Customizer.
     70     *
     71     * Set this value to 'postMessage' to enable a custom JavaScript handler to render changes to this setting
    7272     * as opposed to reloading the whole page.
    7373     *
  • trunk/src/wp-includes/class-wp-site.php

    r42746 r45232  
    316316
    317317            switch_to_blog( $this->blog_id );
    318             // Create a raw copy of the object for backwards compatibility with the filter below.
     318            // Create a raw copy of the object for backward compatibility with the filter below.
    319319            $details = new stdClass();
    320320            foreach ( get_object_vars( $this ) as $key => $value ) {
  • trunk/src/wp-includes/media.php

    r45147 r45232  
    734734            /*
    735735            * When the size requested is smaller than the thumbnail dimensions, we
    736             * fall back to the thumbnail size to maintain backwards compatibility with
     736            * fall back to the thumbnail size to maintain backward compatibility with
    737737            * pre 4.6 versions of WordPress.
    738738            */
  • trunk/src/wp-includes/script-loader.php

    r45178 r45232  
    10841084    $scripts->add( 'jquery-touch-punch', '/wp-includes/js/jquery/jquery.ui.touch-punch.js', array( 'jquery-ui-widget', 'jquery-ui-mouse' ), '0.2.2', 1 );
    10851085
    1086     // Not used any more, registered for backwards compatibility.
     1086    // Not used any more, registered for backward compatibility.
    10871087    $scripts->add( 'suggest', "/wp-includes/js/jquery/suggest$suffix.js", array( 'jquery' ), '1.1-20110113', 1 );
    10881088
  • trunk/src/wp-includes/theme.php

    r45115 r45232  
    32863286         * associated auto-draft posts should likewise transition into having a draft
    32873287         * status. These drafts will be treated differently than regular drafts in
    3288          * that they will be tied to the given changeset. The publish metabox is
     3288         * that they will be tied to the given changeset. The publish meta box is
    32893289         * replaced with a notice about how the post is part of a set of customized changes
    32903290         * which will be published when the changeset is published.
  • trunk/src/wp-includes/wp-db.php

    r45140 r45232  
    13361336         * ensures the quotes are consistent.
    13371337         *
    1338          * For backwards compatibility, this is only applied to %s, and not to placeholders like %1$s, which are frequently
     1338         * For backward compatibility, this is only applied to %s, and not to placeholders like %1$s, which are frequently
    13391339         * used in the middle of longer strings, or as table name placeholders.
    13401340         */
Note: See TracChangeset for help on using the changeset viewer.