Changeset 2312574
- Timestamp:
- 05/26/2020 07:14:10 PM (6 years ago)
- Location:
- wooms/trunk
- Files:
-
- 3 edited
-
migrations/7-2.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
wooms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wooms/trunk/migrations/7-2.php
r2311211 r2312574 2 2 3 3 namespace WooMS; 4 5 use function Sodium\compare; 4 6 5 7 defined('ABSPATH') || exit; … … 11 13 add_action('admin_init', function () { 12 14 15 if ( ! is_plugin_active( 'wooms-extra/wooms-extra.php' ) ) { 16 return; 17 } 18 13 19 // delete_option('wooms_db_version'); 14 $version = get_option('wooms_db_version', 0);20 $version_db = get_option('wooms_db_version', 0); 15 21 16 22 $wooms_file = ABSPATH . PLUGINDIR . '/wooms/wooms.php'; 17 23 $data = get_plugin_data($wooms_file); 18 24 19 if ('7.2' != $data['Version']) { 25 26 27 if (version_compare('7.2', $data['Version'], '>')) { 20 28 return; 21 29 } 22 30 23 if (version_compare('7.2', $version , '<=')) {31 if (version_compare('7.2', $version_db, '<=')) { 24 32 return; 25 33 } … … 45 53 add_action( 'admin_notices', function(){ 46 54 55 if ( ! is_plugin_active( 'wooms-extra/wooms-extra.php' ) ) { 56 delete_option('wooms_db_version_check_7_2'); 57 return; 58 } 59 47 60 if( ! get_option('wooms_db_version_check_7_2')){ 48 61 return; 49 62 } 63 50 64 $wooms_file = ABSPATH . PLUGINDIR . '/wooms-extra/wooms-extra.php'; 51 65 $data = get_plugin_data($wooms_file); -
wooms/trunk/readme.txt
r2311211 r2312574 82 82 83 83 == Changelog == 84 85 = 7.3 = 86 * Fix: Проблема с работой базового плагина в отрыве от расширения https://github.com/wpcraft-ru/wooms/issues/298 87 * Fix: Не передаются доп атрибуты типа text https://github.com/wpcraft-ru/wooms/issues/299 88 84 89 85 90 = 7.2 = -
wooms/trunk/wooms.php
r2311211 r2312574 17 17 * License: GPLv2 or later 18 18 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 19 * Version: 7.220 19 * WooMS XT Latest: 7.2 20 * Version: 7.3 21 21 */ 22 22
Note: See TracChangeset
for help on using the changeset viewer.