Jeremy D commited on 2012-01-23 20:24:55 Showing 2 changed files, with 10 additions and 3 deletions.
@@ -21,9 +21,6 @@ if (isset($_GET['view']))
else
$pasteBin->action_index();
-if (defined('WPLANG'))
- $specialPage['title'] = $pasteBin->title;
-
/*
* Main PasteBin class
*/
@@ -5,6 +5,16 @@
class pTPL_wp extends pTPL
{
+ /*
+ * Do the header
+ */
+ public function htmlHead($title)
+ {
+ global $specialPage;
+
+ $specialPage['title'] = $title;
+ }
* Lets get things cooking.