Plugin Directory

Changeset 2260602


Ignore:
Timestamp:
03/13/2020 03:13:19 PM (6 years ago)
Author:
endortrails
Message:

Update to version 2.4.5 from GitHub

Location:
sell-media
Files:
2 added
2 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sell-media/tags/2.4.5/inc/gateways/php-paypal-ipn/IPNListener.php

    r1376485 r2260602  
    100100        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
    101101        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
    102         curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cert/api_cert_chain.crt');
     102        curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cert/cacert.pem');
    103103        curl_setopt($ch, CURLOPT_URL, $uri);
    104104        curl_setopt($ch, CURLOPT_POST, true);
  • sell-media/tags/2.4.5/inc/helpers.php

    r2201626 r2260602  
    363363/**
    364364 * Check if item has multiple attachments
     365 * Restoring single items to redirect to single attachments
     366 * lost from 2.4.2
    365367 */
    366368function sell_media_has_multiple_attachments( $post_id ) {
     
    368370    $attachments = sell_media_get_attachments( $post_id );
    369371    if ( $attachments && is_array( $attachments ) ) {
    370         return true;
    371     }
    372     return false;
     372        if( count($attachments) > 1)
     373            return true;
     374    } else {
     375        return false;
     376    }
     377   
    373378}
    374379
  • sell-media/tags/2.4.5/readme.txt

    r2204733 r2260602  
    66Requires at least: 5.3
    77Tested up to: 5.3
    8 Stable tag: 2.4.4
     8Stable tag: 2.4.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    232232
    233233== Changelog ==
     234
     235= 2.4.5 =
     236* Fix: Paypal IPN
     237* Fix: Revert single image page redirect
    234238
    235239= 2.4.4 =
  • sell-media/tags/2.4.5/sell-media.php

    r2204733 r2260602  
    44 * Plugin URI: http://graphpaperpress.com/plugins/sell-media/
    55 * Description: A plugin for selling photos, prints and other downloads.
    6  * Version: 2.4.4
     6 * Version: 2.4.5
    77 * Author: Graph Paper Press
    88 * Author URI: http://graphpaperpress.com
     
    1212 * License: GPL2
    1313 *
    14  * Copyright 2015 GRAPH PAPER PRESS (email: support@graphpaperpress.com)
     14 * Copyright 2020 GRAPH PAPER PRESS (email: support@graphpaperpress.com)
    1515 * This program is free software; you can redistribute it and/or modify
    1616 * it under the terms of the GNU General Public License, version 2, as
     
    2525 * @category Core
    2626 * @author Thad Allender
    27  * @version 2.4.3
     27 * @version 2.4.5
    2828 */
    2929
     
    182182            // Plugin version.
    183183            if ( ! defined( 'SELL_MEDIA_VERSION' ) ) {
    184                 define( 'SELL_MEDIA_VERSION', '2.4.3' );
     184                define( 'SELL_MEDIA_VERSION', '2.4.5' );
    185185            }
    186186
  • sell-media/trunk/inc/gateways/php-paypal-ipn/IPNListener.php

    r1376485 r2260602  
    100100        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
    101101        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
    102         curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cert/api_cert_chain.crt');
     102        curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/cert/cacert.pem');
    103103        curl_setopt($ch, CURLOPT_URL, $uri);
    104104        curl_setopt($ch, CURLOPT_POST, true);
  • sell-media/trunk/inc/helpers.php

    r2201626 r2260602  
    363363/**
    364364 * Check if item has multiple attachments
     365 * Restoring single items to redirect to single attachments
     366 * lost from 2.4.2
    365367 */
    366368function sell_media_has_multiple_attachments( $post_id ) {
     
    368370    $attachments = sell_media_get_attachments( $post_id );
    369371    if ( $attachments && is_array( $attachments ) ) {
    370         return true;
    371     }
    372     return false;
     372        if( count($attachments) > 1)
     373            return true;
     374    } else {
     375        return false;
     376    }
     377   
    373378}
    374379
  • sell-media/trunk/readme.txt

    r2204733 r2260602  
    66Requires at least: 5.3
    77Tested up to: 5.3
    8 Stable tag: 2.4.4
     8Stable tag: 2.4.5
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    232232
    233233== Changelog ==
     234
     235= 2.4.5 =
     236* Fix: Paypal IPN
     237* Fix: Revert single image page redirect
    234238
    235239= 2.4.4 =
  • sell-media/trunk/sell-media.php

    r2204733 r2260602  
    44 * Plugin URI: http://graphpaperpress.com/plugins/sell-media/
    55 * Description: A plugin for selling photos, prints and other downloads.
    6  * Version: 2.4.4
     6 * Version: 2.4.5
    77 * Author: Graph Paper Press
    88 * Author URI: http://graphpaperpress.com
     
    1212 * License: GPL2
    1313 *
    14  * Copyright 2015 GRAPH PAPER PRESS (email: support@graphpaperpress.com)
     14 * Copyright 2020 GRAPH PAPER PRESS (email: support@graphpaperpress.com)
    1515 * This program is free software; you can redistribute it and/or modify
    1616 * it under the terms of the GNU General Public License, version 2, as
     
    2525 * @category Core
    2626 * @author Thad Allender
    27  * @version 2.4.3
     27 * @version 2.4.5
    2828 */
    2929
     
    182182            // Plugin version.
    183183            if ( ! defined( 'SELL_MEDIA_VERSION' ) ) {
    184                 define( 'SELL_MEDIA_VERSION', '2.4.3' );
     184                define( 'SELL_MEDIA_VERSION', '2.4.5' );
    185185            }
    186186
Note: See TracChangeset for help on using the changeset viewer.