Changeset 3200691
- Timestamp:
- 12/02/2024 08:25:32 AM (13 months ago)
- Location:
- integration-cds/trunk
- Files:
-
- 3 edited
-
integration-cds.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
integration-cds/trunk/integration-cds.php
r3195144 r3200691 1 1 <?php 2 2 /* 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 3 Plugin Name: Dataverse Integration 4 Plugin URI: https://alexacrm.com/ 5 Description: Integrate Microsoft Dataverse organizations with WordPress. 6 Version: 2.69.1 7 Requires at least: 5.4 8 Requires PHP: 8.2 9 Author: AlexaCRM 10 Author URI: https://alexacrm.com/ 11 License: MIT 12 License URI: https://opensource.org/licenses/MIT 13 Text Domain: integration-cds 14 Domain Path: /languages 13 15 */ 14 16 … … 84 86 * Plugin version. 85 87 */ 86 define( 'ICDS_VERSION', '2.69 ' );88 define( 'ICDS_VERSION', '2.69.1' ); 87 89 88 90 /** … … 98 100 require_once 'vendor/composer/InstalledVersions.php'; 99 101 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 106 if ( $packageInstalled && !empty( $packagePath ) ) { 107 if ( version_compare( $packageVersion, '2.0', '<' ) ) { 102 108 $pluginData = get_plugin_data( __FILE__ ); 103 109 104 add_action( 'admin_notices', function() use ( $pluginData ) { 105 $packagePath = \Composer\InstalledVersions::getInstallPath( 'psr/cache' ); 110 add_action( 'admin_notices', function() use ( $pluginData, $packagePath ) { 106 111 ?> 107 112 <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> 109 114 </div> 110 115 <?php -
integration-cds/trunk/readme.txt
r3195144 r3200691 62 62 == Changelog == 63 63 64 = 2.69.1 = 65 66 * Use more accurate composer dependencies checking 67 64 68 = 2.69 = 65 69 -
integration-cds/trunk/vendor/composer/installed.php
r3195144 r3200691 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 4682450f858bc83a5fa5f06dbb6f13573b065b8c',6 'reference' => 'd23ea8f6fe31af4e3d54b70f0ea842b110412842', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-master', 24 24 'version' => 'dev-master', 25 'reference' => ' 4682450f858bc83a5fa5f06dbb6f13573b065b8c',25 'reference' => 'd23ea8f6fe31af4e3d54b70f0ea842b110412842', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.