Plugin Directory

Changeset 3328375


Ignore:
Timestamp:
07/15/2025 04:01:38 PM (9 months ago)
Author:
cmsjunkie
Message:

Fixed security vulnerability
Fixed packages page
Fixed page title
Fixed multiple warnings

Location:
wp-businessdirectory/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-businessdirectory/trunk/admin/language/en-GB/en-GB.com_jbusinessdirectory.ini

    r3281080 r3328375  
    56085608
    56095609LNG_TIKTOK="Tiktok"
     5610LNG_ERROR_SAVING_STOCK_CONFIGURATION="Error saving stock configuration"
  • wp-businessdirectory/trunk/admin/tables/package.php

    r3281080 r3328375  
    220220        return $db->loadObject();
    221221    }
    222    
    223222   
    224223    public function getCurrentActivePackage($companyId) {
     
    261260        $package = $db->loadObject();
    262261        //dump($package);
    263         if (isset($package)) {
     262        if (!empty($package) && !empty($package->featuresS) ) {
    264263            $package->features = explode(",", $package->featuresS);
    265264        }
  • wp-businessdirectory/trunk/site/classes/services/EmailService.php

    r3281080 r3328375  
    20972097        }
    20982098
    2099         $content = str_replace(EMAIL_WELCOME_TEXT, $welcomeText, $content);
     2099        //$content = str_replace(EMAIL_WELCOME_TEXT, $welcomeText, $content);
    21002100       
    21012101        $subject = $templ->email_subject;
  • wp-businessdirectory/trunk/site/helpers/utils.php

    r3281080 r3328375  
    1010use MVC\Factory;
    1111use MVC\HTML\HTMLHelper;
     12use AllowDynamicProperties;
    1213
    1314/**
     
    59695970        $jsSettings->enable_map_clustering = $appSettings->enable_map_clustering;
    59705971        $jsSettings->map_enable_auto_locate = $appSettings->map_enable_auto_locate;
    5971         $jsSettings->projects_style = $appSettings->projects_style;
     5972        $jsSettings->projects_style = isset($appSettings->projects_style) ? $appSettings->projects_style : null;
    59725973        $jsSettings->search_filter_items = $appSettings->search_filter_items;
    59735974        $jsSettings->event_search_filter_items = $appSettings->event_search_filter_items;
     
    59805981        $jsSettings->search_filter_type = $appSettings->search_filter_type;
    59815982        $jsSettings->offers_search_filter_type = $appSettings->offers_search_filter_type;
    5982         $jsSettings->events_search_filter_type = $appSettings->events_search_filter_type;
    5983         $jsSettings->speaker_img_width = $appSettings->speaker_img_width;
    5984         $jsSettings->speaker_img_height = $appSettings->speaker_img_height;
     5983        $jsSettings->events_search_filter_type = isset($appSettings->events_search_filter_type) ? $appSettings->events_search_filter_type : null;
     5984        $jsSettings->speaker_img_width = isset($appSettings->speaker_img_width) ? $appSettings->speaker_img_width : null;
     5985        $jsSettings->speaker_img_height = isset($appSettings->speaker_img_height) ? $appSettings->speaker_img_height : null;
    59855986        $jsSettings->location_map_marker = $appSettings->location_map_marker;
    59865987        $jsSettings->disable_cropping_types=array(PICTURE_TYPE_CATEGORY_ICON, PICTURE_TYPE_MARKER);
     
    59905991        $jsSettings->google_map_key = $appSettings->google_map_key;
    59915992        $jsSettings->show_search_map = $appSettings->show_search_map;
     5993
    59925994
    59935995        $langTab = JBusinessUtil::getLanguageTag();
Note: See TracChangeset for help on using the changeset viewer.