Bug: "Expires on…" always appears above Price List

Viewing 1 post (of 1 total)
  • Author
  • #54404
    Xpark Media

    After upgrading to version 3.1.7, when we display the price list using the shortcodeĀ [image-store list=11], the text “Expires 10/31/2012” appears above the price list.

    However, we have no expiration dates set on galleries, etc… anywhere.

    After a little investigating, this hack resolves the issue:

    Change /image-store/_inc/store.php line 1476 from:

    if ( $this->gal->post_expire != ‘0000-00-00 00:00:00’ )


    if ( isset($this->gal->post_expire) && $this->gal->post_expire != ‘0000-00-00 00:00:00’ )
    Because that value is empty and never evaluates to the date format in the if check here.

    Hope this is helpful and a fix makes it into the plugin šŸ™‚

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.