Plugin Directory

Changeset 3138769


Ignore:
Timestamp:
08/21/2024 08:00:51 AM (19 months ago)
Author:
Tussendoor
Message:

##### 5.0.4.2

  • Hotfix: Better type checking in admin dashboard to prevent errors.
  • Update: Add license back to readme.txt.
Location:
open-rdw-kenteken-voertuiginformatie/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • open-rdw-kenteken-voertuiginformatie/trunk/admin/AdminDashboard.php

    r3138718 r3138769  
    155155            $this->show_admin_notice($message, 'error');
    156156        } 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>');
    158158            $this->show_admin_notice($message, 'error');
    159159        }
     
    323323        $html = '<div id="message" class="' . $type . '"><p>' . $message . '</p></div>';
    324324        add_action('admin_notices', function () use ($html) {
    325             // Echo the error message in the admin notice area
    326325            echo $html;
    327326        });
  • open-rdw-kenteken-voertuiginformatie/trunk/admin/logs/log.txt

    r3138718 r3138769  
    332024-08-20 12:55:26 - Open RDW PRO activation..
    442024-08-20 12:55:26 - Open RDW PRO activated.
     52024-08-20 14:35:17 - Deactivating Open RDW PRO. Byebye!
     62024-08-21 06:25:17 - Open RDW PRO activation..
     72024-08-21 06:25:17 - Open RDW PRO activated.
  • open-rdw-kenteken-voertuiginformatie/trunk/app/Config.php

    r3138718 r3138769  
    4444            case 'development':
    4545                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';
    4747
    4848            case 'production':
    4949            default:
    50                 return $this->config['base_url'] = 'https://tussendoor.test';
     50                return $this->config['base_url'] = 'https://tussendoor.nl';
    5151        }
    5252    }
  • open-rdw-kenteken-voertuiginformatie/trunk/config/plugin.php

    r3138718 r3138769  
    2727        'log_source'            => 'tussendoor-rdw',
    2828        'log_context'           => 'tsdRdwContext',
    29         'version'               => '5.0.4.1',
     29        'version'               => '5.0.4.2',
    3030        'php_minimum'           => '8.0',
    3131        'php_minimum_id'        => 80000,
  • open-rdw-kenteken-voertuiginformatie/trunk/plugin-gratis-open-rdw-kenteken-voertuiginformatie.php

    r3138718 r3138769  
    1212 * Author URI: https://www.tussendoor.nl
    1313 * Text Domain: tussendoor-rdw
    14  * Version: 5.0.4.1
     14 * Version: 5.0.4.2
    1515 * Tested up to: 6.6.1
    1616 * Requires at least: 6.2
     
    2828define('ORK_PLUGIN_PATH', plugins_url('tussendoor-rdw'));
    2929define('ORK_PLUGIN', __DIR__);
    30 define('ORK_VERSION', '5.0.4.1');
     30define('ORK_VERSION', '5.0.4.2');
    3131
    3232/**
  • open-rdw-kenteken-voertuiginformatie/trunk/readme.txt

    r3138718 r3138769  
    22Contributors: Tussendoor
    33Tags: tussendoor, rdw, kenteken, voertuig, kentekeninformatie
    4 Stable tag: 5.0.4.1
     4Stable tag: 5.0.4.2
    55Tested up to: 6.6.1
    66Requires at least: 6.2
    77Requires PHP: 8.1
     8License: GPL-2.0+
     9License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    810
    911Haal kenteken / voertuig informatie op van OpenRDW met de tussendoor-rdw.
     
    5052
    5153### 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.
    5258
    5359##### 5.0.4.1
  • open-rdw-kenteken-voertuiginformatie/trunk/views/dashboard/dashboard.home.php

    r3138718 r3138769  
    1010);
    1111
    12 $dismissTime = get_option('open-rdw-notice-dismissed');
     12$dismissTime = get_option('open-rdw-notice-dismissed', false);
    1313$currentTime = Carbon::now()->toDateString();
    1414
    15 
    16 if (($dismissTime == false) || (Carbon::parse($currentTime)->greaterThan($dismissTime))) : ?>
     15if ($dismissTime === false || (Carbon::parse($currentTime)->greaterThan($dismissTime))) : ?>
    1716    <script>
    1817        document.addEventListener('DOMContentLoaded', function() {
     
    2120            const queryParams = new URLSearchParams(parsedUrl.search);
    2221
    23             // Get the page and tab parameters
    2422            const pageParam = queryParams.get('page');
    2523            const tabParam = queryParams.get('tab');
    2624
    27             // Check conditions for showing the modal
    2825            if (
    2926                (tabParam === 'home-tab' && pageParam === 'tsd-rdw') ||
Note: See TracChangeset for help on using the changeset viewer.