WordPress.org

Ready to get started?Download WordPress

Forums

Why insert_blog registered date is not GMT ? (2 posts)

  1. Benjiwp
    Member
    Posted 11 months ago #

    Good Afternoon,

    I'm asking why the 'registered' date in insert_blog() from wp-includes/ms-functions.php is not GMT : current_time('mysql')

    In wpmu_signup_blog() 'registered' is GMT : current_time('mysql', true).
    I think, it's a better thing, isn't it ?

    Cordially,
    Benjamin.

  2. Benjiwp
    Member
    Posted 10 months ago #

    It is ok by default.
    When you create a blog, the default timeezone option is UTC 0, but if you change this to "Europe/Paris" for example, it becomes not GMT (UTC 0).

    So, it would be better with current_time('mysql', true).

Reply

You must log in to post.

About this Topic