Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#39541 closed defect (bug) (fixed)

Doc update/fix for deprecated function

Reported by: teinertb's profile teinertb Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.8 Priority: normal
Severity: normal Version: 4.7
Component: Security Keywords: has-patch
Focuses: docs Cc:


Along with 4.7 came a new deprecated function that was added to deprecated.php, wp_kses_js_entities. The @deprecated description in the PHPdoc is not in alignment with other deprecated functions. Introduced in 38785

Change * @deprecated deprecated since 4.7 to * @deprecated 4.7.0 Description

Attachments (1)

39541.diff (436 bytes) - added by stevenkword 8 years ago.
Updates PHPdoc

Download all attachments as: .zip

Change History (6)

#1 @stevenkword
8 years ago

  • Keywords needs-patch added

#2 @stevenkword
8 years ago

This change would be useful for 3rd parties attempting to parse the doc to identify newly deprecated methods.

8 years ago

Updates PHPdoc

#3 @stevenkword
8 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
8 years ago

  • Component changed from General to Security
  • Milestone changed from Awaiting Review to 4.8

#5 @SergeyBiryukov
8 years ago

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

In 39758:

Docs: Make @deprecated entry for wp_kses_js_entities(), deprecated in [38785], consistent with other entries.

Props stevenkword, teinertb.
Fixes #39541.

Note: See TracTickets for help on using tickets.