Plugin Directory

Changeset 3200691


Ignore:
Timestamp:
12/02/2024 08:25:32 AM (13 months ago)
Author:
alexacrm
Message:

Release 2.69.1

Location:
integration-cds/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • integration-cds/trunk/integration-cds.php

    r3195144 r3200691  
    11<?php
    22/*
    3 Plugin Name:  Dataverse Integration
    4 Plugin URI:   https://alexacrm.com/
    5 Description:  Integrate Microsoft Dataverse organizations with WordPress.
    6 Version:      2.69
    7 Author:       AlexaCRM
    8 Author URI:   https://alexacrm.com/
    9 License:      MIT
    10 License URI:  https://opensource.org/licenses/MIT
    11 Text Domain:  integration-cds
    12 Domain Path:  /languages
     3Plugin Name:        Dataverse Integration
     4Plugin URI:         https://alexacrm.com/
     5Description:        Integrate Microsoft Dataverse organizations with WordPress.
     6Version:            2.69.1
     7Requires at least:  5.4
     8Requires PHP:       8.2
     9Author:             AlexaCRM
     10Author URI:         https://alexacrm.com/
     11License:            MIT
     12License URI:        https://opensource.org/licenses/MIT
     13Text Domain:        integration-cds
     14Domain Path:        /languages
    1315*/
    1416
     
    8486 * Plugin version.
    8587 */
    86 define( 'ICDS_VERSION', '2.69' );
     88define( 'ICDS_VERSION', '2.69.1' );
    8789
    8890/**
     
    98100require_once 'vendor/composer/InstalledVersions.php';
    99101
    100 if ( \Composer\InstalledVersions::isInstalled( 'psr/cache' ) ) {
    101     if ( version_compare( \Composer\InstalledVersions::getVersion( 'psr/cache' ), '2.0', '<' ) ) {
     102$packageInstalled = \Composer\InstalledVersions::isInstalled( 'psr/cache' );
     103$packagePath = \Composer\InstalledVersions::getInstallPath( 'psr/cache' );
     104$packageVersion = \Composer\InstalledVersions::getVersion( 'psr/cache' );
     105
     106if ( $packageInstalled && !empty( $packagePath ) ) {
     107    if ( version_compare( $packageVersion, '2.0', '<' ) ) {
    102108        $pluginData = get_plugin_data( __FILE__ );
    103109
    104         add_action( 'admin_notices', function() use ( $pluginData ) {
    105             $packagePath = \Composer\InstalledVersions::getInstallPath( 'psr/cache' );
     110        add_action( 'admin_notices', function() use ( $pluginData, $packagePath ) {
    106111            ?>
    107112            <div class="notice notice-warning">
    108                 <p><?php echo "{$pluginData['name']} was deactivated because an incompatible version of a PHP library found at {$packagePath}. Please contact support for {$pluginData['name']} for further information."; ?></p>
     113                <p><?php echo "{$pluginData['Name']} was deactivated because an incompatible version of a PHP library found at {$packagePath}. Please contact support for {$pluginData['Name']} for further information."; ?></p>
    109114            </div>
    110115            <?php
  • integration-cds/trunk/readme.txt

    r3195144 r3200691  
    6262== Changelog ==
    6363
     64= 2.69.1 =
     65
     66* Use more accurate composer dependencies checking
     67
    6468= 2.69 =
    6569
  • integration-cds/trunk/vendor/composer/installed.php

    r3195144 r3200691  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '4682450f858bc83a5fa5f06dbb6f13573b065b8c',
     6        'reference' => 'd23ea8f6fe31af4e3d54b70f0ea842b110412842',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => '4682450f858bc83a5fa5f06dbb6f13573b065b8c',
     25            'reference' => 'd23ea8f6fe31af4e3d54b70f0ea842b110412842',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.