Make WordPress Core

Ticket #45857: spelling.patch

File spelling.patch, 8.3 KB (added by man4toman, 6 years ago)

Corrections

  • wp-admin/includes/file.php

     
    19161916        }
    19171917
    19181918        $title = sprintf(
    1919                 /* translators: %s: user's e-mail address */
     1919                /* translators: %s: user's email address */
    19201920                __( 'Personal Data Export for %s' ),
    19211921                $email_address
    19221922        );
  • wp-includes/class-json.php

     
    1515 * ideal data-interchange language.
    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
    2020 * 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
     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 *
    2525 * All strings should be in ASCII or UTF-8 format!
  • wp-includes/class-snoopy.php

     
    2727 * License along with this library; if not, write to the Free Software
    2828 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    2929
    30 You may contact the author of Snoopy by e-mail at:
     30You may contact the author of Snoopy by email at:
    3131monte@ohrt.com
    3232
    3333The latest version of Snoopy can be obtained from:
  • wp-includes/class-wp-customize-manager.php

     
    35833583         *  @type string       $capability            Capability required for the setting. Default 'edit_theme_options'
    35843584         *  @type string|array $theme_supports        Theme features required to support the panel. Default is none.
    35853585         *  @type string       $default               Default value for the setting. Default is empty string.
    3586          *  @type string       $transport             Options for rendering the live preview of changes in Theme Customizer.
     3586         *  @type string       $transport             Options for rendering the live preview of changes in Customizer.
    35873587         *                                            Using 'refresh' makes the change visible by reloading the whole preview.
    35883588         *                                            Using 'postMessage' allows a custom JavaScript to handle live changes.
    35893589         *                                            @link https://developer.wordpress.org/themes/customize-api
  • wp-includes/class-wp-customize-setting.php

     
    6666        public $default = '';
    6767
    6868        /**
    69          * Options for rendering the live preview of changes in Theme Customizer.
     69         * Options for rendering the live preview of changes in Customizer.
    7070         *
    71          * Set this value to 'postMessage' to enable a custom Javascript handler to render changes to this setting
     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         *
    7474         * @link https://developer.wordpress.org/themes/customize-api
  • wp-includes/class-wp-site.php

     
    316316                if ( false === $details ) {
    317317
    318318                        switch_to_blog( $this->blog_id );
    319                         // Create a raw copy of the object for backwards compatibility with the filter below.
     319                        // Create a raw copy of the object for backward compatibility with the filter below.
    320320                        $details = new stdClass();
    321321                        foreach ( get_object_vars( $this ) as $key => $value ) {
    322322                                $details->$key = $value;
  • wp-includes/media.php

     
    732732                        $data = array_shift( $candidates );
    733733                /*
    734734                 * When the size requested is smaller than the thumbnail dimensions, we
    735                  * fall back to the thumbnail size to maintain backwards compatibility with
     735                 * fall back to the thumbnail size to maintain backward compatibility with
    736736                 * pre 4.6 versions of WordPress.
    737737                 */
    738738                } elseif ( ! empty( $imagedata['sizes']['thumbnail'] ) && $imagedata['sizes']['thumbnail']['width'] >= $size[0] && $imagedata['sizes']['thumbnail']['width'] >= $size[1] ) {
  • wp-includes/script-loader.php

     
    995995        $scripts->add( 'jquery-table-hotkeys', "/wp-includes/js/jquery/jquery.table-hotkeys$suffix.js", array('jquery', 'jquery-hotkeys'), false, 1 );
    996996        $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 );
    997997
    998         // Not used any more, registered for backwards compatibility.
     998        // Not used any more, registered for backward compatibility.
    999999        $scripts->add( 'suggest', "/wp-includes/js/jquery/suggest$suffix.js", array('jquery'), '1.1-20110113', 1 );
    10001000
    10011001        // Masonry v2 depended on jQuery. v3 does not. The older jquery-masonry handle is a shiv.
  • wp-includes/SimplePie/Enclosure.php

     
    923923        }
    924924
    925925        /**
    926          * Embed the enclosure using Javascript
     926         * Embed the enclosure using JavaScript
    927927         *
    928928         * `$options` is an array or comma-separated key:value string, with the
    929929         * following properties:
  • wp-includes/SimplePie/Registry.php

     
    208208                        switch ($type)
    209209                        {
    210210                                case 'Cache':
    211                                         // For backwards compatibility with old non-static
     211                                        // For backward compatibility with old non-static
    212212                                        // Cache::create() methods
    213213                                        if ($method === 'get_handler')
    214214                                        {
  • wp-includes/theme.php

     
    31273127                 * it is now a persistent changeset, a long-lived draft, and so any
    31283128                 * associated auto-draft posts should likewise transition into having a draft
    31293129                 * status. These drafts will be treated differently than regular drafts in
    3130                  * that they will be tied to the given changeset. The publish metabox is
     3130                 * that they will be tied to the given changeset. The publish meta box is
    31313131                 * replaced with a notice about how the post is part of a set of customized changes
    31323132                 * which will be published when the changeset is published.
    31333133                 */
  • wp-includes/wp-db.php

     
    12621262                 * If a %s placeholder already has quotes around it, removing the existing quotes and re-inserting them
    12631263                 * ensures the quotes are consistent.
    12641264                 *
    1265                  * For backwards compatibility, this is only applied to %s, and not to placeholders like %1$s, which are frequently
     1265                 * For backward compatibility, this is only applied to %s, and not to placeholders like %1$s, which are frequently
    12661266                 * used in the middle of longer strings, or as table name placeholders.
    12671267                 */
    12681268                $query = str_replace( "'%s'", '%s', $query ); // Strip any existing single quotes.