WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 13 days ago

#48254 closed defect (bug) (fixed)

Consistent file deprecation

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

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

Download all attachments as: .zip

Change History (3)

@jrf
2 weeks ago

Docs: add missing file deprecation @deprecated tags

#1 @SergeyBiryukov
13 days ago

  • Milestone changed from Awaiting Review to 5.3

#2 @SergeyBiryukov
13 days 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.