Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#39541 closed defect (bug) (fixed)

Doc update/fix for deprecated function

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

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

Download all attachments as: .zip

Change History (6)

#1 @stevenkword
10 years ago

  • Keywords needs-patch added

#2 @stevenkword
10 years ago

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

@stevenkword
10 years ago

Updates PHPdoc

#3 @stevenkword
10 years ago

  • Keywords has-patch added; needs-patch removed

#4 @SergeyBiryukov
10 years ago

  • Component GeneralSecurity
  • Milestone Awaiting Review4.8

#5 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

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.