Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#48254 closed defect (bug) (fixed)

Consistent file deprecation

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

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 4 years ago.
Docs: add missing file deprecation @deprecated tags

Download all attachments as: .zip

Change History (3)

@jrf
4 years ago

Docs: add missing file deprecation @deprecated tags

#1 @SergeyBiryukov
4 years ago

  • Milestone changed from Awaiting Review to 5.3

#2 @SergeyBiryukov
4 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to 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.