Plugin Directory

Changeset 3365159


Ignore:
Timestamp:
09/21/2025 08:07:18 AM (6 months ago)
Author:
Goback2
Message:

New ver 1.4.4

Location:
edd-custom-checkout-fields
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • edd-custom-checkout-fields/trunk/index.php

    r3365148 r3365159  
    66Author: Omid Shamloo
    77Author URI: https://wp-master.ir
    8 Version: 1.4.3
     8Version: 1.4.4
    99Text Domain: ecf
    1010Domain Path: /languages
     
    1818 * 1.4.2  : fixed not working when user logged in
    1919 * 1.4.3  : Some fixes and change plugin name due trademark alert from plugins@wordpress.org
     20 * 1.4.4  : fix not working on some sites , now handle $_POST to get field values
    2021 */
    2122defined('ABSPATH') or die('No script kiddies please!');
     
    468469                $id = 'edd_' . $this->prefix . $id;
    469470            }
    470             if (isset($payment_meta[$id])) {
    471                 $_payment_meta[$id] = $payment_meta[$id];
    472             }
     471            $_payment_meta[$id] = !empty($payment_meta[$id]) ? $payment_meta[$id] : ($_POST[$id] ? sanitize_text_field($_POST[$id]) : '');
     472
    473473        }
    474474        if (!empty($_payment_meta)) {
  • edd-custom-checkout-fields/trunk/readme.txt

    r3365148 r3365159  
    55Requires at least: 4.6
    66Tested up to: 6.8.2
    7 Stable tag: 1.4.3
     7Stable tag: 1.4.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.