Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48254 closed defect (bug) (fixed)

Consistent file deprecation

Reported by: jrf Owned by: SergeyBiryukov
Priority: normal Milestone: 5.3
Component: General Version: 5.3
Severity: minor Keywords: has-patch
Cc: Focuses: docs, coding-standards

Description

While testing a new sniff for WPCS, I ran into an number of inconsistencies in the use of the ​`_deprecated_file()` function.

In particular:

  • Missing @deprecated tags in the file docblock of some deprecated files.
  • Incorrect usage of the _deprecated_file() function related to ticket #42364

The attached patch would fix the documentation inconsistencies.

For the other inconsistencies, I will attach a new patch to ticket #42364.

Related: #41121, #48252

Attachments (1)

48254-docs-add-missing-file-deprecated-tags.patch​ (3.3 KB ) - added by jrf 7 years ago.
Docs: add missing file deprecation @deprecated tags

Download all attachments as: .zip

Change History (3)

@jrf
7 years ago

Docs: add missing file deprecation @deprecated tags

#1 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review → 5.3

#2 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 46439:

Docs: Add missing @deprecated tags in the file docblock of some deprecated files.

Props jrf.
Fixes #48254.

Note: See TracTickets for help on using tickets.