Changeset 2341136
- Timestamp:
- 07/15/2020 06:23:49 PM (6 years ago)
- Location:
- exchange-paypal-to-satoshi/trunk
- Files:
-
- 2 edited
-
exchange-paypal-to-satoshi.php (modified) (7 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
exchange-paypal-to-satoshi/trunk/exchange-paypal-to-satoshi.php
r2340432 r2341136 4 4 * Description: Exchange USD to Satoshi instantly at your rate, keep the profit. 5 5 * Author: Alexey Trofimov 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * License: GPLv2 8 8 * Text Domain: exchange-paypal-to-satoshi … … 28 28 add_action( 'admin_menu', array( $this, 'admin_menu' ) ); 29 29 add_action( 'admin_init', array( $this, 'admin_init' ) ); 30 add_action('wp_ajax_ get_satoshi_balance', array( $this, 'get_satoshi_balance' )); //admin base_url_action31 add_action('wp_ajax_ save_admin_settings', array( $this, 'save_admin_settings' )); //admin base_url_action30 add_action('wp_ajax_PPSE1990F_get_satoshi_balance', array( $this, 'get_satoshi_balance' )); //admin base_url_action 31 add_action('wp_ajax_PPSE1990F_save_admin_settings', array( $this, 'save_admin_settings' )); //admin base_url_action 32 32 add_action( 'parse_request', array($this,'serve_exchange') ); 33 33 add_filter( "plugin_action_links_" . plugin_basename( __FILE__ ), array( $this,'add_settings_link') ); … … 654 654 var s_b = "'.__( 'Balance:', 'exchange-paypal-to-satoshi' ).'"; 655 655 var s_s = "'.__( 'satoshi', 'exchange-paypal-to-satoshi' ).'"; 656 PPSE1990F_ get_satoshi_balance = function(s_key){656 PPSE1990F_fetch_satoshi_balance = function(s_key){ 657 657 PPSE1990F_show_wait(true); 658 658 jQuery("#PPSE1990F_key_check_result").html("..."); … … 663 663 type : "post", 664 664 data : { 665 action : " get_satoshi_balance",665 action : "PPSE1990F_get_satoshi_balance", 666 666 api_key : s_key, 667 667 }, … … 721 721 }else{//length is ok 722 722 jQuery("#PPSE1990F_check_api_key").prop("disabled", false); 723 PPSE1990F_ get_satoshi_balance(s);723 PPSE1990F_fetch_satoshi_balance(s); 724 724 } 725 725 } … … 731 731 jQuery(document).on("click", "#PPSE1990F_check_api_key",function () { 732 732 var s = jQuery("#PPSE1990F_api_key").val(); 733 PPSE1990F_ get_satoshi_balance(s);733 PPSE1990F_fetch_satoshi_balance(s); 734 734 }); //PPSE1990F_num on 735 735 … … 1085 1085 type : "post", 1086 1086 data : { 1087 action : " save_admin_settings",1087 action : "PPSE1990F_save_admin_settings", 1088 1088 nonce : "' . wp_create_nonce( 'exchange_settings' ) . '", 1089 1089 vars_to_save : j_save, -
exchange-paypal-to-satoshi/trunk/readme.txt
r2340432 r2341136 5 5 Requires at least: 2.0 6 6 Tested up to: 5.4 7 Stable tag: 1.0. 37 Stable tag: 1.0.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 101 101 102 102 == Changelog == 103 = V1.0.4 - 15.07.2020 = 104 Names of call-back were changed to avoid possible collisions.<br> 103 105 104 106 = V1.0.3 - 13.07.2020 =
Note: See TracChangeset
for help on using the changeset viewer.