• Resolved fourjay

    (@fourjay)


    Hello, I noticed that you are using the native PHP function time() to get the current time. However, using time() may cause timezone issues, such as UTC+8 and others, which could lead to the “coming_soon” appearing prematurely.

    I suggest replacing time() with current_time('timestamp'). current_time is a WordPress function that retrieves the current time based on the timezone settings configured in WordPress. This should help resolve any timezone-related problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Thank you so much, I have just released another version with this improvement. Can you please try the latest version and confirm?

    Thread Starter fourjay

    (@fourjay)

    Thank you, this version has resolved the issue with the time zone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Resolving Timezone Issues’ is closed to new replies.