Changeset 10613 for trunk/src/bp-activity/bp-activity-admin.php
- Timestamp:
- 02/18/2016 11:10:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-admin.php
r10516 r10613 202 202 global $bp_activity_list_table; 203 203 204 $bp = buddypress(); 205 206 // Decide whether to load the dev version of the CSS and JavaScript. 207 $min = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : 'min.'; 208 204 $bp = buddypress(); 209 205 $doaction = bp_admin_list_table_current_bulk_action(); 206 $min = bp_core_get_minified_asset_suffix(); 210 207 211 208 /** … … 309 306 310 307 // Enqueue CSS and JavaScript. 311 wp_enqueue_script( 'bp_activity_admin_js', $bp->plugin_url . "bp-activity/admin/js/admin .{$min}js", array( 'jquery', 'wp-ajax-response' ), bp_get_version(), true );308 wp_enqueue_script( 'bp_activity_admin_js', $bp->plugin_url . "bp-activity/admin/js/admin{$min}.js", array( 'jquery', 'wp-ajax-response' ), bp_get_version(), true ); 312 309 wp_localize_script( 'bp_activity_admin_js', 'bp_activity_admin_vars', array( 313 310 'page' => get_current_screen()->id 314 311 ) ); 315 wp_enqueue_style( 'bp_activity_admin_css', $bp->plugin_url . "bp-activity/admin/css/admin .{$min}css", array(), bp_get_version() );312 wp_enqueue_style( 'bp_activity_admin_css', $bp->plugin_url . "bp-activity/admin/css/admin{$min}.css", array(), bp_get_version() ); 316 313 317 314 wp_style_add_data( 'bp_activity_admin_css', 'rtl', true );
Note: See TracChangeset
for help on using the changeset viewer.