Changes between Initial Version and Version 9 of Ticket #36495
- Timestamp:
- 07/06/2016 12:18:25 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36495
-
Property
Status
changed from
new
toassigned
- Property Focuses docs added
-
Property
Summary
changed from
Use 2-digit x.x style for _doing_it_wrong() and _deprecated_function() calls
toStandardize on 3-digit x.x style for _doing_it_wrong() and _deprecated_function() calls
- Property Owner set to metodiew
-
Property
Milestone
changed from
Awaiting Review
toFuture Release
- Property Keywords good-first-bug has-patch needs-refresh added
-
Property
Status
changed from
-
Ticket #36495 – Description
initial v9 1 We generally use 2-digit x.x style for `_doing_it_wrong()` calls, e.g. `'4.5'` instead if `'4.5.0'`. 1 ~~We generally use 2-digit x.x style for `_doing_it_wrong()` calls, e.g. `'4.5'` instead if `'4.5.0'.~~ 2 2 3 I've counted 5 instances of `'4.5.0'` being passed to `_doing_it_wrong()` and `_deprecated_function()`. 3 ~~I've counted 5 instances of `'4.5.0'` being passed to `_doing_it_wrong()` and `_deprecated_function()`.~~ 4 5 We use 3-digit x.x.x style for `@since`, per the [https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/ documentation standards], however for `_doing_it_wrong()` and `_deprecated_*()`, 2-digit x.x style seems to prevail. 6 7 We should standardize on 3-digit x.x.x style throughout core.