Opened 3 years ago

Closed 3 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:

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)

11690.diff (778 bytes) - added by nacin 3 years ago.

Download all attachments as: .zip

Change History (2)

nacin3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13076]) Fix inline documentation for esc_js(). Intended for inline JS only, fixes #11690.

Note: See TracTickets for help on using tickets.