Changeset 394 for trunk/bp-core/bp-core-cssjs.php
- Timestamp:
- 10/23/2008 12:56:37 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-cssjs.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r392 r394 25 25 */ 26 26 function bp_core_add_ajax_js() { 27 echo '<script type="text/javascript">var ajaxurl = "' . site_url() . '/wp-content/mu-plugins/bp-core/bp-core-ajax-handler.php";</script>'; 27 echo 28 '<script type="text/javascript">var ajaxurl = "' . site_url() . '/wp-content/mu-plugins/bp-core/bp-core-ajax-handler.php";</script> 29 '; 28 30 } 29 31 add_action( 'wp_head', 'bp_core_add_ajax_js' ); … … 38 40 */ 39 41 function bp_core_add_css() { 40 if ( is_user_logged_in() && bp_core_user_has_home()) {42 if ( is_user_logged_in() ) { 41 43 wp_enqueue_style( 'bp-admin-bar', site_url() . '/wp-content/mu-plugins/bp-core/css/admin-bar.css' ); 42 wp_print_styles();43 44 } 45 wp_print_styles(); 44 46 } 45 47 add_action( 'wp_head', 'bp_core_add_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)