Bring Your Business to Life › Support › Image Store › Bug: "Expires on…" always appears above Price List
- AuthorPosts
- October 31, 2012 at 5:03 pm #50642
Dave
ParticipantAfter 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’ )
to:
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 🙂
October 31, 2012 at 11:39 pm #50677Xpark Media
Keymasterthank you, will look into it.
November 6, 2012 at 9:40 am #50847Dave
ParticipantConfirmed fixed in 3.1.8/9. Thanks again!
- AuthorPosts
- You must be logged in to reply to this topic.