Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48384, comment 15


Ignore:
Timestamp:
10/23/2019 07:58:34 AM (5 years ago)
Author:
Rarst
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48384, comment 15

    initial v1  
    442. `column_date()` logic behaving differently because `get_post_time()` failure mode changed in new code from internal implementation changes
    55
    6 Looking at 5.2 `get_post_time()` actually returns ''gibberish negative number value'' for drafts (probably a negative timestamp for "year zero" time or something like that). So anything producing meaningful result there is pretty much implementation accident, the logic is long broken.
     6Looking at 5.2 `get_post_time()` actually returns ''gibberish negative number value'' for `$gmt` timestamp of drafts (probably a negative timestamp for "year zero" time or something like that). So anything producing meaningful result there is pretty much implementation accident, the logic is long broken.
    77
    88So I suggest: