Changeset 3328372
- Timestamp:
- 07/15/2025 03:57:38 PM (9 months ago)
- Location:
- dastra/trunk
- Files:
-
- 2 edited
-
dastra.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dastra/trunk/dastra.php
r3326149 r3328372 2 2 /** 3 3 * @package Dastra 4 * @version 0.1. 64 * @version 0.1.7 5 5 * Plugin Name: Dastra 6 6 * Plugin URI: http://wordpress.org/plugins/dastra/ 7 7 * Description: Dastra is a cookie consent management platform 8 8 * Author: Dastra 9 * Version: 0.1. 69 * Version: 0.1.7 10 10 * Author URI: https://dastra.eu 11 11 * … … 47 47 } 48 48 49 $http_callback = "http" . (($_SERVER['SERVER_PORT'] == 443) ? "s://" : "://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 49 $https = ( 50 (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') 51 || (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443) 52 || (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') 53 ); 54 55 $protocol = $https ? 'https://' : 'http://'; 56 57 $http_callback = $https . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 50 58 $add_to_dastra_link = wp_nonce_url("https://app.dastra.eu/connect/cookie-widget?returnUrl=$http_callback", "dastra-connect"); 51 59 -
dastra/trunk/readme.txt
r3326149 r3328372 38 38 == Changelog == 39 39 40 = 0.1.7 = 41 * Cloudflare support for callback url 42 40 43 = 0.1.6 = 41 44 * Fix error in urls and update min version
Note: See TracChangeset
for help on using the changeset viewer.