Changeset 6264 for trunk/bp-core/bp-core-admin.php
- Timestamp:
- 08/24/2012 06:10:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-admin.php
r6159 r6264 404 404 public function enqueue_scripts() { 405 405 406 $maybe_dev = ''; 407 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) 408 $maybe_dev = '.dev'; 409 410 $file = $this->css_url . "common{$maybe_dev}.css"; 406 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 407 408 $file = $this->css_url . "common{$min}.css"; 411 409 $file = apply_filters( 'bp_core_admin_common_css', $file ); 412 410 wp_enqueue_style( 'bp-admin-common-css', $file, array(), bp_get_version() ); … … 416 414 417 415 // Styling 418 $file = $this->css_url . "wizard{$m aybe_dev}.css";416 $file = $this->css_url . "wizard{$min}.css"; 419 417 $file = apply_filters( 'bp_core_admin_wizard_css', $file ); 420 418 wp_enqueue_style( 'bp-admin-wizard-css', $file, array(), bp_get_version() ); 421 419 422 420 // JS 423 $file = $this->js_url . "wizard{$m aybe_dev}.js";421 $file = $this->js_url . "wizard{$min}.js"; 424 422 $file = apply_filters( 'bp_core_admin_wizard_js', $file ); 425 423 wp_enqueue_script( 'bp-admin-wizard-js', $file, array(), bp_get_version() );
Note: See TracChangeset
for help on using the changeset viewer.