Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Theme hooks should not effect the admin area
We have a cached header file from our main site that we inject in to the Vanilla Forums. This header already has some css and js files included, so we removed the jquery.js file, via the theme hooks file.
This theme file should not be loaded by the admin control panel.
This theme file should not be loaded by the admin control panel.
<?php if (!defined('APPLICATION')) exit();
class MyThemeHooks implements Gdn_IPlugin {
public function Setup() {
return TRUE;
}
public function Base_Render_Before(&$Sender) {
$Sender->RemoveJsFile('jquery.js');
}
}
?>
0