WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
10/23/2019 10:42:00 PM (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48384, comment 18

    initial v1  
    1 Seems this would need a context, to be aware of the post type, draft vs. published, or better to handle both cases with and without GMT date in the db. May also affect some CPTs depending on their settings. Perhaps a wrapper function with some logic along these lines?
     1Seems this would need a context, to be aware of the post type, draft vs. published, or perhaps even better to handle both cases with and without GMT date in the db. May also affect some CPTs depending on their settings. Perhaps a wrapper function with some logic along these lines?
    22
    33Thinking this would be better handled for 5.3.1 with enough time to perhaps explore different approaches.