Make WordPress Core

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)

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

Download all attachments as: .zip

Change History (2)

#1 @nacin
17 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.