Plugin Directory

Changeset 3115264


Ignore:
Timestamp:
07/10/2024 05:29:42 AM (20 months ago)
Author:
wiredmindshelp
Message:

Updated from GitLab CI 1.7.2

Location:
ip2content/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ip2content/trunk/Http/Controllers/Api/LicensesApiController.php

    r2939399 r3115264  
    3030        }
    3131
    32         update_option(WordpressOptions::TRACKING_TOKEN, $request->get_param('tracking'));
    33         update_option(WordpressOptions::IP2C_TOKEN, $request->get_param('ip2c'));
     32        update_option(WordpressOptions::TRACKING_TOKEN, trim($request->get_param('tracking')));
     33        update_option(WordpressOptions::IP2C_TOKEN, trim($request->get_param('ip2c')));
    3434
    3535        return HttpResponse::successful($request->get_params());
  • ip2content/trunk/Http/Services/ConditionsWorkflow/ConditionReactor.php

    r3085478 r3115264  
    6161            if ($condition === null) {
    6262                $cc = $this->conditionWithCombinationRepository->getActiveWhereIdIn([$conditionId]);
    63                 if ($cc > 0) {
     63                if (count($cc) > 0) {
    6464                    $conditionAggregates[] = $cc[0];
    6565                    $this->cacheService->set(sprintf('condition.%d', $conditionId), serialize($cc[0]));
  • ip2content/trunk/Http/routes/statistics.php

    r2939399 r3115264  
    3636        'callback' => [$viewsStatisticsApiController, 'updateViewsStatistics'],
    3737        'user_id' => get_current_user_id(),
    38         'permission_callback' => [$viewsStatisticsApiController, 'canManageOptions'],
     38        'permission_callback' => '__return_true',
    3939    ]);
    4040});
  • ip2content/trunk/README.txt

    r3085489 r3115264  
    66Tested up to: 6.2
    77Requires PHP: 7.4
    8 Stable tag: 1.7.1
     8Stable tag: 1.7.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • ip2content/trunk/wmip2c.php

    r3085489 r3115264  
    44Plugin Name: IP2Content
    55Description: IP2Content
    6 Version: 1.7.1
     6Version: 1.7.2
    77Author: WiredMinds
    88Author URI: https://wiredminds.de/
Note: See TracChangeset for help on using the changeset viewer.