Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
5b17fbaa
Commit
5b17fbaa
authored
8 years ago
by
Andreas Gohr
Browse files
Options
Downloads
Patches
Plain Diff
removed deprecated support for render() in non-syntax plugins #1535
parent
6bf5cd2f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
inc/plugin.php
+0
-23
0 additions, 23 deletions
inc/plugin.php
with
0 additions
and
23 deletions
inc/plugin.php
+
0
−
23
View file @
5b17fbaa
...
...
@@ -276,29 +276,6 @@ class DokuWiki_Plugin {
return
"<a href='
$link
'
$class$target$more
>
$title
</a>"
;
}
/**
* A fallback to provide access to the old render() method
*
* Since syntax plugins provide their own render method with a different signature and they now
* inherit from Doku_Plugin we can no longer have a render() method here (Strict Standards Violation).
* Instead use render_text()
*
* @deprecated 2014-01-22
*
* @param string $name
* @param array $arguments
* @return null|string
*/
public
function
__call
(
$name
,
$arguments
)
{
if
(
$name
==
'render'
){
dbg_deprecated
(
'render_text()'
);
if
(
!
isset
(
$arguments
[
1
]))
$arguments
[
1
]
=
'xhtml'
;
return
$this
->
render_text
(
$arguments
[
0
],
$arguments
[
1
]);
}
trigger_error
(
"no such method
$name
"
,
E_USER_ERROR
);
return
null
;
}
/**
* output text string through the parser, allows dokuwiki markup to be used
* very ineffecient for small pieces of data - try not to use
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment