File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636define ( 'CLDN_CORE ' , __FILE__ );
3737define ( 'CLDN_PATH ' , plugin_dir_path ( __FILE__ ) );
3838
39- if ( version_compare ( phpversion (), '5.6 ' , '>= ' ) ) {
39+ if ( version_compare ( phpversion (), '7.4 ' , '>= ' ) ) {
4040 require_once __DIR__ . '/instance.php ' ;
4141 register_activation_hook ( __FILE__ , array ( 'Cloudinary\Utils ' , 'install ' ) );
4242} else { // phpcs:ignore Universal.ControlStructures.DisallowLonelyIf.Found
@@ -60,5 +60,5 @@ function php_version_error() {
6060 * @return string
6161 */
6262function php_version_text () {
63- return __ ( 'Cloudinary plugin error: Your version of PHP is too old to run this plugin. You must be running PHP 5.6 or higher. ' , 'cloudinary ' );
63+ return __ ( 'Cloudinary plugin error: Your version of PHP is too old to run this plugin. You must be running PHP 7.4 or higher. ' , 'cloudinary ' );
6464}
Original file line number Diff line number Diff line change 1515 },
1616 "config" : {
1717 "platform" : {
18- "php" : " 5.6.20 "
18+ "php" : " 7.4 "
1919 },
2020 "allow-plugins" : {
2121 "dealerdirect/phpcodesniffer-composer-installer" : true
You can’t perform that action at this time.
0 commit comments