Changeset 9665
- Timestamp:
- 03/31/2015 12:17:33 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r9427 r9665 245 245 grunt.registerTask( 'test', 'Run all unit test tasks.', ['phpunit'] ); 246 246 247 grunt.registerTask( 'jstest', 'Runs all javascript tasks.', [ 'jsvalidate:src', 'jshint' ] );247 grunt.registerTask( 'jstest', 'Runs all JavaScript tasks.', [ 'jsvalidate:src', 'jshint' ] ); 248 248 249 249 // Travis CI Task -
trunk/src/bp-activity/bp-activity-admin.php
r9642 r9665 254 254 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' ); 255 255 256 // Enqueue javascripts256 // Enqueue JavaScript files 257 257 wp_enqueue_script( 'postbox' ); 258 258 wp_enqueue_script( 'dashboard' ); … … 1492 1492 // Rollover actions 1493 1493 1494 // Reply - javascript only; implemented by AJAX.1494 // Reply - JavaScript only; implemented by AJAX. 1495 1495 if ( 'spam' != $item_status ) { 1496 1496 if ( $this->can_comment( $item ) ) { -
trunk/src/bp-activity/bp-activity-filters.php
r9648 r9665 465 465 466 466 /** 467 * Include extra javascript dependencies for activity component.467 * Include extra JavaScript dependencies for activity component. 468 468 * 469 469 * @since BuddyPress (2.0.0) -
trunk/src/bp-activity/bp-activity-template.php
r9569 r9665 2715 2715 2716 2716 /** 2717 * Output the activity comment form no javascript display CSS.2717 * Output the activity comment form no JavaScript display CSS. 2718 2718 * 2719 2719 * @since BuddyPress (1.2.0) … … 2726 2726 2727 2727 /** 2728 * Return the activity comment form no javascript display CSS.2728 * Return the activity comment form no JavaScript display CSS. 2729 2729 * 2730 2730 * @since BuddyPress (1.2.0) … … 2732 2732 * @global object $activities_template {@link BP_Activity_Template} 2733 2733 * 2734 * @return string|bool The activity comment form no javascript2735 * display CSS. False on failure 2734 * @return string|bool The activity comment form no JavaScript 2735 * display CSS. False on failure. 2736 2736 */ 2737 2737 function bp_get_activity_comment_form_nojs_display() { -
trunk/src/bp-core/admin/bp-core-admin-functions.php
r9545 r9665 808 808 * field is useless and can cause confusion. 809 809 * 810 * Note: These restrictions are only enforced if javascript is enabled.810 * Note: These restrictions are only enforced if JavaScript is enabled. 811 811 * 812 812 * @since BuddyPress (1.9.0) -
trunk/src/bp-core/bp-core-cssjs.php
r9638 r9665 282 282 283 283 /** 284 * Get the javascript dependencies for buddypress.js.284 * Get the JavaScript dependencies for buddypress.js. 285 285 * 286 286 * @since BuddyPress (2.0.0) … … 288 288 * @uses apply_filters() to allow other component to load extra dependencies 289 289 * 290 * @return array The javascript dependencies.290 * @return array The JavaScript dependencies. 291 291 */ 292 292 function bp_core_get_js_dependencies() { -
trunk/src/bp-core/bp-core-functions.php
r9622 r9665 1829 1829 1830 1830 /** 1831 * A javascript-free implementation of the search functions in BuddyPress.1831 * A JavaScript-free implementation of the search functions in BuddyPress. 1832 1832 * 1833 1833 * @param string $slug The slug to redirect to for searching. -
trunk/src/bp-core/deprecated/1.5.php
r9428 r9665 562 562 if ( !function_exists( 'bp_dtheme_add_blog_comments_js' ) ) : 563 563 /** 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. 566 566 * 567 567 * @deprecated BuddyPress (1.5) -
trunk/src/bp-groups/bp-groups-admin.php
r9590 r9665 140 140 do_action( 'bp_groups_admin_meta_boxes' ); 141 141 142 // Enqueue javascripts142 // Enqueue JavaScript files 143 143 wp_enqueue_script( 'postbox' ); 144 144 wp_enqueue_script( 'dashboard' ); … … 821 821 // Pull up a list of group members, so we can separate out the types 822 822 // We'll also keep track of group members here to place them into a 823 // javascript variable, which will help with group member autocomplete823 // JavaScript variable, which will help with group member autocomplete 824 824 $members = array( 825 825 'admin' => array(), … … 851 851 } 852 852 853 // Echo out the javascript variable853 // Echo out the JavaScript variable 854 854 echo '<script type="text/javascript">var group_id = "' . esc_js( $item->id ) . '";</script>'; 855 855 -
trunk/src/bp-members/bp-members-admin.php
r9518 r9665 580 580 581 581 /** 582 * Fires after all of the members JavaScript and CSS isenqueued.582 * Fires after all of the members JavaScript and CSS are enqueued. 583 583 * 584 584 * @since BuddyPress (2.0.0) … … 788 788 do_action( 'bp_members_admin_user_metaboxes', $this->is_self_profile, $user_id ); 789 789 790 // Enqueue javascripts790 // Enqueue JavaScript files 791 791 wp_enqueue_script( 'postbox' ); 792 792 wp_enqueue_script( 'dashboard' ); -
trunk/src/bp-members/bp-members-template.php
r9563 r9665 334 334 * Defaults to an empty array to make sure paginate_links() 335 335 * 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. 337 337 */ 338 338 $add_args = array(); -
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r9630 r9665 1564 1564 1565 1565 // Note that the final line break acts as a delimiter for the 1566 // autocomplete javascript and thus should not be removed1566 // autocomplete JavaScript and thus should not be removed 1567 1567 printf( '<span id="%s" href="#"></span><img src="%s" style="width: 15px"> %s (%s)' . "\n", 1568 1568 esc_attr( 'link-' . $user->ID ),
Note: See TracChangeset
for help on using the changeset viewer.