Skip to content

Commit

Permalink
require CF v1.8.1, bump version, and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mecachisenros committed Mar 6, 2019
1 parent 2fe9c88 commit 9261a0a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
6 changes: 3 additions & 3 deletions caldera-forms-civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @since 0.1
*/
define( 'CF_CIVICRM_INTEGRATION_VER', '1.0.1' );
define( 'CF_CIVICRM_INTEGRATION_VER', '1.0.2' );
define( 'CF_CIVICRM_INTEGRATION_URL', plugin_dir_url( __FILE__ ) );
define( 'CF_CIVICRM_INTEGRATION_PATH', plugin_dir_path( __FILE__ ) );

Expand Down Expand Up @@ -192,7 +192,7 @@ public static function instance() {
private function check_dependencies() {

// Bail if Caldera Forms is not available
if ( ! defined( 'CFCORE_VER' ) || ! version_compare( CFCORE_VER, '1.7.3', '>=' ) ) {
if ( ! defined( 'CFCORE_VER' ) || ! version_compare( CFCORE_VER, '1.8.1', '>=' ) ) {
add_action( 'admin_notices', [$this, 'caldera_forms_version_notice'] );
return false;
}
Expand Down Expand Up @@ -297,7 +297,7 @@ private function register_hooks() {
public function caldera_forms_version_notice() {
?>
<div class="notice notice-error">
<p><?php _e( 'Caldera Forms CiviCRM requires Caldera Forms v1.7 or higher.', 'caldera-forms-civicrm' ); ?></p>
<p><?php _e( 'Caldera Forms CiviCRM requires Caldera Forms v1.8.1 or higher.', 'caldera-forms-civicrm' ); ?></p>
</div>
<?php
}
Expand Down
17 changes: 15 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: mecachisenros, needle
Tags: civicrm, caldera, forms, integration
Requires at least: 4.5
Tested up to: 4.9.8
Stable tag: 1.0.1
Tested up to: 5.1
Stable tag: 1.0.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -34,6 +34,19 @@ This plugin is in active development. For feature requests and bug reports (or i

== Changelog ==

= 1.0.2 =
* Added Participant processor for free and paid events
* Price sets improvements
* Tax support
* CiviDiscount integration for Participant registration and option based discounts (if extension is enabled)
* Discount field for CiviDiscount integration (if extension is enabled)
* Added support for Premium and a Premium field
* Autopopulate options are now available to use a field or processor conditionals
* Line Item processor now supports multiple choices options (ie checkbox type price field)
* Support free entry amounts (ie Civi's Other Amount) for Memberships and Participants
* Other minor improvements


= 0.4.4 =
* Bug fixes
* Added option to submit empty/blank values for Address entity
Expand Down

0 comments on commit 9261a0a

Please sign in to comment.