Plugin Directory

Changeset 3066741


Ignore:
Timestamp:
04/08/2024 09:49:28 AM (22 months ago)
Author:
ramshengale
Message:

v2.5.3

Location:
notifier
Files:
234 added
4 edited

Legend:

Unmodified
Added
Removed
  • notifier/trunk/README.txt

    r3066523 r3066741  
    55Requires at least: 5.0
    66Tested up to: 6.5
    7 Stable tag: 2.5.2
     7Stable tag: 2.5.3
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    129129
    130130== Changelog ==
     131= 2.5.3 - 2024-04-08 =
     132* fix: Minor warnings.
     133
    131134= 2.5.2 - 2024-04-03 =
    132135* add: Activity logs for debugging.
  • notifier/trunk/includes/class-notifier.php

    r3064698 r3066741  
    2424     */
    2525    private function define_constants() {
    26         $this->define( 'NOTIFIER_VERSION', '2.5.2' );
     26        $this->define( 'NOTIFIER_VERSION', '2.5.3' );
    2727        $this->define( 'NOTIFIER_NAME', 'notifier' );
    2828        $this->define( 'NOTIFIER_PREFIX', 'notifier_' );
     
    130130
    131131        $args = array();
    132         if (!isset($notifier_plugin_data['as_clear_log']) && $notifier_plugin_data['as_clear_log'] !== 'yes') {
     132        if (!isset($notifier_plugin_data['as_clear_log']) || $notifier_plugin_data['as_clear_log'] !== 'yes') {
    133133            if (false === as_next_scheduled_action('notifier_clean_old_logs')) {
    134134                as_schedule_recurring_action(time(), DAY_IN_SECONDS, 'notifier_clean_old_logs', $args);
  • notifier/trunk/includes/classes/integrations/class-notifier-fluentforms.php

    r2920209 r3066741  
    9898                                }
    9999
    100                                 $field_type = $cval['attributes']['type'];
     100                                $field_type = isset($cval['attributes']['type']) ? $cval['attributes']['type']: '';
    101101                                $field_lbl = !empty($cval['settings']['label'])?$cval['settings']['label']:'Field_'.$cval['attributes']['name'];
    102102                                $field_name = $cval['attributes']['name'];
     
    165165            foreach($fields_data as $field_key => $field_value){
    166166
    167                 $field_name = $field_value['name'];
     167                $field_name = isset($field_value['name']) ? $field_value['name'] : '';
    168168                $field_label = $field_value['label'];
    169169                $field_type = $field_value['type'];
     
    219219                                }
    220220
    221                                 $field_type = $cval['attributes']['type'];
     221                                $field_type = isset($cval['attributes']['type']) ? $cval['attributes']['type'] : '';
    222222                                if('tel' == $field_type){
    223223                                    $field_lbl = !empty($cval['settings']['label'])?$cval['settings']['label']:'Field_'.$cval['attributes']['name'];
     
    233233                    }
    234234                }else {
    235                     $field_type = $value['attributes']['type'];
     235                    $field_type = isset($value['attributes']['type']) ? $value['attributes']['type'] : '';
    236236                    if('tel' == $field_type){
    237237                        $field_name = $value['attributes']['name'];
     
    260260                }
    261261
    262                 $field_name = $field_value['name'];
     262                $field_name = isset($field_value['name']) ? $field_value['name'] : '';
    263263                $field_label = $field_value['label'];
    264264
  • notifier/trunk/views/admin-tools.php

    r3064698 r3066741  
    4747                                <option value="">Select date</option>
    4848                                <?php foreach ($dates as $date){ ?>
    49                                     <option value="<?php echo esc_attr($date); ?>" <?php selected($selected_date, $date); ?>><?php echo esc_html($date); ?></option>
     49                                    <option value="<?php echo esc_attr($date); ?>"><?php echo esc_html($date); ?></option>
    5050                                <?php } ?>
    5151                            </select>
Note: See TracChangeset for help on using the changeset viewer.