1616 * Plugin Name: CBX PhpSpreadSheet Library
1717 * Plugin URI: https://codeboxr.com/php-spreadsheet-library-wordpress-plugin/
1818 * Description: A pure PHP library for reading and writing spreadsheet files https://phpspreadsheet.readthedocs.io/
19- * Version: 1.0.3
19+ * Version: 1.0.4
2020 * Author: Codeboxr
2121 * Author URI: https://github.com/PHPOffice/PhpSpreadsheet
2222 * License: GPL-2.0+
3131}
3232
3333defined ( 'CBXPHPSPREADSHEET_PLUGIN_NAME ' ) or define ( 'CBXPHPSPREADSHEET_PLUGIN_NAME ' , 'cbxphpspreadsheet ' );
34- defined ( 'CBXPHPSPREADSHEET_PLUGIN_VERSION ' ) or define ( 'CBXPHPSPREADSHEET_PLUGIN_VERSION ' , '1.0.3 ' );
34+ defined ( 'CBXPHPSPREADSHEET_PLUGIN_VERSION ' ) or define ( 'CBXPHPSPREADSHEET_PLUGIN_VERSION ' , '1.0.4 ' );
3535defined ( 'CBXPHPSPREADSHEET_BASE_NAME ' ) or define ( 'CBXPHPSPREADSHEET_BASE_NAME ' , plugin_basename ( __FILE__ ) );
3636defined ( 'CBXPHPSPREADSHEET_ROOT_PATH ' ) or define ( 'CBXPHPSPREADSHEET_ROOT_PATH ' , plugin_dir_path ( __FILE__ ) );
3737defined ( 'CBXPHPSPREADSHEET_ROOT_URL ' ) or define ( 'CBXPHPSPREADSHEET_ROOT_URL ' , plugin_dir_url ( __FILE__ ) );
@@ -55,7 +55,7 @@ function __construct() {
5555 */
5656 public static function activation () {
5757 /*$requirements = array(
58- 'PHP 5.6 .0' => version_compare(PHP_VERSION, '5.6 .0', '>='),
58+ 'PHP 7.4 .0' => version_compare(PHP_VERSION, '7.4 .0', '>='),
5959 'PHP extension XML' => extension_loaded('xml'),
6060 'PHP extension xmlwriter' => extension_loaded('xmlwriter'),
6161 'PHP extension mbstring' => extension_loaded('mbstring'),
@@ -71,7 +71,7 @@ public static function activation() {
7171 deactivate_plugins (__FILE__ );
7272
7373 // Throw an error in the wordpress admin console
74- $ error_message = __ ('This plugin requires PHP version 5.6 or newer ' , 'cbxphpspreadsheet ' );
74+ $ error_message = __ ('This plugin requires PHP version 7.4 or newer ' , 'cbxphpspreadsheet ' );
7575 die ($ error_message );
7676 }
7777
@@ -114,7 +114,7 @@ public static function activation() {
114114 * @return bool
115115 */
116116 public static function php_version_check (){
117- if (version_compare (PHP_VERSION , '5.6 .0 ' , '< ' )) {
117+ if (version_compare (PHP_VERSION , '7.4 .0 ' , '< ' )) {
118118 return false ;
119119 }
120120
0 commit comments