summaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/base.php2
-rw-r--r--lib/plugins/plugin/admin.php2
-rw-r--r--lib/plugins/syntax.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugins/base.php b/lib/plugins/base.php
index f53c75444..a895166e6 100644
--- a/lib/plugins/base.php
+++ b/lib/plugins/base.php
@@ -69,7 +69,7 @@ class DokuWiki_Plugin {
* @return string parsed contents of the wiki page in xhtml format
*/
function locale_xhtml($id) {
- return p_cached_xhtml($this->localFN($id));
+ return p_cached_output($this->localFN($id));
}
/**
diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php
index 2c47de665..03efae3bf 100644
--- a/lib/plugins/plugin/admin.php
+++ b/lib/plugins/plugin/admin.php
@@ -275,7 +275,7 @@ class ap_manage {
global $lang;
// check the url
- $matches = array();
+ $matches = array();
if (!preg_match("/[^\/]*$/", $url, $matches) || !$matches[0]) {
$this->manager->error = $this->lang['error_badurl']."\n";
return false;
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php
index 256bf7519..2a4d1e0ff 100644
--- a/lib/plugins/syntax.php
+++ b/lib/plugins/syntax.php
@@ -174,7 +174,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode {
* @return string parsed contents of the wiki page in xhtml format
*/
function locale_xhtml($id) {
- return p_cached_xhtml($this->localFN($id));
+ return p_cached_output($this->localFN($id));
}
/**