תוסף BoostBot דורש גרסת PHP ומעלה כדי לפעול.
השרת שלך מריץ כרגע גרסה , ש××™× ×” × ×ª×ž×›×ª.
🔧 מה צריך לעשות?
💡 טיפ: מומלץ לעבור ל-PHP 8.1 ×ו 8.2 ×œ×‘×™×¦×•×¢×™× ×”×˜×•×‘×™× ×‘×™×•×ª×¨ ול×בטחה ×ž×¢×•×“×›× ×ª.
'
. 'תוסף BoostBot דורש גרסת PHP 8.0 ומעלה.'
. '
השרת שלך מריץ כרגע גרסה ' . esc_html( PHP_VERSION ) . '.'
. '
💡 טיפ: מומלץ לעבור ל-PHP 8.1 ×ו 8.2 ×œ×‘×™×¦×•×¢×™× ×”×˜×•×‘×™× ×‘×™×•×ª×¨ ול×בטחה ×ž×¢×•×“×›× ×ª.
' . '', 'BoostBot — PHP Version Error', array( 'back_link' => true ) ); } register_activation_hook( __FILE__, 'boostbot_php_version_activation_check' ); // Stop loading the plugin entirely — do not proceed to PHP 8.0+ code. return; } /** * Plugin version. */ define( 'BOOSTBOT_VERSION', '2.2.23' ); /** * Plugin directory path. */ define( 'BOOSTBOT_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /** * Plugin directory URL. */ define( 'BOOSTBOT_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /** * Plugin basename. */ define( 'BOOSTBOT_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /** * Minimum PHP version. */ define( 'BOOSTBOT_MIN_PHP_VERSION', '8.0' ); /** * Minimum WordPress version. */ define( 'BOOSTBOT_MIN_WP_VERSION', '6.2' ); /** * Database version for schema updates. */ // Multilingual: language column on entity tables. // 1.1.3: WooCommerce tables and bundles language column. // Bump DB version to trigger BoostBot_Activator::upgrade_db() on existing installs. define( 'BOOSTBOT_DB_VERSION', '1.2.0' ); /** * Self-hosted flag. * * When true, the plugin uses its own update server (boostbot.boostmedia.co.il). * When false (default), updates come from WordPress.org. * The release script sets this to true in self-hosted ZIP builds. */ if ( ! defined( 'BOOSTBOT_SELF_HOSTED' ) ) { define( 'BOOSTBOT_SELF_HOSTED', false ); } /** * Debug mode - set to false in production. */ if ( ! defined( 'BOOSTBOT_DEBUG' ) ) { define( 'BOOSTBOT_DEBUG', false ); } /** * Check system requirements before loading. * * @return bool */ function boostbot_check_requirements() { $errors = array(); // Check PHP version. if ( version_compare( PHP_VERSION, BOOSTBOT_MIN_PHP_VERSION, '<' ) ) { $errors[] = sprintf( /* translators: 1: Required PHP version, 2: Current PHP version */ __( 'BoostBot requires PHP version %1$s or higher. You are running version %2$s.', 'boostbot' ), BOOSTBOT_MIN_PHP_VERSION, PHP_VERSION ); } // Check WordPress version. global $wp_version; if ( version_compare( $wp_version, BOOSTBOT_MIN_WP_VERSION, '<' ) ) { $errors[] = sprintf( /* translators: 1: Required WordPress version, 2: Current WordPress version */ __( 'BoostBot requires WordPress version %1$s or higher. You are running version %2$s.', 'boostbot' ), BOOSTBOT_MIN_WP_VERSION, $wp_version ); } // Display errors if any. if ( ! empty( $errors ) ) { add_action( 'admin_notices', function() use ( $errors ) { foreach ( $errors as $error ) { printf( '%s