When are you going to fix this? [Coupons issue after each update]
Immediately after updating my ClassiPress version, I have to go into the database and change the "cp_version" field in the "wp_options" table to update my version number to the new version..otherwise, I get this error when I click the "Add New" button on the coupons page:
Error: Your ClassiPress database is not updated to match your version of ClassiPress.
Product Version: 3.1.3
(You upgraded to version 3.1.4. Click here to finish your upgrade.
Clicking the link does nothing.
So I go into the database and change it myself.
I have had to do this for the 3.1.1 to 3.1.2, the 3.1.2 to 3.1.3, and now the 3.1.3 to 3.1.4 updates.
For future updates how about adding a query in one of the global files that checks the cp_version field and updates it to the new version number.
$check_version = mysql_query("SELECT * FROM `wp_options` WHERE `option_name`='cp_version'");
$vc = mysql_fetch_array($check_version);
if($vc['option_value'] != $patch_version)
mysql_query("UPDATE `wp_options` SET `cp_version` = '$patch_version'");
That's just a rough draft, I didn't test it for errors and I wouldn't recommend that anyone use it. Just something to get my idea across to the ClassiPress team.