Make WordPress Core

Changeset 30695


Ignore:
Timestamp:
12/02/2014 12:30:59 AM (10 years ago)
Author:
DrewAPicture
Message:

Correctly capitalize JavaScript throughout core docs.

Fixes #30569.

Location:
trunk/src
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/nav-menus.css

    r30500 r30695  
    528528}
    529529
    530 /* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */
     530/* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */
    531531.menu-item-depth-0 { margin-left: 0px; }
    532532.menu-item-depth-1 { margin-left: 30px; }
  • trunk/src/wp-admin/custom-header.php

    r30657 r30695  
    363363
    364364    /**
    365      * Execute Javascript depending on step.
     365     * Execute JavaScript depending on step.
    366366     *
    367367     * @since 2.1.0
     
    376376
    377377    /**
    378      * Display Javascript based on Step 1 and 3.
     378     * Display JavaScript based on Step 1 and 3.
    379379     *
    380380     * @since 2.6.0
     
    440440
    441441    /**
    442      * Display Javascript based on Step 2.
     442     * Display JavaScript based on Step 2.
    443443     *
    444444     * @since 2.6.0
  • trunk/src/wp-admin/customize.php

    r30356 r30695  
    233233    ), wp_login_url() );
    234234
    235     // Prepare Customizer settings to pass to Javascript.
     235    // Prepare Customizer settings to pass to JavaScript.
    236236    $settings = array(
    237237        'theme'    => array(
     
    266266    );
    267267
    268     // Prepare Customize Setting objects to pass to Javascript.
     268    // Prepare Customize Setting objects to pass to JavaScript.
    269269    foreach ( $wp_customize->settings() as $id => $setting ) {
    270270        $settings['settings'][ $id ] = array(
  • trunk/src/wp-admin/includes/deprecated.php

    r30202 r30695  
    209209
    210210/**
    211  * Adds Javascript required to make CodePress work on the theme/plugin editors.
     211 * Adds JavaScript required to make CodePress work on the theme/plugin editors.
    212212 *
    213213 * @since 2.8.0
  • trunk/src/wp-admin/includes/revision.php

    r30648 r30695  
    283283
    284284/**
    285  * Print Javascript templates required for the revisions experience.
     285 * Print JavaScript templates required for the revisions experience.
    286286 *
    287287 * @since 4.1.0
  • trunk/src/wp-admin/includes/template.php

    r30680 r30695  
    16091609    /*
    16101610     * We're going to hide any footer output on iFrame pages,
    1611      * but run the hooks anyway since they output Javascript
     1611     * but run the hooks anyway since they output JavaScript
    16121612     * or other needed content.
    16131613     */
     
    19501950
    19511951    /**
    1952      * Print the pointer javascript data.
     1952     * Print the pointer JavaScript data.
    19531953     *
    19541954     * @since 3.3.0
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r30676 r30695  
    420420
    421421    /**
    422      * Print javascript settings.
     422     * Print JavaScript settings.
    423423     *
    424424     * @since 3.4.0
     
    493493
    494494    /**
    495      * Print javascript settings for preview frame.
     495     * Print JavaScript settings for preview frame.
    496496     *
    497497     * @since 3.4.0
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r30676 r30695  
    10421042    public function export_preview_data() {
    10431043
    1044         // Prepare Customizer settings to pass to Javascript.
     1044        // Prepare Customizer settings to pass to JavaScript.
    10451045        $settings = array(
    10461046            'renderedSidebars'   => array_fill_keys( array_unique( $this->rendered_sidebars ), true ),
  • trunk/src/wp-includes/class-wp-editor.php

    r30681 r30695  
    760760     *
    761761     * @param string $mce_locale The locale used for the editor.
    762      * @param bool $json_only optional Whether to include the Javascript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone().
     762     * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone().
    763763     * @return string Translation object, JSON encoded.
    764764     */
  • trunk/src/wp-includes/comment-template.php

    r30681 r30695  
    16111611 * Display text based on comment reply status.
    16121612 *
    1613  * Only affects users with Javascript disabled.
     1613 * Only affects users with JavaScript disabled.
    16141614 *
    16151615 * @since 2.7.0
  • trunk/src/wp-includes/deprecated.php

    r30681 r30695  
    25022502
    25032503/**
    2504  * Fixes javascript bugs in browsers.
     2504 * Fixes JavaScript bugs in browsers.
    25052505 *
    25062506 * Converts unicode characters to HTML numbered entities.
     
    25162516function funky_javascript_fix($text) {
    25172517    _deprecated_function( __FUNCTION__, '3.0' );
    2518     // Fixes for browsers' javascript bugs
     2518    // Fixes for browsers' JavaScript bugs.
    25192519    global $is_macIE, $is_winIE;
    25202520
  • trunk/src/wp-includes/js/shortcode.js

    r28223 r30695  
    1 // Utility functions for parsing and handling shortcodes in Javascript.
     1// Utility functions for parsing and handling shortcodes in JavaScript.
    22
    33// Ensure the global `wp` object exists.
  • trunk/src/wp-includes/post-template.php

    r30671 r30695  
    291291    }
    292292
    293     if ( $preview ) // preview fix for javascript bug with foreign languages
     293    if ( $preview ) // Preview fix for JavaScript bug with foreign languages.
    294294        $output =   preg_replace_callback( '/\%u([0-9A-F]{4})/', '_convert_urlencoded_to_entities', $output );
    295295
     
    298298
    299299/**
    300  * Preview fix for javascript bug with foreign languages
     300 * Preview fix for JavaScript bug with foreign languages.
    301301 *
    302302 * @since 3.1.0
Note: See TracChangeset for help on using the changeset viewer.