WordPress.org

Make WordPress Core

#39541 closed defect (bug) (fixed)

Doc update/fix for deprecated function

Reported by: teinertb Owned by: 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 11 months ago.
Updates PHPdoc

Download all attachments as: .zip

Change History (6)

#1 @stevenkword
11 months ago

  • Keywords needs-patch added

#2 @stevenkword
11 months ago

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

@stevenkword
11 months ago

Updates PHPdoc

#3 @stevenkword
11 months ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
11 months ago

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

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