Changeset 805 for trunk/bp-friends/bp-friends-cssjs.php
- Timestamp:
- 12/23/2008 02:53:18 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends/bp-friends-cssjs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-cssjs.php
r561 r805 10 10 11 11 if ( $bp['current_component'] == $bp['friends']['slug'] ) 12 wp_enqueue_script( 'bp-friends-js', site_url( ) . '/wp-content/mu-plugins/bp-friends/js/general.js');12 wp_enqueue_script( 'bp-friends-js', site_url( MUPLUGINDIR . '/bp-friends/js/general.js' ) ); 13 13 } 14 14 add_action( 'template_redirect', 'friends_add_js' ); … … 16 16 function friends_add_structure_css() { 17 17 /* Enqueue the structure CSS file to give basic positional formatting for components */ 18 wp_enqueue_style( 'bp-friends-structure', site_url( ) . '/wp-content/mu-plugins/bp-friends/css/structure.css');18 wp_enqueue_style( 'bp-friends-structure', site_url( MUPLUGINDIR . '/bp-friends/css/structure.css' ) ); 19 19 } 20 20 add_action( 'bp_styles', 'friends_add_structure_css' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)