Changeset 3197079
- Timestamp:
- 11/26/2024 06:32:51 AM (16 months ago)
- Location:
- netgsm/trunk
- Files:
-
- 2 edited
-
index.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
netgsm/trunk/index.php
r3191034 r3197079 6 6 Author: Netgsm 7 7 Author URI: www.netgsm.com.tr 8 Version: 2.9.3 38 Version: 2.9.34 9 9 10 10 */ … … 1153 1153 add_action('wp_ajax_nopriv_netgsm_sendtf2SMS', 'netgsm_sendtf2SMS'); 1154 1154 function netgsm_admin_scripts() { 1155 $netgsm_status = esc_html(get_option("netgsm_status"));1156 if (isset($netgsm_status) && !empty($netgsm_status) && $netgsm_status==1 ){1155 $netgsm_status = esc_html(get_option("netgsm_status")); 1156 if (isset($netgsm_status) && !empty($netgsm_status) && $netgsm_status == 1) { 1157 1157 $otpregister_control = esc_html(get_option("netgsm_tf2_auth_register_control")); 1158 if ($otpregister_control == 1 || get_option('netgsm_asistan')=='1'){ 1159 wp_enqueue_script( 'script', plugins_url('ajax.js', dirname(__FILE__).'/lib/js/1/'), array('jquery'), '1.0', true ); 1160 wp_localize_script('script', 'ajaxurl', admin_url( 'admin-ajax.php' ) ); 1161 1158 if ($otpregister_control == 1 || get_option('netgsm_asistan') == '1') { 1159 // JavaScript dosyasını yükle 1160 wp_enqueue_script('script', plugins_url('ajax.js', dirname(__FILE__) . '/lib/js/1/'), array('jquery'), '1.0', true); 1161 1162 // `ajaxurl` değişkenini tanımla 1163 $inline_script = 'const ajaxurl = ' . json_encode(admin_url('admin-ajax.php')) . ';'; 1164 wp_add_inline_script('script', $inline_script, 'before'); 1162 1165 } 1163 1166 } -
netgsm/trunk/readme.txt
r3191034 r3197079 5 5 Requires at least: 3.0 6 6 Tested up to: 6.7 7 Stable tag: 2.9.3 37 Stable tag: 2.9.34 8 8 Requires PHP: 8.0.1 9 9 License: GPLv2 or later … … 89 89 90 90 == Changelog == 91 = 2.9.34 = 92 * Hata düzeltmesi yapıldı. 91 93 = 2.9.33 = 92 94 * Hata düzeltmesi yapıldı.
Note: See TracChangeset
for help on using the changeset viewer.