Changeset 5574 for trunk/bp-xprofile/bp-xprofile-cssjs.php
- Timestamp:
- 12/19/2011 10:48:35 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-cssjs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-cssjs.php
r5525 r5574 7 7 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) { 8 8 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) 9 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . ' /bp-xprofile/admin/css/admin.dev.css', array(), $version );9 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . 'bp-xprofile/admin/css/admin.dev.css', array(), $version ); 10 10 else 11 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . ' /bp-xprofile/admin/css/admin.css', array(), $version );11 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . 'bp-xprofile/admin/css/admin.css', array(), $version ); 12 12 } 13 13 } … … 25 25 $version = '20111212'; 26 26 if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) 27 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . ' /bp-xprofile/admin/js/admin.dev.js', array( 'jquery', 'jquery-ui-sortable' ), $version );27 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . 'bp-xprofile/admin/js/admin.dev.js', array( 'jquery', 'jquery-ui-sortable' ), $version ); 28 28 else 29 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . ' /bp-xprofile/admin/js/admin.js', array( 'jquery', 'jquery-ui-sortable' ), $version );29 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . 'bp-xprofile/admin/js/admin.js', array( 'jquery', 'jquery-ui-sortable' ), $version ); 30 30 } 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.