Plugin Directory

Changeset 2984001


Ignore:
Timestamp:
10/25/2023 07:08:57 PM (2 years ago)
Author:
8blocks
Message:

1.82 - Options not saving on update, fixed

Location:
1003-mortgage-application/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 1003-mortgage-application/trunk/mortgage-application-pro.php

    r2983328 r2984001  
    55 * Plugin URI:        https://mortgageapplicationplugin.com
    66 * Description:       1003 Mortgage Application is a very easy-to-use wordpress plugin built with the purpose of providing financial industry professionals with a quick and easy way to capture client information.
    7  * Version:           1.81
     7 * Version:           1.82
    88 * Author:            Lenderd
    99 * Author URI:        https://lenderd.com
     
    2020defined('ABSPATH') or die("Access denied!");
    2121
    22 define('MAPP_MORTGAGE_APP_VERSION', '1.81');
     22define('MAPP_MORTGAGE_APP_VERSION', '1.82');
    2323
    2424// DEFINED CONSTANT
     
    7979        // Set hourly event to check uploaded file delete days.
    8080
     81
    8182        $option_data = MAPP_MORTGAGE_APP_BASE_DATA;
    8283        foreach ($option_data as $option_name => $value) {
    8384            if (is_multisite()) {
    84                 update_site_option($option_name, $value);
     85                if (!get_site_option($option_name)) {
     86                    update_site_option($option_name, $value);
     87                }
    8588            } else {
    86                 update_option($option_name, $value);
     89                if (!get_option($option_name)) {
     90                    update_option($option_name, $value);
     91                }
    8792            }
    8893        }
  • 1003-mortgage-application/trunk/readme.txt

    r2983328 r2984001  
    5555
    5656== Changelog ==
     57= 1.82 20231025 =
     58
     59* Options not saving on update, fixed
     60
    5761= 1.81 20231024 =
    5862
Note: See TracChangeset for help on using the changeset viewer.