Skip to content

Commit

Permalink
2.2.3
Browse files Browse the repository at this point in the history
* Fix: Campaign list table was pulling the incorrect information in the
projected reach column.
* Fix: WPCRM_System_Create projects had an incorrect key for the project
description field, causing project creation to not set the description
correctly.
  • Loading branch information
ScottDeLuzio committed Jan 4, 2018
1 parent 894ab32 commit 023dcc5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions includes/class-wpcrmsystemcreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public static function projects( $fields = array(), $custom_fields = '', $catego
'_wpcrm_project-attach-to-organization' => self::get_organization( $fields['org'] ),
'_wpcrm_project-attach-to-contact' => self::get_contact( $fields['contact'] ),
'_wpcrm_project-assigned' => self::get_assigned( $fields['assigned'] ),
'_wpcrm_project-additional' => wp_kses_post( wpautop( $fields['additional'] ) )
'_wpcrm_project-description' => wp_kses_post( wpautop( $fields['additional'] ) )
);

$custom_fields = self::get_custom_fields( $type, $custom_fields );
Expand Down Expand Up @@ -435,7 +435,7 @@ public static function get_prefix( $prefix ){
}

public static function get_status( $status ){
$status = sanitize_text_field( $status );
$status = strtolower( sanitize_text_field( $status ) );
$statuses = array(
'not-started' => 'not-started',
'not started' => 'not-started',
Expand All @@ -449,8 +449,8 @@ public static function get_status( $status ){

$statuses = apply_filters( 'wpcrm_system_create_statuses', $statuses );

if( isset( $statuses[strtolower( $status )] ) ){
return $statuses[strtolower( $status )];
if( isset( $statuses[$status] ) ){
return $statuses[$status];
} else {
return 'not-started';
}
Expand Down
2 changes: 1 addition & 1 deletion includes/wcs-meta-columns-campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function wprcm_system_campaign_columns_content( $column, $post_id ) {
case 'reach' :

/* Get the post meta. */
$reach = get_post_meta( $post_id, '_wpcrm_campaign-reach', true );
$reach = get_post_meta( $post_id, '_wpcrm_campaign-projectedreach', true );

/* If no duration is found, output a default message. */
if ( empty( $reach ) )
Expand Down
11 changes: 7 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: scott.deluzio
Tags: WordPress CRM, Free CRM for WordPress, CRM, Free WordPress CRM, CRM for WordPress
Requires at least: 3.3.0
Tested up to: 4.9.2
Stable tag: 2.2.2
Stable tag: 2.2.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -83,6 +83,9 @@ Absolutely. There are inexpensive extensions that allow you to import as little
Your data is only accessible through the WordPress CRM dashboard. None of it will be accessible through the public facing portion of your website. This allows you to provide access to as few or as many people as you need to.

== Changelog ==
= 2.2.3 =
* Fix: Campaign list table was pulling the incorrect information in the projected reach column.
* Fix: WPCRM_System_Create projects had an incorrect key for the project description field, causing project creation to not set the description correctly.
= 2.2.1 & 2.2.2 =
* Fix: Included campaigns to WPCRM_System_Create class.
* Fix: Corrected error in contact category filter on email page.
Expand Down Expand Up @@ -277,6 +280,6 @@ Your data is only accessible through the WordPress CRM dashboard. None of it wil
* Initial Release

== Upgrade Notice ==
= 2.2.2 =
* Fix: Included campaigns to WPCRM_System_Create class.
* Fix: Corrected error in contact category filter on email page.
= 2.2.3 =
* Fix: Campaign list table was pulling the incorrect information in the projected reach column.
* Fix: WPCRM_System_Create projects had an incorrect key for the project description field, causing project creation to not set the description correctly.
4 changes: 2 additions & 2 deletions wp-crm-system.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WP-CRM System
Plugin URI: https://www.wp-crm.com
Description: A complete CRM for WordPress
Version: 2.2.2
Version: 2.2.3
Author: Scott DeLuzio
Author URI: https://www.wp-crm.com
Text Domain: wp-crm-system
Expand Down Expand Up @@ -31,7 +31,7 @@ function wp_crm_plugin_init() {
define( 'WP_CRM_SYSTEM', __FILE__ );
}
if ( ! defined( 'WP_CRM_SYSTEM_VERSION' ) ) {
define( 'WP_CRM_SYSTEM_VERSION', '2.2.2' );
define( 'WP_CRM_SYSTEM_VERSION', '2.2.3' );
}
if( ! defined( 'WP_CRM_SYSTEM_URL' ) ) {
define( 'WP_CRM_SYSTEM_URL', plugins_url( '', __FILE__ ) );
Expand Down

0 comments on commit 023dcc5

Please sign in to comment.