Plugin Directory

Changeset 3020300


Ignore:
Timestamp:
01/11/2024 11:40:32 AM (2 years ago)
Author:
pwps
Message:

Release version 3.2.9

Location:
wp-crm-system/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp-crm-system/trunk/includes/import-export/class-export.php

    r2761091 r3020300  
    145145                // Make sure the column is valid
    146146                if ( array_key_exists( $col_id, $cols ) ) {
    147                     echo '"' . esc_html( addslashes( $column ) ) . '"';
    148                     echo $i == count( $cols ) ? '' : ',';
    149                     $i++;
     147                    if( is_array( $column ) ) {
     148                        echo '"' . esc_html( addslashes( implode( ',', $column ) ) ) . '"';
     149                        echo $i == count( $cols ) ? '' : ',';
     150                        $i++;
     151                    } else {
     152                        echo '"' . esc_html( addslashes( $column ) ) . '"';
     153                        echo $i == count( $cols ) ? '' : ',';
     154                        $i++;
     155                    }
    150156                }
    151157            }
  • wp-crm-system/trunk/includes/reports/opportunity-reports.php

    r2660689 r3020300  
    281281                if ( '' === $value_output ) {
    282282                    $value_output = 'Not Set';
    283                 } else {
     283                } elseif( is_float( $value_output ) ) {
    284284                    $value_output = wpcrm_system_display_currency_symbol( get_option( 'wpcrm_system_default_currency' ) ) . ' ' . number_format( $value_output, get_option( 'wpcrm_system_report_currency_decimals' ), get_option( 'wpcrm_system_report_currency_decimal_point' ), get_option( 'wpcrm_system_report_currency_thousand_separator' ) );
    285285                }
     
    328328                $opportunity_report .= '</td><td>' . $assignment_output;
    329329
    330                 $terms = get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) );
     330                $terms = isset( $_POST['wp-crm-system-tax-name'] ) ? get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) ) : '';
    331331                if( ! empty( $terms ) ) {
    332332                    $categories = array();
  • wp-crm-system/trunk/includes/reports/project-reports.php

    r2660689 r3020300  
    259259
    260260                $close_output = esc_html( get_post_meta( $wpcpost->ID, $prefix . 'project-closedate', true ) );
    261                 if ( '' !== $close_output ) {
     261                if ( '' !== $close_output && is_int( $close_output ) ) {
    262262                    $close_output = date( esc_html( get_option( 'wpcrm_system_php_date_format' ) ), $close_output );
    263263                } else {
     
    292292                if ( '' === $value_output ) {
    293293                    $value_output = 'Not Set';
    294                 } else {
     294                } elseif( is_float( $value_output ) ) {
    295295                    $value_output = wpcrm_system_display_currency_symbol( get_option( 'wpcrm_system_default_currency' ) ) . ' ' . number_format( $value_output, get_option( 'wpcrm_system_report_currency_decimals' ), get_option( 'wpcrm_system_report_currency_decimal_point' ), get_option( 'wpcrm_system_report_currency_thousand_separator' ) );
    296296                }
     
    327327                $project_report .= '</td><td>' . $assignment_output;
    328328
    329                 $terms = get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) );
     329                $terms = isset( $_POST['wp-crm-system-tax-name'] ) ? get_the_terms( $wpcpost->ID, sanitize_text_field( $_POST['wp-crm-system-tax-name'] ) ) : '';
    330330                if( ! empty( $terms ) ) {
    331331                    $categories = array();
  • wp-crm-system/trunk/readme.txt

    r2957846 r3020300  
    33Tags:  WordPress CRM, Free CRM for WordPress, CRM, Free WordPress CRM, CRM for WordPress, gdpr
    44Requires at least: 3.3.0
    5 Requires PHP: 5.6
    6 Tested up to: 6.3
    7 Stable tag: 3.2.8
     5Requires PHP: 7.4
     6Tested up to: 6.4.2
     7Stable tag: 3.2.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9191
    9292== Changelog ==
    93 = 3.2.8 =
     93= 3.2.9 =
     94* Fix: PHP Fatal and warnings when generating reports
     95* Fix: Bugs on exporting report
     96= 3.2.7.2 =
    9497* New: Option on how you want the system handles the duplicate entries
    9598* Fix: Opportunity to Project conversion bugs
  • wp-crm-system/trunk/wp-crm-system.php

    r2957846 r3020300  
    44Plugin URI: https://www.wp-crm.com
    55Description: A complete CRM for WordPress
    6 Version: 3.2.8
     6Version: 3.2.9
    77Author: Premium WordPress Support
    88Author URI: https://www.wp-crm.com
     
    3535}
    3636if ( ! defined( 'WP_CRM_SYSTEM_VERSION' ) ) {
    37   define( 'WP_CRM_SYSTEM_VERSION', '3.2.7.2' );
     37  define( 'WP_CRM_SYSTEM_VERSION', '3.2.9' );
    3838}
    3939if( ! defined( 'WP_CRM_SYSTEM_URL' ) ) {
Note: See TracChangeset for help on using the changeset viewer.