Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#29296 closed defect (bug) (fixed)

Use current_time() to create first post

Reported by: extendwings's profile extendwings Owned by:
Milestone: 4.2 Priority: normal
Severity: normal Version: 3.8
Component: Upgrade/Install Keywords: has-patch commit
Focuses: Cc:

Description

During installation, first post, "Hello World!", is created with GMT(UTC+0). It should be local timezone.
I think using current_time() is better than date().

Attachments (1)

1.diff (511 bytes) - added by extendwings 10 years ago.

Download all attachments as: .zip

Change History (6)

@extendwings
10 years ago

#1 @tellyworth
10 years ago

  • Version changed from trunk to 3.8

#2 @extendwings
9 years ago

  • Resolution set to invalid
  • Status changed from new to closed

#3 @DrewAPicture
9 years ago

  • Milestone Awaiting Review deleted

#4 @SergeyBiryukov
9 years ago

  • Keywords has-patch commit added
  • Milestone set to 4.2
  • Resolution invalid deleted
  • Status changed from closed to reopened

Seems valid to me.

The patch works as expected, although there's currently a GlotPress bug with '0' (default GMT offset or timezone string) missing from translations.

#5 @SergeyBiryukov
9 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

[31225] missed the ticket.

Note: See TracTickets for help on using tickets.