Changeset 3277218
- Timestamp:
- 04/19/2025 01:24:05 PM (9 months ago)
- Location:
- raffle-play-woo/trunk
- Files:
-
- 2 edited
-
raffle-play-woo.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
raffle-play-woo/trunk/raffle-play-woo.php
r3254308 r3277218 3 3 * Plugin Name: Raffle Play Woo 4 4 * Plugin URI: https://tuskcode.com 5 * Version: 2.4. 45 * Version: 2.4.5 6 6 * Author: dan009 7 7 * Description: Raffle Play Woo is the next raffle plugin for your website. It offers a complete workflow of managing raffle tickets from the admin view to the user experience. … … 13 13 die('No Access to this page'); 14 14 15 $RafflePlayWoo_MinimalRequiredPhpVersion = '5.2'; 16 if( ! defined('RAFFLE_PLAY_WOO_VERSION')) define('RAFFLE_PLAY_WOO_VERSION', '2.4.4'); 17 if( ! defined('RAFFLE_PLAY_WOO_WP_TESTED')) define('RAFFLE_PLAY_WOO_WP_TESTED', '6.7'); 15 if( ! defined('RAFFLE_PLAY_WOO_VERSION')) define('RAFFLE_PLAY_WOO_VERSION', '2.4.5'); 16 if( ! defined('RAFFLE_PLAY_WOO_WP_TESTED')) define('RAFFLE_PLAY_WOO_WP_TESTED', '6.8'); 18 17 if( ! defined('RAFFLE_PLAY_WOO_URL')) define( 'RAFFLE_PLAY_WOO_URL', esc_url( plugins_url( '', __FILE__ ) ) ); 19 18 if( ! defined('RAFFLE_PLAY_WOO_DIR_PATH') ) define('RAFFLE_PLAY_WOO_DIR_PATH', plugin_dir_path( __FILE__ )); 20 19 if( ! defined('RAFFLE_PLAY_WOO_LOG_FILE')) define( 'RAFFLE_PLAY_WOO_LOG_FILE', RAFFLE_PLAY_WOO_DIR_PATH . 'logs/RafflePlayWoo_error.log' ); 21 22 /* Check the php version, and display a message if the running version is lower than the required on */23 24 function RafflePlayWoo_noticePhpVersionWrong(){25 global $RafflePlayWoo_MinimalRequiredPhpVersion;26 echo '<div class="updated fade">' .27 esc_html__( 'Error: plugin "Raffle Play" requires a higher version of PHP to be running.', 'raffle-play-woo' ).28 '<br/>' . esc_html__('Minimal version of PHP required: ', 'raffle-play-woo' ) . '<strong>' . $RafflePlayWoo_MinimalRequiredPhpVersion . '</strong>'.29 '<br/>' . esc_html__('Your server\'s PHP version: ', 'raffle-play-woo' ) . '<strong>' . phpversion() . '</strong></div>';30 }31 20 32 21 function RafflePlayWoo_RaffleNotLicensed(){ … … 52 41 } 53 42 54 function RafflePlayWoo_PhpVersionCheck(){55 global $RafflePlayWoo_MinimalRequiredPhpVersion;56 if( version_compare(phpversion(), $RafflePlayWoo_MinimalRequiredPhpVersion ) < 0 ){57 add_action('admin_notices', 'RafflePlayWoo_noticePhpVersionWrong');58 return false;59 }60 return true;61 }62 63 43 function RafflePlayWoo_WoocommerceInstalled(){ 64 44 $result = false; … … 78 58 } 79 59 80 if( RafflePlayWoo_ PhpVersionCheck() && RafflePlayWoo_WoocommerceInstalled() ){60 if( RafflePlayWoo_WoocommerceInstalled() ){ 81 61 include_once( 'raffle-play-woo_init.php'); 82 62 RafflePlayWoo_init\RafflePlayWoo_init::RafflePlayWoo_init_plugin( __FILE__ ); -
raffle-play-woo/trunk/readme.txt
r3254308 r3277218 4 4 Tags: raffle, raffle tickets, raffle tickets generator, woocommerce raffle tickets 5 5 Requires at least: 5.0.1 6 Tested up to: 6. 77 Stable tag: 2.4. 46 Tested up to: 6.8 7 Stable tag: 2.4.5 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later … … 35 35 36 36 == Changelog == 37 38 = 2025-04-19 39 * Compatible with Wordpress 6.8 40 * Removed notice if PHP version is less than 5.2 37 41 38 42 = 2025-03-11
Note: See TracChangeset
for help on using the changeset viewer.