Changeset 7756 for trunk/bp-xprofile/bp-xprofile-cssjs.php
- Timestamp:
- 01/24/2014 11:48:48 PM (12 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
r6342 r7756 19 19 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) { 20 20 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 21 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL. "bp-xprofile/admin/css/admin{$min}.css", array(), bp_get_version() );21 wp_enqueue_style( 'xprofile-admin-css', buddypress()->plugin_url . "bp-xprofile/admin/css/admin{$min}.css", array(), bp_get_version() ); 22 22 } 23 23 } … … 39 39 40 40 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; 41 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL. "bp-xprofile/admin/js/admin{$min}.js", array( 'jquery', 'jquery-ui-sortable' ), bp_get_version() );41 wp_enqueue_script( 'xprofile-admin-js', buddypress()->plugin_url . "bp-xprofile/admin/js/admin{$min}.js", array( 'jquery', 'jquery-ui-sortable' ), bp_get_version() ); 42 42 } 43 43 }
Note: See TracChangeset
for help on using the changeset viewer.