Ticket #139 (closed defect: fixed)

Opened 2 months ago

Last modified 4 weeks ago

bloginfo('template_url') produces errors in buddypress-member

Reported by: bercon Owned by:
Priority: major Milestone:
Version: Keywords:
Cc:

Description

When trying to insert stylesheet and JavaScripts? by using bloginfo('template_url') in the header.php file in buddypress-member I get errors.

For the code:
<style media="all" type="text/css">@import "<?php bloginfo('template_url'); ?>/css/all.css";</style>

I get:
<style media="all" type="text/css">@import "<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hembio/public_html/wp-content/themes/buddypress-member/header.php:5) in <b>/home/hembio/public_html/wp-content/mu-plugins/bp-core/bp-core-catchuri.php</b> on line <b>77</b><br />
http://hembio.nu/wp-content/themes/buddypress-member/css/all.css";</style>

The above code works fine in buddypress-home.

Change History

Changed 2 months ago by bercon

The above problem will be fixed if ticket #142 gets resolved - http://trac.buddypress.org/ticket/142.

Changed 4 weeks ago by apeatling

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.