Changeset 2260602
- Timestamp:
- 03/13/2020 03:13:19 PM (6 years ago)
- Location:
- sell-media
- Files:
-
- 2 added
- 2 deleted
- 8 edited
- 1 copied
-
tags/2.4.5 (copied) (copied from sell-media/trunk)
-
tags/2.4.5/css/sell_media.css.map (deleted)
-
tags/2.4.5/inc/gateways/php-paypal-ipn/IPNListener.php (modified) (1 diff)
-
tags/2.4.5/inc/gateways/php-paypal-ipn/cert/cacert.pem (added)
-
tags/2.4.5/inc/helpers.php (modified) (2 diffs)
-
tags/2.4.5/readme.txt (modified) (2 diffs)
-
tags/2.4.5/sell-media.php (modified) (4 diffs)
-
trunk/css/sell_media.css.map (deleted)
-
trunk/inc/gateways/php-paypal-ipn/IPNListener.php (modified) (1 diff)
-
trunk/inc/gateways/php-paypal-ipn/cert/cacert.pem (added)
-
trunk/inc/helpers.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sell-media.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sell-media/tags/2.4.5/inc/gateways/php-paypal-ipn/IPNListener.php
r1376485 r2260602 100 100 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); 101 101 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'); 103 103 curl_setopt($ch, CURLOPT_URL, $uri); 104 104 curl_setopt($ch, CURLOPT_POST, true); -
sell-media/tags/2.4.5/inc/helpers.php
r2201626 r2260602 363 363 /** 364 364 * Check if item has multiple attachments 365 * Restoring single items to redirect to single attachments 366 * lost from 2.4.2 365 367 */ 366 368 function sell_media_has_multiple_attachments( $post_id ) { … … 368 370 $attachments = sell_media_get_attachments( $post_id ); 369 371 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 373 378 } 374 379 -
sell-media/tags/2.4.5/readme.txt
r2204733 r2260602 6 6 Requires at least: 5.3 7 7 Tested up to: 5.3 8 Stable tag: 2.4. 48 Stable tag: 2.4.5 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 232 232 233 233 == Changelog == 234 235 = 2.4.5 = 236 * Fix: Paypal IPN 237 * Fix: Revert single image page redirect 234 238 235 239 = 2.4.4 = -
sell-media/tags/2.4.5/sell-media.php
r2204733 r2260602 4 4 * Plugin URI: http://graphpaperpress.com/plugins/sell-media/ 5 5 * Description: A plugin for selling photos, prints and other downloads. 6 * Version: 2.4. 46 * Version: 2.4.5 7 7 * Author: Graph Paper Press 8 8 * Author URI: http://graphpaperpress.com … … 12 12 * License: GPL2 13 13 * 14 * Copyright 20 15GRAPH PAPER PRESS (email: support@graphpaperpress.com)14 * Copyright 2020 GRAPH PAPER PRESS (email: support@graphpaperpress.com) 15 15 * This program is free software; you can redistribute it and/or modify 16 16 * it under the terms of the GNU General Public License, version 2, as … … 25 25 * @category Core 26 26 * @author Thad Allender 27 * @version 2.4. 327 * @version 2.4.5 28 28 */ 29 29 … … 182 182 // Plugin version. 183 183 if ( ! defined( 'SELL_MEDIA_VERSION' ) ) { 184 define( 'SELL_MEDIA_VERSION', '2.4. 3' );184 define( 'SELL_MEDIA_VERSION', '2.4.5' ); 185 185 } 186 186 -
sell-media/trunk/inc/gateways/php-paypal-ipn/IPNListener.php
r1376485 r2260602 100 100 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true); 101 101 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'); 103 103 curl_setopt($ch, CURLOPT_URL, $uri); 104 104 curl_setopt($ch, CURLOPT_POST, true); -
sell-media/trunk/inc/helpers.php
r2201626 r2260602 363 363 /** 364 364 * Check if item has multiple attachments 365 * Restoring single items to redirect to single attachments 366 * lost from 2.4.2 365 367 */ 366 368 function sell_media_has_multiple_attachments( $post_id ) { … … 368 370 $attachments = sell_media_get_attachments( $post_id ); 369 371 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 373 378 } 374 379 -
sell-media/trunk/readme.txt
r2204733 r2260602 6 6 Requires at least: 5.3 7 7 Tested up to: 5.3 8 Stable tag: 2.4. 48 Stable tag: 2.4.5 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 232 232 233 233 == Changelog == 234 235 = 2.4.5 = 236 * Fix: Paypal IPN 237 * Fix: Revert single image page redirect 234 238 235 239 = 2.4.4 = -
sell-media/trunk/sell-media.php
r2204733 r2260602 4 4 * Plugin URI: http://graphpaperpress.com/plugins/sell-media/ 5 5 * Description: A plugin for selling photos, prints and other downloads. 6 * Version: 2.4. 46 * Version: 2.4.5 7 7 * Author: Graph Paper Press 8 8 * Author URI: http://graphpaperpress.com … … 12 12 * License: GPL2 13 13 * 14 * Copyright 20 15GRAPH PAPER PRESS (email: support@graphpaperpress.com)14 * Copyright 2020 GRAPH PAPER PRESS (email: support@graphpaperpress.com) 15 15 * This program is free software; you can redistribute it and/or modify 16 16 * it under the terms of the GNU General Public License, version 2, as … … 25 25 * @category Core 26 26 * @author Thad Allender 27 * @version 2.4. 327 * @version 2.4.5 28 28 */ 29 29 … … 182 182 // Plugin version. 183 183 if ( ! defined( 'SELL_MEDIA_VERSION' ) ) { 184 define( 'SELL_MEDIA_VERSION', '2.4. 3' );184 define( 'SELL_MEDIA_VERSION', '2.4.5' ); 185 185 } 186 186
Note: See TracChangeset
for help on using the changeset viewer.