Changeset 3804
- Timestamp:
- 01/21/2011 06:36:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-xprofile/bp-xprofile-cssjs.php
r3775 r3804 5 5 if ( is_multisite() && function_exists( 'is_network_admin' ) && ! is_network_admin() ) 6 6 return false; 7 8 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . '/bp-xprofile/admin/css/admin.css' ); 7 8 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) 9 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . '/bp-xprofile/admin/css/admin.css' ); 9 10 } 10 11 add_action( 'admin_menu', 'xprofile_add_admin_css' ); … … 16 17 return false; 17 18 18 if ( strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) {19 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) { 19 20 wp_enqueue_script( array( "jquery-ui-sortable" ) ); 20 21 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . '/bp-xprofile/admin/js/admin.js', array( 'jquery' ) );
Note: See TracChangeset
for help on using the changeset viewer.