Changeset 3039704
- Timestamp:
- 02/22/2024 12:41:20 PM (2 years ago)
- Location:
- wp-crm-system/trunk
- Files:
-
- 4 edited
-
includes/wcs-fields.php (modified) (1 diff)
-
includes/wcs-updates.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wp-crm-system.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-crm-system/trunk/includes/wcs-fields.php
r2957846 r3039704 345 345 if ( isset( $_POST['_wpcrm_' . 'contact-first-name'] ) && $_POST['_wpcrm_' . 'contact-first-name'] != '' && isset( $_POST['_wpcrm_' . 'contact-last-name'] ) && $_POST['_wpcrm_' . 'contact-last-name'] != '' ) { 346 346 global $wpdb; 347 $first = $_POST['_wpcrm_' . 'contact-first-name'];348 $last = $_POST['_wpcrm_' . 'contact-last-name'];347 $first = sanitize_text_field( $_POST['_wpcrm_' . 'contact-first-name'] ); 348 $last = sanitize_text_field( $_POST['_wpcrm_' . 'contact-last-name'] ); 349 349 $title = $first . ' ' . $last; 350 350 $where = array( 'ID' => $post_id ); -
wp-crm-system/trunk/includes/wcs-updates.php
r2082833 r3039704 50 50 if ( empty($first) && empty($last) && '' != $title ){ 51 51 global $wpdb; 52 $wpdb->insert( $wpdb->postmeta, array('post_id' => $contact_id, 'meta_key' => '_wpcrm_contact-first-name', 'meta_value' => $title) );52 $wpdb->insert( $wpdb->postmeta, array('post_id' => $contact_id, 'meta_key' => '_wpcrm_contact-first-name', 'meta_value' => sanitize_text_field( $title ) ) ); 53 53 } 54 54 endwhile; -
wp-crm-system/trunk/readme.txt
r3020300 r3039704 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.4.2 7 Stable tag: 3.2.9 7 Stable tag: 3.2.9.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 92 92 == Changelog == 93 = 3.2.9.1 = 94 * Fix: Vulnerability on Contact 93 95 = 3.2.9 = 94 96 * Fix: PHP Fatal and warnings when generating reports -
wp-crm-system/trunk/wp-crm-system.php
r3020300 r3039704 4 4 Plugin URI: https://www.wp-crm.com 5 5 Description: A complete CRM for WordPress 6 Version: 3.2.9 6 Version: 3.2.9.1 7 7 Author: Premium WordPress Support 8 8 Author URI: https://www.wp-crm.com … … 35 35 } 36 36 if ( ! defined( 'WP_CRM_SYSTEM_VERSION' ) ) { 37 define( 'WP_CRM_SYSTEM_VERSION', '3.2.9 ' );37 define( 'WP_CRM_SYSTEM_VERSION', '3.2.9.1' ); 38 38 } 39 39 if( ! defined( 'WP_CRM_SYSTEM_URL' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.