Changeset 3281956
- Timestamp:
- 04/25/2025 02:34:47 PM (11 months ago)
- Location:
- codingfreaks-cookiemanager/trunk
- Files:
-
- 19 added
- 2 edited
-
Readme.txt (modified) (3 diffs)
-
assets/banner-1544x500.png (added)
-
assets/banner-772x250.png (added)
-
assets/icon-256x256.png (added)
-
assets/screenshot-1.png (added)
-
assets/screenshot-2.png (added)
-
assets/screenshot-3.png (added)
-
assets/screenshot-4.png (added)
-
build/codingfreaks-cookie.js (added)
-
build/codingfreaks-cookie.json (added)
-
build/index-2HXumOED.js (added)
-
build/index-LAibuQbg.css (added)
-
classes (added)
-
classes/API.php (added)
-
classes/Helpers.php (added)
-
classes/RenderUtility.php (added)
-
codingfreaks-cookiemanager.php (modified) (6 diffs)
-
ui (added)
-
ui/codingfreaks-configurator.php (added)
-
ui/dashboard.php (added)
-
ui/settings.php (added)
Legend:
- Unmodified
- Added
- Removed
-
codingfreaks-cookiemanager/trunk/Readme.txt
r3122237 r3281956 4 4 Tags: GDPR, Cookie, Cookie Notice, DSGVO, Consent 5 5 Requires at least: 6.4 6 Tested up to: 6. 67 Stable tag: 1.0. 16 Tested up to: 6.8 7 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 41 41 42 42 [Visit the Demo Website](https://cookiedemo.coding-freaks.com/) 43 [Visit the QuickStart Guide](https://cookieapi.coding-freaks.com/plugin/wordpress) 43 [Visit the QuickStart Guide](https://coding-freaks.com/tutorials/docs/cookie-docs/setup-a-cookiebanner/) 44 [Product Website](https://coding-freaks.com/web-cookie-management-plugin) 44 45 45 46 … … 74 75 == Changelog == 75 76 76 = v1.0.4 =77 * Refactoring of the Renderutility to use Regex GDPR Compliant Replacement78 79 = v1.0.3 =80 * Using WP Functions refactoring81 82 83 77 = v1.0.2 = 84 * Added Colorpicker for Theme78 * New API Service for Cookie-Manager and Auto-Configuration feature 85 79 86 80 = v1.0.1 = -
codingfreaks-cookiemanager/trunk/codingfreaks-cookiemanager.php
r3122237 r3281956 2 2 /** 3 3 * Plugin Name: CodingFreaks Cookiemanager 4 * Plugin URI: https://co okieapi.coding-freaks.com4 * Plugin URI: https://coding-freaks.com 5 5 * Description: CodingFreaks Cookiemanager 6 * Version: 1.0. 16 * Version: 1.0.3 7 7 * Author: Florian Eibisberger 8 8 * Author URI: https://coding-freaks.com … … 11 11 */ 12 12 13 //https://github.com/shewa12/svn-guide-to-upload-wp-plugin 13 14 14 15 use CodingFreaks\Cookiemanager\Classes\Helpers; … … 18 19 if ( ! defined( 'ABSPATH' ) ) exit; 19 20 //Used for static text in the plugin 20 $codingfreaksCookiemanagerApiURL = "https://co okieapi.coding-freaks.com"; //Beta Endpoint for Wordpress Plugin Feature Testing21 $codingfreaksCookiemanagerApiURL = "https://coding-freaks.com"; //Beta Endpoint for Wordpress Plugin Feature Testing 21 22 22 23 … … 50 51 $url = plugin_dir_url(__FILE__) . 'build/'; 51 52 $css_files = glob($dir . '*.css'); 52 $js_files = glob($dir . '*.js'); 53 53 //$js_files = glob($dir . '*.js'); 54 $js_files = array_filter(glob($dir . '*.js'), function($file) { 55 return basename($file) !== 'codingfreaks-cookie.js'; 56 }); 54 57 foreach ($css_files as $index => $file) { 55 58 $file_url = $url . basename($file); … … 59 62 foreach ($js_files as $index => $file) { 60 63 $file_url = $url . basename($file); 61 wp_enqueue_script ('codingfreaks-cookie-plugin-js-' . $index, $file_url, array(), '1.0', true);64 wp_enqueue_script_module('codingfreaks-cookie-plugin-js-' . $index, $file_url, array(), '1.0', true); 62 65 } 63 66 … … 73 76 //use helper function validate config 74 77 if ( $GLOBALS["codingfreakscookiemanagerhelpers"]->isExtensionConfigValid($options)) { 75 / / Register the frontend script78 /* Register the frontend script by CDN 76 79 wp_register_script('codingfreaks-cookie-consent-script', $options['codingfreaks_plugin_setting_api_endpoint'].'/cdn/consent/cf-cookie-'.$options['codingfreaks_plugin_setting_api_key'].'.js',[],'1.0',[ 80 "strategy" => "async", 81 ]); 82 */ 83 // Register the frontend script by local file 84 wp_register_script('codingfreaks-cookie-consent-script', '/wp-content/plugins/codingfreaks-cookiemanager/build/codingfreaks-cookie.js',[],'1.0',[ 77 85 "strategy" => "async", 78 86 ]);
Note: See TracChangeset
for help on using the changeset viewer.