Changeset 8559
- Timestamp:
- 07/05/2014 12:24:20 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 added
- 3 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-cssjs.php
r8453 r8559 32 32 'bp-jquery-query' => 'jquery-query', 33 33 'bp-jquery-cookie' => 'jquery-cookie', 34 'bp-jquery-scroll-to' => 'jquery-scroll-to',35 34 ) ); 36 35 -
trunk/src/bp-loader.php
r8436 r8559 453 453 require( $this->plugin_dir . 'bp-core/deprecated/1.7.php' ); 454 454 require( $this->plugin_dir . 'bp-core/deprecated/2.0.php' ); 455 require( $this->plugin_dir . 'bp-core/deprecated/2.1.php' ); 455 456 } 456 457 } -
trunk/src/bp-messages/bp-messages-cssjs.php
r8479 r8559 20 20 add_action( 'wp_head', 'messages_autocomplete_init_jsblock' ); 21 21 22 $bp = buddypress(); 23 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 24 wp_enqueue_script( 'bp-jquery-autocomplete', $bp->plugin_url . "bp-messages/js/autocomplete/jquery.autocomplete{$min}.js", array( 'jquery' ), bp_get_version() ); 25 wp_enqueue_script( 'bp-jquery-autocomplete-fb', $bp->plugin_url . "bp-messages/js/autocomplete/jquery.autocompletefb{$min}.js", array(), bp_get_version() ); 26 wp_enqueue_script( 'bp-jquery-bgiframe', $bp->plugin_url . "bp-messages/js/autocomplete/jquery.bgiframe{$min}.js", array(), bp_get_version() ); 27 wp_enqueue_script( 'bp-jquery-dimensions', $bp->plugin_url . "bp-messages/js/autocomplete/jquery.dimensions{$min}.js", array(), bp_get_version() ); 22 wp_enqueue_script( 'bp-jquery-autocomplete' ); 23 wp_enqueue_script( 'bp-jquery-autocomplete-fb' ); 24 wp_enqueue_script( 'bp-jquery-bgiframe' ); 25 wp_enqueue_script( 'bp-jquery-dimensions' ); 28 26 } 29 27 } … … 36 34 */ 37 35 function messages_add_autocomplete_css() { 38 39 36 if ( bp_is_messages_component() && bp_is_current_action( 'compose' ) ) { 40 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 41 wp_enqueue_style( 'bp-messages-autocomplete', buddypress()->plugin_url . "bp-messages/css/autocomplete/jquery.autocompletefb{$min}.css", array(), bp_get_version() ); 42 37 wp_enqueue_style( 'bp-messages-autocomplete' ); 43 38 wp_print_styles(); 44 39 }
Note: See TracChangeset
for help on using the changeset viewer.