Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#11690 closed defect (bug) (fixed)

Update esc_js() phpdoc to reflect its actual meaning

Reported by: nacin's profile nacin Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: 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 14 years ago.

Download all attachments as: .zip

Change History (2)

@nacin
14 years ago

#1 @nacin
14 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.