mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 01:09:19 -04:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user