Changeset 3138769
- Timestamp:
- 08/21/2024 08:00:51 AM (19 months ago)
- Location:
- open-rdw-kenteken-voertuiginformatie/trunk
- Files:
-
- 7 edited
-
admin/AdminDashboard.php (modified) (2 diffs)
-
admin/logs/log.txt (modified) (1 diff)
-
app/Config.php (modified) (1 diff)
-
config/plugin.php (modified) (1 diff)
-
plugin-gratis-open-rdw-kenteken-voertuiginformatie.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
views/dashboard/dashboard.home.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
open-rdw-kenteken-voertuiginformatie/trunk/admin/AdminDashboard.php
r3138718 r3138769 155 155 $this->show_admin_notice($message, 'error'); 156 156 } elseif ($status !== 'valid') { 157 $message = sprintf(__('<strong>Warning:</strong> The license for the Open data RDW Pro plugin is either incorrect or not filled in, click %1$s here %2$s to change the license.', 'tussendoor-rdw'), '<a href="'.admin_url('admin.php?page= open_data_rdw').'">', '</a>');157 $message = sprintf(__('<strong>Warning:</strong> The license for the Open data RDW Pro plugin is either incorrect or not filled in, click %1$s here %2$s to change the license.', 'tussendoor-rdw'), '<a href="'.admin_url('admin.php?page=tsd-rdw&tab=info-tab').'">', '</a>'); 158 158 $this->show_admin_notice($message, 'error'); 159 159 } … … 323 323 $html = '<div id="message" class="' . $type . '"><p>' . $message . '</p></div>'; 324 324 add_action('admin_notices', function () use ($html) { 325 // Echo the error message in the admin notice area326 325 echo $html; 327 326 }); -
open-rdw-kenteken-voertuiginformatie/trunk/admin/logs/log.txt
r3138718 r3138769 3 3 2024-08-20 12:55:26 - Open RDW PRO activation.. 4 4 2024-08-20 12:55:26 - Open RDW PRO activated. 5 2024-08-20 14:35:17 - Deactivating Open RDW PRO. Byebye! 6 2024-08-21 06:25:17 - Open RDW PRO activation.. 7 2024-08-21 06:25:17 - Open RDW PRO activated. -
open-rdw-kenteken-voertuiginformatie/trunk/app/Config.php
r3138718 r3138769 44 44 case 'development': 45 45 add_filter('https_ssl_verify', '__return_false'); 46 return $this->config['base_url'] = 'https://tussendoor. test';46 return $this->config['base_url'] = 'https://tussendoor.nl'; 47 47 48 48 case 'production': 49 49 default: 50 return $this->config['base_url'] = 'https://tussendoor. test';50 return $this->config['base_url'] = 'https://tussendoor.nl'; 51 51 } 52 52 } -
open-rdw-kenteken-voertuiginformatie/trunk/config/plugin.php
r3138718 r3138769 27 27 'log_source' => 'tussendoor-rdw', 28 28 'log_context' => 'tsdRdwContext', 29 'version' => '5.0.4. 1',29 'version' => '5.0.4.2', 30 30 'php_minimum' => '8.0', 31 31 'php_minimum_id' => 80000, -
open-rdw-kenteken-voertuiginformatie/trunk/plugin-gratis-open-rdw-kenteken-voertuiginformatie.php
r3138718 r3138769 12 12 * Author URI: https://www.tussendoor.nl 13 13 * Text Domain: tussendoor-rdw 14 * Version: 5.0.4. 114 * Version: 5.0.4.2 15 15 * Tested up to: 6.6.1 16 16 * Requires at least: 6.2 … … 28 28 define('ORK_PLUGIN_PATH', plugins_url('tussendoor-rdw')); 29 29 define('ORK_PLUGIN', __DIR__); 30 define('ORK_VERSION', '5.0.4. 1');30 define('ORK_VERSION', '5.0.4.2'); 31 31 32 32 /** -
open-rdw-kenteken-voertuiginformatie/trunk/readme.txt
r3138718 r3138769 2 2 Contributors: Tussendoor 3 3 Tags: tussendoor, rdw, kenteken, voertuig, kentekeninformatie 4 Stable tag: 5.0.4. 14 Stable tag: 5.0.4.2 5 5 Tested up to: 6.6.1 6 6 Requires at least: 6.2 7 7 Requires PHP: 8.1 8 License: GPL-2.0+ 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt 8 10 9 11 Haal kenteken / voertuig informatie op van OpenRDW met de tussendoor-rdw. … … 50 52 51 53 ### Changelog 54 55 ##### 5.0.4.2 56 * Hotfix: Better type checking in admin dashboard to prevent errors. 57 * Update: Add licence back to readme.txt. 52 58 53 59 ##### 5.0.4.1 -
open-rdw-kenteken-voertuiginformatie/trunk/views/dashboard/dashboard.home.php
r3138718 r3138769 10 10 ); 11 11 12 $dismissTime = get_option('open-rdw-notice-dismissed' );12 $dismissTime = get_option('open-rdw-notice-dismissed', false); 13 13 $currentTime = Carbon::now()->toDateString(); 14 14 15 16 if (($dismissTime == false) || (Carbon::parse($currentTime)->greaterThan($dismissTime))) : ?> 15 if ($dismissTime === false || (Carbon::parse($currentTime)->greaterThan($dismissTime))) : ?> 17 16 <script> 18 17 document.addEventListener('DOMContentLoaded', function() { … … 21 20 const queryParams = new URLSearchParams(parsedUrl.search); 22 21 23 // Get the page and tab parameters24 22 const pageParam = queryParams.get('page'); 25 23 const tabParam = queryParams.get('tab'); 26 24 27 // Check conditions for showing the modal28 25 if ( 29 26 (tabParam === 'home-tab' && pageParam === 'tsd-rdw') ||
Note: See TracChangeset
for help on using the changeset viewer.