Changeset 3351305
- Timestamp:
- 08/27/2025 02:56:37 PM (7 months ago)
- Location:
- nimbata-call-tracking
- Files:
-
- 2 edited
- 3 copied
-
tags/1.7.3 (copied) (copied from nimbata-call-tracking/trunk)
-
tags/1.7.3/nimbata.php (copied) (copied from nimbata-call-tracking/trunk/nimbata.php) (4 diffs)
-
tags/1.7.3/readme.txt (copied) (copied from nimbata-call-tracking/trunk/readme.txt) (2 diffs)
-
trunk/nimbata.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nimbata-call-tracking/tags/1.7.3/nimbata.php
r3270915 r3351305 4 4 Plugin URI: https://wordpress.org/plugins/nimbata-call-tracking/ 5 5 Description: Dynamically swap your site's phone number with a nimbata tracking number. Track which sources or sessions make your phones ring. This plugin will use the configuration you've setup through the nimbata app. 6 Version: 1.7. 26 Version: 1.7.3 7 7 Author: Nimbata 8 8 Author URI: http://www.nimbata.com … … 11 11 */ 12 12 13 const VERSION = '1.7. 2';13 const VERSION = '1.7.3'; 14 14 15 15 function nimbata_admin_init() { … … 87 87 88 88 // Nonce is valid, now process the data 89 if( isset($_POST['nimbata_dni_id_input']) && $_POST['nimbata_dni_id_input'] != '0') {89 if( isset($_POST['nimbata_dni_id_input']) && !empty($_POST['nimbata_dni_id_input']) ) { 90 90 // It's generally better to sanitize before saving 91 91 $dni_id = preg_replace('/\s+/', '', sanitize_text_field($_POST['nimbata_dni_id_input'])); 92 92 update_option('nimbata_dni_id', $dni_id ); 93 } else { 94 // If the field is empty or not set, update with a default/empty value. 95 update_option('nimbata_dni_id', '0'); 93 96 } 94 97 … … 97 100 $sri_hash = preg_replace('/\s+/', '', sanitize_text_field($_POST['nimbata_dni_sri_input'])); 98 101 update_option('nimbata_dni_sri', $sri_hash ); 102 } else { 103 // If the field is empty or not set, clear the option. 104 delete_option('nimbata_dni_sri'); 99 105 } 100 106 -
nimbata-call-tracking/tags/1.7.3/readme.txt
r3270915 r3351305 3 3 Tags: call tracking, analytics, adwords, seo, ppc 4 4 Requires at least: 3.0 5 Tested up to: 6. 7.25 Tested up to: 6.8.2 6 6 Stable tag: 1.7.2 7 7 Requires PHP: 5.0.2 … … 27 27 28 28 == Changelog == 29 30 = 1.7.3 = 31 Tested with latest wordpress version & Cross-Site Request Forgery 29 32 30 33 = 1.7.2 = -
nimbata-call-tracking/trunk/nimbata.php
r3270915 r3351305 4 4 Plugin URI: https://wordpress.org/plugins/nimbata-call-tracking/ 5 5 Description: Dynamically swap your site's phone number with a nimbata tracking number. Track which sources or sessions make your phones ring. This plugin will use the configuration you've setup through the nimbata app. 6 Version: 1.7. 26 Version: 1.7.3 7 7 Author: Nimbata 8 8 Author URI: http://www.nimbata.com … … 11 11 */ 12 12 13 const VERSION = '1.7. 2';13 const VERSION = '1.7.3'; 14 14 15 15 function nimbata_admin_init() { … … 87 87 88 88 // Nonce is valid, now process the data 89 if( isset($_POST['nimbata_dni_id_input']) && $_POST['nimbata_dni_id_input'] != '0') {89 if( isset($_POST['nimbata_dni_id_input']) && !empty($_POST['nimbata_dni_id_input']) ) { 90 90 // It's generally better to sanitize before saving 91 91 $dni_id = preg_replace('/\s+/', '', sanitize_text_field($_POST['nimbata_dni_id_input'])); 92 92 update_option('nimbata_dni_id', $dni_id ); 93 } else { 94 // If the field is empty or not set, update with a default/empty value. 95 update_option('nimbata_dni_id', '0'); 93 96 } 94 97 … … 97 100 $sri_hash = preg_replace('/\s+/', '', sanitize_text_field($_POST['nimbata_dni_sri_input'])); 98 101 update_option('nimbata_dni_sri', $sri_hash ); 102 } else { 103 // If the field is empty or not set, clear the option. 104 delete_option('nimbata_dni_sri'); 99 105 } 100 106 -
nimbata-call-tracking/trunk/readme.txt
r3270915 r3351305 3 3 Tags: call tracking, analytics, adwords, seo, ppc 4 4 Requires at least: 3.0 5 Tested up to: 6. 7.25 Tested up to: 6.8.2 6 6 Stable tag: 1.7.2 7 7 Requires PHP: 5.0.2 … … 27 27 28 28 == Changelog == 29 30 = 1.7.3 = 31 Tested with latest wordpress version & Cross-Site Request Forgery 29 32 30 33 = 1.7.2 =
Note: See TracChangeset
for help on using the changeset viewer.