Plugin Directory

Changeset 3238170


Ignore:
Timestamp:
02/10/2025 08:22:10 PM (13 months ago)
Author:
paystack
Message:

4.0.2 - Security Update

Location:
payment-forms-for-paystack/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • payment-forms-for-paystack/trunk/includes/classes/class-helpers.php

    r3210130 r3238170  
    190190        if ( version_compare( '6.2', $current_version, '<=' ) ) {
    191191
     192            // Make sure $order only handles 2 possible values.
     193            if ( 'ASC' !== $order ) {
     194                $order = 'DESC';
     195            }
     196
    192197            // phpcs:disable WordPress.DB -- Start ignoring
    193198            $results = $wpdb->get_results(
     
    201206                    $form_id,
    202207                    $args['paid'],
    203                     $args['orderby'],
     208                    $args['orderby']
    204209                )
    205210            );
     
    215220                    WHERE post_id = '%d'
    216221                    AND paid = '%s'
    217                     ORDER BY '%s' $order",
     222                    ORDER BY '%s' %s",
    218223                    $table,
    219224                    $form_id,
    220225                    $args['paid'],
    221226                    $args['orderby'],
     227                    $order
    222228                )
    223229            );
  • payment-forms-for-paystack/trunk/paystack-forms.php

    r3210130 r3238170  
    44  Plugin URI:   https://github.com/PaystackHQ/Wordpress-Payment-forms-for-Paystack
    55  Description:  Payment Forms for Paystack allows you create forms that will be used to bill clients for goods and services via Paystack.
    6   Version:      4.0.1
     6  Version:      4.0.2
    77  Author:       Paystack
    88  Author URI:   http://paystack.com
     
    1717define( 'PFF_PAYSTACK_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    1818define( 'PFF_PAYSTACK_MAIN_FILE', __FILE__ );
    19 define( 'PFF_PAYSTACK_VERSION', '4.0.1' );
     19define( 'PFF_PAYSTACK_VERSION', '4.0.2' );
    2020define( 'PFF_PAYSTACK_TABLE', 'paystack_forms_payments' );
    2121define( 'PFF_PLUGIN_BASENAME', plugin_basename(__FILE__) );
  • payment-forms-for-paystack/trunk/readme.txt

    r3210130 r3238170  
    55Requires at least: 5.0
    66Tested up to: 6.7
    7 Stable tag: 4.0.1
     7Stable tag: 4.0.2
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    9292
    9393== Changelog ==
     94= 4.0.2 =
     95* Security Update - Adding in sanitization to the Payments List order variable.
     96
    9497= 4.0.1 =
    9598* Updating the class initiation to be 7.4 compatible and additional 7.4 fixes
Note: See TracChangeset for help on using the changeset viewer.