Fix all the head() and admin_head() theme callbacks to return the

results of the $theme->css() and $theme->script() calls.  This handles
the case where combining scripts/css returns HTML instead of putting
it in the queue for combination.  Fixes #1611.
This commit is contained in:
Bharat Mediratta
2011-01-15 13:14:43 -08:00
parent 38b7493287
commit ee13b934f4
7 changed files with 38 additions and 39 deletions

View File

@@ -19,14 +19,12 @@
*/
class comment_theme_Core {
static function head($theme) {
$theme->css("comment.css");
$theme->script("comment.js");
return "";
return $theme->css("comment.css")
. $theme->script("comment.js");
}
static function admin_head($theme) {
$theme->css("comment.css");
return "";
return $theme->css("comment.css");
}
static function photo_bottom($theme) {