Changeset 3326082
- Timestamp:
- 07/11/2025 06:13:47 AM (4 months ago)
- Location:
- wine-cellar-manager
- Files:
-
- 2 added
- 6 edited
- 1 copied
- assets/screenshot-6.png (added)
- assets/screenshot-7.png (added)
- tags/3.1.1 (copied) (copied from wine-cellar-manager/trunk)
- tags/3.1.1/class/idealconsumptionalert/wineCellarManager_consumption-notifier_Class.php (modified) (2 diffs)
- tags/3.1.1/readme.txt (modified) (2 diffs)
- tags/3.1.1/wine-cellar-manager.php (modified) (1 diff)
- trunk/class/idealconsumptionalert/wineCellarManager_consumption-notifier_Class.php (modified) (2 diffs)
- trunk/readme.txt (modified) (2 diffs)
- trunk/wine-cellar-manager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wine-cellar-manager/tags/3.1.1/class/idealconsumptionalert/wineCellarManager_consumption-notifier_Class.php
r3323208 r3326082 11 11 add_action( 'wcm_send_consumption_alert_event', [ $this, 'maybe_send_alert_email' ] ); 12 12 13 register_activation_hook( __FILE__, [ __CLASS__, 'schedule_cron' ] ); 13 add_action( 'init', [ $this, 'init_hooks' ] ); 14 14 15 register_deactivation_hook( __FILE__, [ __CLASS__, 'clear_cron' ] ); 16 } 17 18 public function init_hooks() { 19 if ( ! get_option( 'wcm_cron_scheduled' ) ) { 20 self::schedule_cron(); 21 update_option( 'wcm_cron_scheduled', true ); 22 } 15 23 } 16 24 … … 23 31 public static function clear_cron() { 24 32 wp_clear_scheduled_hook( 'wcm_send_consumption_alert_event' ); 33 delete_option( 'wcm_cron_scheduled' ); 25 34 } 26 35 -
wine-cellar-manager/tags/3.1.1/readme.txt
r3323208 r3326082 5 5 Requires PHP: 7.2.5 6 6 Tested up to: 6.8 7 Stable tag: 3.1. 07 Stable tag: 3.1.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 41 41 - **Wine AI Log**: Keep track of past AI interactions with a private log. 42 42 - **Flexible Display Options**: 43 - `[wine_list_menu_type_and_winery]`: Display your collection with advanced filtering ([ Example of use](https://mywinerepository.it/carta-dei-vini/)).43 - `[wine_list_menu_type_and_winery]`: Display your collection with advanced filtering ([See the wine list.](https://mywinerepository.it/carta-dei-vini/)). 44 44 - `[wine_list_menu_type_and_winery_bottom]`: Create a professional wine menu layout. 45 45 - `[wine_list_menu_type_region_winery]`: Display wines grouped by type, then region, then winery, ideal for structured menus with geographic focus. -
wine-cellar-manager/tags/3.1.1/wine-cellar-manager.php
r3323208 r3326082 3 3 Plugin Name: Wine Cellar Manager 4 4 Description: A plugin to manage your wine inventory. 5 Version: 3.1. 05 Version: 3.1.1 6 6 Author: Matteo Enna 7 7 Author URI: https://matteoenna.it/it/wordpress-work/ -
wine-cellar-manager/trunk/class/idealconsumptionalert/wineCellarManager_consumption-notifier_Class.php
r3323208 r3326082 11 11 add_action( 'wcm_send_consumption_alert_event', [ $this, 'maybe_send_alert_email' ] ); 12 12 13 register_activation_hook( __FILE__, [ __CLASS__, 'schedule_cron' ] ); 13 add_action( 'init', [ $this, 'init_hooks' ] ); 14 14 15 register_deactivation_hook( __FILE__, [ __CLASS__, 'clear_cron' ] ); 16 } 17 18 public function init_hooks() { 19 if ( ! get_option( 'wcm_cron_scheduled' ) ) { 20 self::schedule_cron(); 21 update_option( 'wcm_cron_scheduled', true ); 22 } 15 23 } 16 24 … … 23 31 public static function clear_cron() { 24 32 wp_clear_scheduled_hook( 'wcm_send_consumption_alert_event' ); 33 delete_option( 'wcm_cron_scheduled' ); 25 34 } 26 35 -
wine-cellar-manager/trunk/readme.txt
r3323208 r3326082 5 5 Requires PHP: 7.2.5 6 6 Tested up to: 6.8 7 Stable tag: 3.1. 07 Stable tag: 3.1.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 41 41 - **Wine AI Log**: Keep track of past AI interactions with a private log. 42 42 - **Flexible Display Options**: 43 - `[wine_list_menu_type_and_winery]`: Display your collection with advanced filtering ([ Example of use](https://mywinerepository.it/carta-dei-vini/)).43 - `[wine_list_menu_type_and_winery]`: Display your collection with advanced filtering ([See the wine list.](https://mywinerepository.it/carta-dei-vini/)). 44 44 - `[wine_list_menu_type_and_winery_bottom]`: Create a professional wine menu layout. 45 45 - `[wine_list_menu_type_region_winery]`: Display wines grouped by type, then region, then winery, ideal for structured menus with geographic focus. -
wine-cellar-manager/trunk/wine-cellar-manager.php
r3323208 r3326082 3 3 Plugin Name: Wine Cellar Manager 4 4 Description: A plugin to manage your wine inventory. 5 Version: 3.1. 05 Version: 3.1.1 6 6 Author: Matteo Enna 7 7 Author URI: https://matteoenna.it/it/wordpress-work/
Note: See TracChangeset for help on using the changeset viewer.