mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Remove warning about deprecated phutil_render_tag()
Test Plan: Read it. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6568
This commit is contained in:
parent
149efe68ab
commit
69daebc2da
1 changed files with 0 additions and 8 deletions
|
@ -23,7 +23,6 @@ from XSS and render correctly. Broadly:
|
||||||
- @{class:AphrontView} subclasses act like tags when rendering.
|
- @{class:AphrontView} subclasses act like tags when rendering.
|
||||||
- @{function:pht} has some special rules.
|
- @{function:pht} has some special rules.
|
||||||
- There are some other things that you should be aware of.
|
- There are some other things that you should be aware of.
|
||||||
- Do not use @{function:phutil_render_tag}, it is deprecated and unsafe.
|
|
||||||
|
|
||||||
See below for discussion.
|
See below for discussion.
|
||||||
|
|
||||||
|
@ -181,10 +180,3 @@ following examples are dangerous:
|
||||||
|
|
||||||
// We have a lint rule disallowing this.
|
// We have a lint rule disallowing this.
|
||||||
hsprintf($evil);
|
hsprintf($evil);
|
||||||
|
|
||||||
= Deprecated Functions =
|
|
||||||
|
|
||||||
The function @{function@libphutil:phutil_render_tag} is unsafe version of
|
|
||||||
@{function@libphutil:phutil_tag}, is deprecated, and will be removed in the
|
|
||||||
future. You should avoid its use and convert code to use
|
|
||||||
@{function@libphutil:phutil_tag}.
|
|
||||||
|
|
Loading…
Reference in a new issue