Skip to:
Content

BuddyPress.org

Changeset 9665


Ignore:
Timestamp:
03/31/2015 12:17:33 PM (11 years ago)
Author:
boonebgorges
Message:

s/javascript/JavaScript.

Props mercime.
Fixes #6249.

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r9427 r9665  
    245245        grunt.registerTask( 'test', 'Run all unit test tasks.', ['phpunit'] );
    246246
    247         grunt.registerTask( 'jstest', 'Runs all javascript tasks.', [ 'jsvalidate:src', 'jshint' ] );
     247        grunt.registerTask( 'jstest', 'Runs all JavaScript tasks.', [ 'jsvalidate:src', 'jshint' ] );
    248248
    249249        // Travis CI Task
  • trunk/src/bp-activity/bp-activity-admin.php

    r9642 r9665  
    254254                add_meta_box( 'bp_activity_userid',  _x( 'Author ID', 'activity admin edit screen', 'buddypress' ), 'bp_activity_admin_edit_metabox_userid', get_current_screen()->id, 'normal', 'core' );
    255255
    256                 // Enqueue javascripts
     256                // Enqueue JavaScript files
    257257                wp_enqueue_script( 'postbox' );
    258258                wp_enqueue_script( 'dashboard' );
     
    14921492                // Rollover actions
    14931493
    1494                 // Reply - javascript only; implemented by AJAX.
     1494                // Reply - JavaScript only; implemented by AJAX.
    14951495                if ( 'spam' != $item_status ) {
    14961496                        if ( $this->can_comment( $item ) ) {
  • trunk/src/bp-activity/bp-activity-filters.php

    r9648 r9665  
    465465
    466466/**
    467  * Include extra javascript dependencies for activity component.
     467 * Include extra JavaScript dependencies for activity component.
    468468 *
    469469 * @since BuddyPress (2.0.0)
  • trunk/src/bp-activity/bp-activity-template.php

    r9569 r9665  
    27152715
    27162716/**
    2717  * Output the activity comment form no javascript display CSS.
     2717 * Output the activity comment form no JavaScript display CSS.
    27182718 *
    27192719 * @since BuddyPress (1.2.0)
     
    27262726
    27272727        /**
    2728          * Return the activity comment form no javascript display CSS.
     2728         * Return the activity comment form no JavaScript display CSS.
    27292729         *
    27302730         * @since BuddyPress (1.2.0)
     
    27322732         * @global object $activities_template {@link BP_Activity_Template}
    27332733         *
    2734          * @return string|bool The activity comment form no javascript
    2735          *         display CSS. False on failure
     2734         * @return string|bool The activity comment form no JavaScript
     2735         *         display CSS. False on failure.
    27362736         */
    27372737        function bp_get_activity_comment_form_nojs_display() {
  • trunk/src/bp-core/admin/bp-core-admin-functions.php

    r9545 r9665  
    808808 *   field is useless and can cause confusion.
    809809 *
    810  * Note: These restrictions are only enforced if javascript is enabled.
     810 * Note: These restrictions are only enforced if JavaScript is enabled.
    811811 *
    812812 * @since BuddyPress (1.9.0)
  • trunk/src/bp-core/bp-core-cssjs.php

    r9638 r9665  
    282282
    283283/**
    284  * Get the javascript dependencies for buddypress.js.
     284 * Get the JavaScript dependencies for buddypress.js.
    285285 *
    286286 * @since BuddyPress (2.0.0)
     
    288288 * @uses apply_filters() to allow other component to load extra dependencies
    289289 *
    290  * @return array The javascript dependencies.
     290 * @return array The JavaScript dependencies.
    291291 */
    292292function bp_core_get_js_dependencies() {
  • trunk/src/bp-core/bp-core-functions.php

    r9622 r9665  
    18291829
    18301830/**
    1831  * A javascript-free implementation of the search functions in BuddyPress.
     1831 * A JavaScript-free implementation of the search functions in BuddyPress.
    18321832 *
    18331833 * @param string $slug The slug to redirect to for searching.
  • trunk/src/bp-core/deprecated/1.5.php

    r9428 r9665  
    562562        if ( !function_exists( 'bp_dtheme_add_blog_comments_js' ) ) :
    563563        /**
    564          * In BuddyPress 1.2.x, this added the javascript needed for blog comment replies.
    565          * As of 1.5.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php.
     564         * In BuddyPress 1.2.x, this added the JavaScript needed for blog comment replies.
     565         * As of 1.5.x, we recommend that you enqueue the comment-reply JavaScript in your theme's header.php.
    566566         *
    567567         * @deprecated BuddyPress (1.5)
  • trunk/src/bp-groups/bp-groups-admin.php

    r9590 r9665  
    140140                do_action( 'bp_groups_admin_meta_boxes' );
    141141
    142                 // Enqueue javascripts
     142                // Enqueue JavaScript files
    143143                wp_enqueue_script( 'postbox' );
    144144                wp_enqueue_script( 'dashboard' );
     
    821821        // Pull up a list of group members, so we can separate out the types
    822822        // We'll also keep track of group members here to place them into a
    823         // javascript variable, which will help with group member autocomplete
     823        // JavaScript variable, which will help with group member autocomplete
    824824        $members = array(
    825825                'admin'  => array(),
     
    851851        }
    852852
    853         // Echo out the javascript variable
     853        // Echo out the JavaScript variable
    854854        echo '<script type="text/javascript">var group_id = "' . esc_js( $item->id ) . '";</script>';
    855855
  • trunk/src/bp-members/bp-members-admin.php

    r9518 r9665  
    580580
    581581                /**
    582                  * Fires after all of the members JavaScript and CSS is enqueued.
     582                 * Fires after all of the members JavaScript and CSS are enqueued.
    583583                 *
    584584                 * @since BuddyPress (2.0.0)
     
    788788                        do_action( 'bp_members_admin_user_metaboxes', $this->is_self_profile, $user_id );
    789789
    790                         // Enqueue javascripts
     790                        // Enqueue JavaScript files
    791791                        wp_enqueue_script( 'postbox'   );
    792792                        wp_enqueue_script( 'dashboard' );
  • trunk/src/bp-members/bp-members-template.php

    r9563 r9665  
    334334                         * Defaults to an empty array to make sure paginate_links()
    335335                         * won't add the $page_arg to the links which would break
    336                          * pagination in case javascript is disabled.
     336                         * pagination in case JavaScript is disabled.
    337337                         */
    338338                        $add_args = array();
  • trunk/src/bp-templates/bp-legacy/buddypress-functions.php

    r9630 r9665  
    15641564
    15651565                        // Note that the final line break acts as a delimiter for the
    1566                         // autocomplete javascript and thus should not be removed
     1566                        // autocomplete JavaScript and thus should not be removed
    15671567                        printf( '<span id="%s" href="#"></span><img src="%s" style="width: 15px"> &nbsp; %s (%s)' . "\n",
    15681568                                esc_attr( 'link-' . $user->ID ),
Note: See TracChangeset for help on using the changeset viewer.