Plugin Directory

Changeset 3093112


Ignore:
Timestamp:
05/27/2024 11:27:14 AM (23 months ago)
Author:
funnelforms
Message:

Bugfixes

Location:
funnelforms-free
Files:
516 added
5 edited

Legend:

Unmodified
Added
Removed
  • funnelforms-free/trunk/Funnelforms-free.php

    r3090949 r3093112  
    99Text Domain: funnelforms-free
    1010Domain Path: /languages/
    11 Version: 3.7.3.1
     11Version: 3.7.3.2
    1212*/
    1313
  • funnelforms-free/trunk/misc/constants.php

    r3090949 r3093112  
    146146
    147147// Other constants
    148 define( 'FNSF_AF2_FINAL_VERSION', '3.7.3.1' );
     148define( 'FNSF_AF2_FINAL_VERSION', '3.7.3.2' );
    149149define( 'FNSF_AF2_MENU_ICON_URL', plugins_url("/res/images/menu_icon.png", AF2F_PLUGIN) );
    150150define( 'FNSF_AF2_OPENAI_IMAGE_URL', plugins_url("/res/images/openai.png", AF2F_PLUGIN) );
  • funnelforms-free/trunk/misc/version_migrations.php

    r2833737 r3093112  
    77    $af2_version_num_ = intval(get_option('af2_version_num_'));
    88
    9     update_option('af2_version_num_', '2');
     9    if($af2_version_num_ < 3) {
     10
     11        $kontaktformular_posts = get_posts([
     12            'post_type' => FNSF_KONTAKTFNSF_FORMULAR_POST_TYPE,
     13            'post_status' => 'any',
     14            'numberposts' => -1,
     15            'order'    => 'ASC'
     16        ]);
     17       
     18        foreach($kontaktformular_posts as $post) {
     19            require_once FNSF_AF2_MISC_FUNCTIONS_PATH;
     20            $post_content = fnsf_af2_get_post_content($post);
     21
     22            $id = get_post_field( 'ID', $post );
     23
     24            $post_content['show_bottombar'] = empty($post_content['show_bottombar']) ? false : true;
     25            $post_content['use_autorespond'] = empty($post_content['use_autorespond']) ? false : true;
     26            $post_content['use_smtp'] = empty($post_content['use_smtp']) ? false : true;
     27            $post_content['use_wp_mail'] = empty($post_content['use_wp_mail']) ? false : true;
     28           
     29            wp_update_post( array('ID' => $id, 'post_content' => urlencode(serialize($post_content))));
     30        }
     31
     32        update_option('af2_version_num_', '3');
     33    }
    1034}
  • funnelforms-free/trunk/readme.txt

    r3090949 r3093112  
    55Tested up to: 6.4.2
    66Requires PHP: 7.4
    7 Stable tag: 3.7.3.1
     7Stable tag: 3.7.3.2
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    246246== Changelog ==
    247247
     248= 3.7.3.2 - 25. May 2024 =
     249* Major Bugfixes
     250
    248251= 3.7.3.1 - 22. May 2024 =
    249252* Bugfixes
  • funnelforms-free/trunk/res/frontend/scripts/frontend.js

    r3035528 r3093112  
    18451845                }, datas[this.actualData].type_specifics.content_wait_time);
    18461846            }
    1847         }
    1848 
    1849         if (datas[this.actualData].show_bottombar !== undefined && (datas[this.actualData].show_bottombar == 'false' || datas[this.actualData].show_bottombar == false))
    1850         {
    1851             jQuery(this.formSelector + ' .af2_form_bottombar').css('opacity', 0);
    18521847        }
    18531848       
Note: See TracChangeset for help on using the changeset viewer.