Support » Plugin: Display During Conditional Shortcode » New release 1.2 – fixes timezone not getting reset issue

  • Plugin Author Gabriel Serafini

    (@gserafini)


    Hi all,

    We just released a new version of this plugin (1.2) that fixes a longstanding bug that I just became aware of. Basically it was setting a default timezone based on the WordPress settings, but then not setting it back to whatever the system default was, which led to some potentially incorrect timezone calculations for code that executed later on the page.

    Also, regarding nested shortcodes, yes, you should be able to put another shortcode into the main content section of the plugin, but not into the optional message=”” bit where you can specify something to display if outside of the time specified.

    For the people asking about usage, the end_day_time parameter is required and specifies the ending day and time to display content.

    Gabriel

  • The topic ‘New release 1.2 – fixes timezone not getting reset issue’ is closed to new replies.