Changeset 2750651
- Timestamp:
- 07/01/2022 08:22:20 AM (4 years ago)
- Location:
- pdpa-thailand/trunk
- Files:
-
- 3 edited
-
admin/admin.php (modified) (3 diffs)
-
pdpa-thailand.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdpa-thailand/trunk/admin/admin.php
r2750637 r2750651 516 516 $settings['cookie_necessary'] = serialize($cookie_neccesary); 517 517 518 // echo '<pre>';519 // print_r($_POST);520 // e cho '</pre>';521 // die;518 // if ( isset($_POST['gg_analytic_script'] ) ) 519 // $gg_analytic_script = 1; 520 // else 521 // $gg_analytic_script = ''; 522 522 523 523 // Set cookie … … 529 529 'code_next_body' => '', 530 530 'code_body_close' =>'', 531 'gg_analytic_script' => $this->pdpa_thailand_recursive_sanitize_text_field(isset($_POST['gg_analytic_script']) ? $_POST['gg_analytic_script'] : ''),531 'gg_analytic_script' => $this->pdpa_thailand_recursive_sanitize_text_field(isset($_POST['gg_analytic_script']) ? $_POST['gg_analytic_script'] : array()), 532 532 'gg_analytic_id' => $this->pdpa_thailand_recursive_sanitize_text_field($_POST['gg_analytic_id']), 533 'fb_pixel_script' => $this->pdpa_thailand_recursive_sanitize_text_field(isset($_POST['fb_pixel_script']) ? $_POST['fb_pixel_script'] : ''),533 'fb_pixel_script' => $this->pdpa_thailand_recursive_sanitize_text_field(isset($_POST['fb_pixel_script']) ? $_POST['fb_pixel_script'] : array()), 534 534 'fb_pixel_id' => $this->pdpa_thailand_recursive_sanitize_text_field($_POST['fb_pixel_id']) 535 535 ); … … 613 613 foreach ( $array as $key => &$value ) { 614 614 if ( is_array( $value ) ) { 615 $value = pdpa_thailand_recursive_sanitize_text_field($value); 616 } 617 else { 618 $value = sanitize_text_field( $value ); 615 $array[$key] = $this->pdpa_thailand_recursive_sanitize_text_field($value); 619 616 } 620 617 } -
pdpa-thailand/trunk/pdpa-thailand.php
r2750637 r2750651 6 6 * Author: DesignilCode 7 7 * Author URI: https://www.designilcode.com 8 * Version: 1.2. 28 * Version: 1.2.3 9 9 * Text Domain: pdpa-thailand 10 10 * Domain Path: /languages … … 20 20 * @since 1.1 21 21 */ 22 if ( ! defined( 'PDPA_THAILAND_VERSION' ) ) define( 'PDPA_THAILAND_VERSION', '1.2. 2' ); // Plugin version constant22 if ( ! defined( 'PDPA_THAILAND_VERSION' ) ) define( 'PDPA_THAILAND_VERSION', '1.2.3' ); // Plugin version constant 23 23 if ( ! defined( 'PDPA_THAILAND' ) ) define( 'PDPA_THAILAND' , trim( dirname( plugin_basename( __FILE__ ) ), '/' ) ); // Name of the plugin folder eg - 'pdpa-thailand' 24 24 if ( ! defined( 'PDPA_THAILAND_DIR' ) ) define( 'PDPA_THAILAND_DIR' , plugin_dir_path( __FILE__ ) ); // Plugin directory absolute path with the trailing slash. Useful for using with includes eg - /var/www/html/wp-content/plugins/pdpa-thailand/ -
pdpa-thailand/trunk/readme.txt
r2750637 r2750651 4 4 Tags: pdpa, thai, thailand, gdpr, cookie, consent, law 5 5 Tested up to: 6.0 6 Stable tag: 1.2. 26 Stable tag: 1.2.3 7 7 License: GPLv2 or later 8 8 License URI: https://www.designilpdpa.com … … 121 121 122 122 == Changelog == 123 = 1.2.3 = 124 * แก้ไขบั๊กเล็กน้อย 125 123 126 = 1.2.2 = 124 127 * ปรับ UI หลังบ้าน
Note: See TracChangeset
for help on using the changeset viewer.