Plugin Directory

Changeset 2312574


Ignore:
Timestamp:
05/26/2020 07:14:10 PM (6 years ago)
Author:
casepress
Message:

7.3 update

Location:
wooms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wooms/trunk/migrations/7-2.php

    r2311211 r2312574  
    22
    33namespace WooMS;
     4
     5use function Sodium\compare;
    46
    57defined('ABSPATH') || exit;
     
    1113add_action('admin_init', function () {
    1214
     15    if ( ! is_plugin_active( 'wooms-extra/wooms-extra.php' ) ) {
     16        return;
     17    }
     18   
    1319    // delete_option('wooms_db_version');
    14     $version = get_option('wooms_db_version', 0);
     20    $version_db = get_option('wooms_db_version', 0);
    1521
    1622    $wooms_file = ABSPATH . PLUGINDIR . '/wooms/wooms.php';
    1723    $data = get_plugin_data($wooms_file);
    1824
    19     if ('7.2' != $data['Version']) {
     25
     26
     27    if (version_compare('7.2', $data['Version'], '>')) {
    2028        return;
    2129    }
    2230
    23     if (version_compare('7.2', $version, '<=')) {
     31    if (version_compare('7.2', $version_db, '<=')) {
    2432        return;
    2533    }
     
    4553add_action( 'admin_notices', function(){
    4654
     55    if ( ! is_plugin_active( 'wooms-extra/wooms-extra.php' ) ) {
     56        delete_option('wooms_db_version_check_7_2');
     57        return;
     58    }
     59
    4760    if( ! get_option('wooms_db_version_check_7_2')){
    4861        return;
    4962    }
     63
    5064    $wooms_file = ABSPATH . PLUGINDIR . '/wooms-extra/wooms-extra.php';
    5165    $data = get_plugin_data($wooms_file);
  • wooms/trunk/readme.txt

    r2311211 r2312574  
    8282
    8383== 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
    8489
    8590= 7.2 =
  • wooms/trunk/wooms.php

    r2311211 r2312574  
    1717 * License: GPLv2 or later
    1818 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
    19  * Version: 7.2
    2019 * WooMS XT Latest: 7.2
     20 * Version: 7.3
    2121 */
    2222
Note: See TracChangeset for help on using the changeset viewer.