Make WordPress Core

Opened 7 years ago

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

Description

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 7 years ago.
Updates PHPdoc

Download all attachments as: .zip

Change History (6)

#1 @stevenkword
7 years ago

  • Keywords needs-patch added

#2 @stevenkword
7 years ago

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

@stevenkword
7 years ago

Updates PHPdoc

#3 @stevenkword
7 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
7 years ago

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

#5 @SergeyBiryukov
7 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.