Changeset 10613 for trunk/src/bp-xprofile/bp-xprofile-cssjs.php
- Timestamp:
- 02/18/2016 11:10:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-cssjs.php
r10557 r10613 18 18 function xprofile_add_admin_css() { 19 19 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) { 20 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';20 $min = bp_core_get_minified_asset_suffix(); 21 21 22 22 wp_enqueue_style( 'xprofile-admin-css', buddypress()->plugin_url . "bp-xprofile/admin/css/admin{$min}.css", array(), bp_get_version() ); … … 44 44 wp_enqueue_script( 'jquery-ui-sortable' ); 45 45 46 $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';46 $min = bp_core_get_minified_asset_suffix(); 47 47 wp_enqueue_script( 'xprofile-admin-js', buddypress()->plugin_url . "bp-xprofile/admin/js/admin{$min}.js", array( 'jquery', 'jquery-ui-sortable' ), bp_get_version() ); 48 48
Note: See TracChangeset
for help on using the changeset viewer.