[wp-trac] [WordPress Trac] #48254: Consistent file deprecation

WordPress Trac noreply at wordpress.org
Tue Oct 8 11:57:27 UTC 2019


#48254: Consistent file deprecation
------------------------------------+-----------------------------
 Reporter:  jrf                     |      Owner:  (none)
     Type:  defect (bug)            |     Status:  new
 Priority:  normal                  |  Milestone:  Awaiting Review
Component:  General                 |    Version:  trunk
 Severity:  minor                   |   Keywords:  has-patch
  Focuses:  docs, coding-standards  |
------------------------------------+-----------------------------
 While testing a new sniff for WPCS, I ran into an number of
 inconsistencies in the use of the
 [https://developer.wordpress.org/reference/functions/_deprecated_file/
 `_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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48254>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list