#53484 closed defect (bug) (fixed)
unit test for current_datetime()
| Reported by: | pbearne | Owned by: | hellofromTonya |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 |
| Component: | Date/Time | Version: | |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
Description
Change History (7)
This ticket was mentioned in PR #1414 on WordPress/wordpress-develop by pbearne.
5 years ago
#1
#3
@
5 years ago
- Milestone 5.9 → 6.0
- Owner set to
- Status new → accepted
With 5.9 Beta 1 tomorrow, moving this ticket to 6.0 and assigning it to me for review.
SergeyBiryukov commented on PR #1414:
5 years ago
#5
Thanks for the PR! This looks good to me, but I think the test could be placed in a new file, tests/date/currentDatetime.php, for consistency with current_time() and other date/time tests. I can handle that on commit.
SergeyBiryukov commented on PR #1414:
5 years ago
#7
Merged in https://core.trac.wordpress.org/changeset/52611. Thanks again!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Added test for current datetime
Trac ticket: https://core.trac.wordpress.org/ticket/53484#ticket