Changeset 3837029
- Timestamp:
- 12/01/2026 08:34:11 AM (39 hours ago)
- Location:
- walio-loyalty-cards
- Files:
-
- 8 edited
- 1 copied
-
assets/icon-128x128.png (modified) ( previous)
-
assets/icon-256x256.png (modified) ( previous)
-
tags/0.7.0 (copied) (copied from walio-loyalty-cards/trunk )
-
tags/0.7.0/languages/walio-loyalty-cards.pot (modified) (1 diff)
-
tags/0.7.0/readme.txt (modified) (2 diffs)
-
tags/0.7.0/walio-woo.php (modified) (3 diffs)
-
trunk/languages/walio-loyalty-cards.pot (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/walio-woo.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
walio-loyalty-cards/tags/0.7.0/languages/walio-loyalty-cards.pot
r3836777 r3837029 339 339 msgid "Walio" 340 340 msgstr "" 341 342 msgid "Walio Loyalty Cards: please deactivate the older Walio for WooCommerce plugin. Until then, this copy stays inactive. Your settings are kept." 343 msgstr "" 344 345 msgid "Walio is now in the WordPress.org plugin directory." 346 msgstr "" 347 348 msgid "Install \"Walio Loyalty Cards for WooCommerce\" via Plugins → Add New Plugin, then deactivate and delete this copy. Your settings are kept and updates will arrive automatically." 349 msgstr "" 350 351 msgid "Install from WordPress.org" 352 msgstr "" -
walio-loyalty-cards/tags/0.7.0/readme.txt
r3836777 r3837029 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.1 7 Stable tag: 0. 6.27 Stable tag: 0.7.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 82 82 == Changelog == 83 83 84 = 0.7.0 = 85 * If the older copy of the plugin (installed from a ZIP file) is still active, this copy stays inactive and asks you to deactivate the older one. Settings are shared. 86 84 87 = 0.6.2 = 85 88 * Renamed to Walio Loyalty Cards for WooCommerce. Test mode notice only on the plugin settings page. -
walio-loyalty-cards/tags/0.7.0/walio-woo.php
r3836777 r3837029 4 4 * Plugin URI: https://walio.cz/ 5 5 * Description: Loyalty stamps for online orders on the customer's Apple or Google Wallet card, loyalty card rewards as discount codes at checkout, and event tickets issued after payment. Requires a Walio account. 6 * Version: 0. 6.26 * Version: 0.7.0 7 7 * Requires at least: 6.4 8 8 * Requires PHP: 8.1 … … 25 25 defined( 'ABSPATH' ) || exit; 26 26 27 define( 'WALIO_WOO_VERSION', '0.6.2' ); 27 /** 28 * Dvě kopie naráz. Starší instalace jsou ze ZIPu z portálu ve složce 29 * `walio-woo`, adresář WordPress.org instaluje do `walio-loyalty-cards`. 30 * Kód je stejný, takže dvě aktivní kopie by si přepsaly konstanty a druhá 31 * by spadla na znovu deklarovaných třídách — celý web by hlásil fatální 32 * chybu. Proto: 33 * - kopie z WordPress.org ustoupí, dokud je aktivní ta z portálu (ta ukáže, 34 * jak přejít), a jen poprosí o její deaktivaci, 35 * - a obecně: když už se jedna kopie načetla, druhá nedělá nic. 36 * Nastavení (wp_options) je pro obě společné, takže přechod nic nesmaže. 37 */ 38 if ( defined( 'WALIO_WOO_FILE' ) ) { 39 return; 40 } 41 if ( 'walio-woo/walio-woo.php' !== plugin_basename( __FILE__ ) 42 && in_array( 'walio-woo/walio-woo.php', (array) get_option( 'active_plugins', array() ), true ) ) { 43 add_action( 44 'admin_notices', 45 static function (): void { 46 if ( ! current_user_can( 'activate_plugins' ) ) { 47 return; 48 } 49 echo '<div class="notice notice-warning"><p>'; 50 esc_html_e( 'Walio Loyalty Cards: please deactivate the older Walio for WooCommerce plugin. Until then, this copy stays inactive. Your settings are kept.', 'walio-loyalty-cards' ); 51 echo '</p></div>'; 52 } 53 ); 54 return; 55 } 56 57 define( 'WALIO_WOO_VERSION', '0.7.0' ); 28 58 define( 'WALIO_WOO_FILE', __FILE__ ); 29 59 define( 'WALIO_WOO_DIR', plugin_dir_path( __FILE__ ) ); … … 55 85 if ( is_readable( $walio_woo_i18n ) ) { 56 86 require_once $walio_woo_i18n; 87 } 88 89 // Výzva k přechodu na verzi z WordPress.org — jen v ZIPu z portálu. 90 $walio_woo_migrate = WALIO_WOO_DIR . 'includes/class-walio-woo-migrate.php'; 91 if ( is_readable( $walio_woo_migrate ) ) { 92 require_once $walio_woo_migrate; 57 93 } 58 94 -
walio-loyalty-cards/trunk/languages/walio-loyalty-cards.pot
r3836777 r3837029 339 339 msgid "Walio" 340 340 msgstr "" 341 342 msgid "Walio Loyalty Cards: please deactivate the older Walio for WooCommerce plugin. Until then, this copy stays inactive. Your settings are kept." 343 msgstr "" 344 345 msgid "Walio is now in the WordPress.org plugin directory." 346 msgstr "" 347 348 msgid "Install \"Walio Loyalty Cards for WooCommerce\" via Plugins → Add New Plugin, then deactivate and delete this copy. Your settings are kept and updates will arrive automatically." 349 msgstr "" 350 351 msgid "Install from WordPress.org" 352 msgstr "" -
walio-loyalty-cards/trunk/readme.txt
r3836777 r3837029 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.1 7 Stable tag: 0. 6.27 Stable tag: 0.7.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 82 82 == Changelog == 83 83 84 = 0.7.0 = 85 * If the older copy of the plugin (installed from a ZIP file) is still active, this copy stays inactive and asks you to deactivate the older one. Settings are shared. 86 84 87 = 0.6.2 = 85 88 * Renamed to Walio Loyalty Cards for WooCommerce. Test mode notice only on the plugin settings page. -
walio-loyalty-cards/trunk/walio-woo.php
r3836777 r3837029 4 4 * Plugin URI: https://walio.cz/ 5 5 * Description: Loyalty stamps for online orders on the customer's Apple or Google Wallet card, loyalty card rewards as discount codes at checkout, and event tickets issued after payment. Requires a Walio account. 6 * Version: 0. 6.26 * Version: 0.7.0 7 7 * Requires at least: 6.4 8 8 * Requires PHP: 8.1 … … 25 25 defined( 'ABSPATH' ) || exit; 26 26 27 define( 'WALIO_WOO_VERSION', '0.6.2' ); 27 /** 28 * Dvě kopie naráz. Starší instalace jsou ze ZIPu z portálu ve složce 29 * `walio-woo`, adresář WordPress.org instaluje do `walio-loyalty-cards`. 30 * Kód je stejný, takže dvě aktivní kopie by si přepsaly konstanty a druhá 31 * by spadla na znovu deklarovaných třídách — celý web by hlásil fatální 32 * chybu. Proto: 33 * - kopie z WordPress.org ustoupí, dokud je aktivní ta z portálu (ta ukáže, 34 * jak přejít), a jen poprosí o její deaktivaci, 35 * - a obecně: když už se jedna kopie načetla, druhá nedělá nic. 36 * Nastavení (wp_options) je pro obě společné, takže přechod nic nesmaže. 37 */ 38 if ( defined( 'WALIO_WOO_FILE' ) ) { 39 return; 40 } 41 if ( 'walio-woo/walio-woo.php' !== plugin_basename( __FILE__ ) 42 && in_array( 'walio-woo/walio-woo.php', (array) get_option( 'active_plugins', array() ), true ) ) { 43 add_action( 44 'admin_notices', 45 static function (): void { 46 if ( ! current_user_can( 'activate_plugins' ) ) { 47 return; 48 } 49 echo '<div class="notice notice-warning"><p>'; 50 esc_html_e( 'Walio Loyalty Cards: please deactivate the older Walio for WooCommerce plugin. Until then, this copy stays inactive. Your settings are kept.', 'walio-loyalty-cards' ); 51 echo '</p></div>'; 52 } 53 ); 54 return; 55 } 56 57 define( 'WALIO_WOO_VERSION', '0.7.0' ); 28 58 define( 'WALIO_WOO_FILE', __FILE__ ); 29 59 define( 'WALIO_WOO_DIR', plugin_dir_path( __FILE__ ) ); … … 55 85 if ( is_readable( $walio_woo_i18n ) ) { 56 86 require_once $walio_woo_i18n; 87 } 88 89 // Výzva k přechodu na verzi z WordPress.org — jen v ZIPu z portálu. 90 $walio_woo_migrate = WALIO_WOO_DIR . 'includes/class-walio-woo-migrate.php'; 91 if ( is_readable( $walio_woo_migrate ) ) { 92 require_once $walio_woo_migrate; 57 93 } 58 94
Note:
See TracChangeset
for help on using the changeset viewer.