Changeset 2179662
- Timestamp:
- 10/24/2019 10:40:24 PM (6 years ago)
- Location:
- onecrm/trunk
- Files:
-
- 3 edited
-
admin/setting_view.php (modified) (4 diffs)
-
onecrm.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
onecrm/trunk/admin/setting_view.php
r2127254 r2179662 12 12 این اطلاعات به صورت رمز شده در سرور ذخیره می شود و فقط توسط حساب کاربری شما قابل بازگشایی و خواندن خواهد بود و تضمین می شود که توسط هیچ فردی غیر از شما قابل مشاهده نباشد. 13 13 </p> 14 <?php wp_nonce_field('oc-se nd-token')?>14 <?php wp_nonce_field('oc-secure-token' , 'secure_token'); ?> 15 15 <input type="text" name='tokenTxt' style="width: 400px;" /> 16 16 <input type="submit" value="ارسال کد" class='button-primary' /><br /> … … 18 18 <?php 19 19 if (!defined('ABSPATH')) exit; // Exit if accessed directly 20 20 21 21 22 include_once plugin_dir_path(__FILE__) . '../sync.php'; … … 32 33 if (array_key_exists('tokenTxt', $_POST) && current_user_can('administrator')) { 33 34 34 if (!isset($POST['_wpnonce']) || !wp_verify_nonce($POST['_wpnonce'], 'oc-send-token')) { 35 die(); 35 $nonce = $_POST['secure_token']; 36 37 if (!isset($nonce) || !wp_verify_nonce($nonce, 'oc-secure-token')) { 38 die('اشکال امنیتی'); 36 39 } 37 40 38 41 $tokenVal = sanitize_text_field($_POST['tokenTxt']); 42 print $tokenVal; 39 43 $url = "http://api.onecrm.org/Token/Connection"; 40 44 $args = array( … … 45 49 ) 46 50 ); 51 47 52 $res = wp_remote_post($url, $args); 48 53 print "<br/>"; -
onecrm/trunk/onecrm.php
r2070942 r2179662 4 4 Plugin URI: https://app.onecrm.org/Main/WPSetting 5 5 Description: این افزونه برای ارتباط OneCrm با وب سایت شماست. 6 Author: LonerCoder7 Version: 1. 38 Author URI: http ://onecrm.org/6 Author: میلاد حلمی 7 Version: 1.4 8 Author URI: https://miladhelmi.ir/ 9 9 */ 10 10 if (!defined('ABSPATH')) exit; // Exit if accessed directly -
onecrm/trunk/readme.txt
r2071498 r2179662 1 1 === OneCrm Plugin === 2 Contributors: LonerCoder2 Contributors: MiladHelmi 3 3 Donate link: http://onecrm.org 4 4 Tags: onecrm,worpress,plugin,connectonecrm 5 5 Requires at least: 4.0.0 6 Tested up to: 5. 1.17 Stable tag: 1. 36 Tested up to: 5.3 7 Stable tag: 1.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 52 52 = 1.3 = 53 53 This version fixes Api Connect And Order Status. 54 = 1.4 = 55 Connection Bug Fixed.
Note: See TracChangeset
for help on using the changeset viewer.