Changeset 1186165
- Timestamp:
- 06/23/2015 12:58:51 PM (11 years ago)
- Location:
- coceca
- Files:
-
- 18 added
- 4 edited
-
tags/1.3 (added)
-
tags/1.3/coceca.php (added)
-
tags/1.3/includes (added)
-
tags/1.3/includes/coceca_plugin-class.php (added)
-
tags/1.3/includes/functions.php (added)
-
tags/1.3/includes/plugin-dependencies.php (added)
-
tags/1.3/includes/templates (added)
-
tags/1.3/includes/templates/email_popup.php (added)
-
tags/1.3/includes/templates/get_started.php (added)
-
tags/1.3/includes/templates/list_extensions.php (added)
-
tags/1.3/readme.txt (added)
-
tags/1.3/screenshot-1.jpg (added)
-
tags/1.3/screenshot-2.jpg (added)
-
tags/1.3/screenshot-3.jpg (added)
-
tags/1.3/screenshot-4.jpg (added)
-
tags/1.3/screenshot-5.jpg (added)
-
tags/1.3/screenshot-6.jpg (added)
-
tags/1.3/screenshot-7.jpg (added)
-
trunk/coceca.php (modified) (2 diffs)
-
trunk/includes/coceca_plugin-class.php (modified) (3 diffs)
-
trunk/includes/templates/email_popup.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
coceca/trunk/coceca.php
r1183981 r1186165 4 4 Description: CTA plugin is an innovative solution designed to help you grow your WordPress blog. It creates an opportunity for you to promote your WordPress Websites & Blogs and engage your site visitors, in more ways than one. 5 5 Author: CoCeCa 6 Version: 1. 26 Version: 1.3 7 7 Plugin URI: http://coceca.com/ 8 8 Author URI: http://coceca.com/help/ … … 13 13 14 14 defined( 'ABSPATH' ) or die( 'Plugin file cannot be accessed directly.' ); 15 define( 'COCECA_PLUGIN_VERSION', '1. 2' );15 define( 'COCECA_PLUGIN_VERSION', '1.3' ); 16 16 define( 'PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); 17 17 define( 'COCECA_PLUGIN_NAME', trim( dirname( PLUGIN_BASENAME ), '/' ) ); -
coceca/trunk/includes/coceca_plugin-class.php
r1183981 r1186165 217 217 function coceca_upgradeMembership(){ 218 218 global $wpdb; 219 219 220 if(!check_admin_referer( 'gopro-CoCeCa_'.absint($_GET['plugin_id']), 'com_nonce' ) ) { 220 221 wp_die('You have taken too long. Please go back and retry.', '', array( 'response' => 403 ) ); … … 222 223 223 224 $is_paypal = false; 224 225 $admin_redirect_uri = $_POST['admin_redirect_uri']; 225 226 $response = ''; 226 227 $coupon_code = $paypal_payment = $coupon_data= ''; … … 248 249 249 250 $encrpted_string = syonencryptor('encrypt',getHost().':'.absint($_GET['plugin_id'])); 250 $redirect_url = EXT_SITE_URL.'wpapi/purchase_plugins/?check_host='.getHost().'&plugin_id='.absint($_GET['plugin_id']).'&pass_code='.$encrpted_string.'&coupon_data='.$coupon_data_sr.'&paypal_payment='.$paypal_payment.'&redirect_url='. admin_url();251 $redirect_url = EXT_SITE_URL.'wpapi/purchase_plugins/?check_host='.getHost().'&plugin_id='.absint($_GET['plugin_id']).'&pass_code='.$encrpted_string.'&coupon_data='.$coupon_data_sr.'&paypal_payment='.$paypal_payment.'&redirect_url='.$admin_redirect_uri; 251 252 252 253 if(!empty($coupon_data)){ -
coceca/trunk/includes/templates/email_popup.php
r1167526 r1186165 18 18 </style> 19 19 20 20 <?php 21 $protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://"; 22 $admin_redirect_uri = $protocol.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; 23 ?> 21 24 <div id="confirm_popup" style="display: none; width: 350px;"> 22 25 <form name="confirm_payment" id="confirm_payment" action="" method="post"> … … 30 33 <input type="text" placeholder="Enter coupon code here.." style="display: none;" name="check_coupon_code" id="check_coupon_code" value=""> 31 34 <input type="hidden" style="display: none;" name="paypal_url" id="paypal_url" value="paypal_payment"> 35 <input type="hidden" id="admin_redirect_uri" name="admin_redirect_uri" value="<?php echo $admin_redirect_uri; ?>"> 32 36 </div> 33 37 <div class="input-row"> -
coceca/trunk/readme.txt
r1183981 r1186165 90 90 == Changelog == 91 91 92 = 1.3 = 93 * Modified some issues 94 * Fixed some issues 95 92 96 = 1.2 = 93 97 * Fixed some bugs
Note: See TracChangeset
for help on using the changeset viewer.