WordPress.org

Make WordPress Core

Changes between Initial Version and Version 9 of Ticket #36495


Ignore:
Timestamp:
07/06/2016 12:18:25 PM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36495

    • Property Status changed from new to assigned
    • Property Focuses docs added
    • Property Summary changed from Use 2-digit x.x style for _doing_it_wrong() and _deprecated_function() calls to Standardize 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 to Future Release
    • Property Keywords good-first-bug has-patch needs-refresh added
  • 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'.~~
    22
    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
     5We 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
     7We should standardize on 3-digit x.x.x style throughout core.