Plugin Directory

Changeset 3369164


Ignore:
Timestamp:
09/28/2025 10:55:28 AM (6 months ago)
Author:
niaj
Message:

v@1.4.1

Location:
ghl-wizard
Files:
67 added
3 edited

Legend:

Unmodified
Added
Removed
  • ghl-wizard/trunk/ghl-wizard.php

    r3366906 r3369164  
    55 * Plugin URI:        https://betterwizard.com/lead-connector-wizard/
    66 * Description:       Connect WordPress with the popular LeadConnector CRM(HighLevel) and combine the power of automation and excellent user experience. Including memberships, content protection, WooCommerce automation, custom fields & many more...
    7  * Version:           1.4.0
     7 * Version:           1.4.1
    88 * Author:            Better Wizard
    99 * Author URI:        https://connectorwizard.app/
  • ghl-wizard/trunk/inc/options-page.php

    r3366906 r3369164  
    223223
    224224    $associations = hlwpw_get_associations();
     225    if (!is_array($associations)) {
     226        $associations = [];
     227    }
    225228    $user_defined_associations = array_filter($associations, function($item) {
    226         return $item->associationType === 'USER_DEFINED';
     229        return isset($item->associationType) && $item->associationType === 'USER_DEFINED';
    227230    });
    228231
     
    232235    $associations_html = "<option value='0'> - No user defined association - </option>";
    233236    foreach ( $user_defined_associations as $association ) {
     237        $key = isset($association->key) ? esc_html($association->key) : '';
     238        $id = isset($association->id) ? esc_attr($association->id) : '';
    234239        $selected = ( $lcw_association_id == $association->id ) ? 'selected' : '';
    235         $associations_html .= "<option value='{$association->id}' {$selected}> {$association->key} </option>";
     240        $associations_html .= "<option value='{$id}' {$selected}> {$key} </option>";
    236241    }
    237242
  • ghl-wizard/trunk/readme.txt

    r3366906 r3369164  
    66Tested up to: 6.8
    77Requires PHP: 7.0
    8 Stable tag: 1.4.0
     8Stable tag: 1.4.1
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.