Opened 17 years ago
Closed 17 years ago
#11690 closed defect (bug) (fixed)
Update esc_js() phpdoc to reflect its actual meaning
| Reported by: | nacin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Inline Docs | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Per #7648, esc_js() is designed only for inline JS, not for use in <script> tags.
In that case, its phpdoc should be updated.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [13076]) Fix inline documentation for esc_js(). Intended for inline JS only, fixes #11690.