Plugin Directory

Changeset 2649297


Ignore:
Timestamp:
12/27/2021 06:04:41 AM (4 years ago)
Author:
freshchat
Message:

tagging version 2.3.4

Location:
freshchat
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • freshchat/tags/2.3.4/Readme.txt

    r2201351 r2649297  
    44Tags: freshchat, freshworks, freshdesk, chat
    55Requires at least: 3.0.1
    6 Tested up to: 5.3.0
     6Tested up to: 5.8.2
    77Requires PHP: 5.2.4
    8 Stable tag: 2.3.3
     8Stable tag: 2.3.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • freshchat/tags/2.3.4/freshchat.php

    r2201351 r2649297  
    22/*
    33Plugin Name: Freshchat
    4 Version: 2.3.3
     4Version: 2.3.4
    55Author: Freshchat
    66Description: Modern messaging software that your sales and customer engagement teams will love.
  • freshchat/tags/2.3.4/widget-settings/settings.php

    r2201341 r2649297  
    55{
    66  // Get options
    7   $options = get_option('fc_settings');
     7  $options = get_option('fc_settings', []);
    88
    99  // Check to see if Freshchat is enabled
    1010  $fc_activated = false;
    11   if ( esc_attr( $options['fc_enabled'] ) == "on" ) {
     11  if ( ! empty ( $options['fc_enabled'] ) && esc_attr( $options['fc_enabled'] ) == "on" ) {
    1212    $fc_activated = true;
    1313    wp_cache_flush();
     
    6262                  </th>
    6363                  <td>
    64                     <textarea rows="15" cols="100" placeholder="<!-- Insert the Freshchat snippet -->" name="fc_settings[fc_widget_code]"><?php echo esc_attr( $options['fc_widget_code'] ); ?></textarea>
     64                    <textarea rows="15" cols="100" placeholder="<!-- Insert the Freshchat snippet -->" name="fc_settings[fc_widget_code]"><?php if (! empty ( $options['fc_widget_code'] )) { echo esc_attr( $options['fc_widget_code'] ); } ?></textarea>
    6565                  </td>
    6666              </tr>
  • freshchat/trunk/Readme.txt

    r2201351 r2649297  
    44Tags: freshchat, freshworks, freshdesk, chat
    55Requires at least: 3.0.1
    6 Tested up to: 5.3.0
     6Tested up to: 5.8.2
    77Requires PHP: 5.2.4
    8 Stable tag: 2.3.3
     8Stable tag: 2.3.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • freshchat/trunk/freshchat.php

    r2201351 r2649297  
    22/*
    33Plugin Name: Freshchat
    4 Version: 2.3.3
     4Version: 2.3.4
    55Author: Freshchat
    66Description: Modern messaging software that your sales and customer engagement teams will love.
  • freshchat/trunk/widget-settings/settings.php

    r2201341 r2649297  
    55{
    66  // Get options
    7   $options = get_option('fc_settings');
     7  $options = get_option('fc_settings', []);
    88
    99  // Check to see if Freshchat is enabled
    1010  $fc_activated = false;
    11   if ( esc_attr( $options['fc_enabled'] ) == "on" ) {
     11  if ( ! empty ( $options['fc_enabled'] ) && esc_attr( $options['fc_enabled'] ) == "on" ) {
    1212    $fc_activated = true;
    1313    wp_cache_flush();
     
    6262                  </th>
    6363                  <td>
    64                     <textarea rows="15" cols="100" placeholder="<!-- Insert the Freshchat snippet -->" name="fc_settings[fc_widget_code]"><?php echo esc_attr( $options['fc_widget_code'] ); ?></textarea>
     64                    <textarea rows="15" cols="100" placeholder="<!-- Insert the Freshchat snippet -->" name="fc_settings[fc_widget_code]"><?php if (! empty ( $options['fc_widget_code'] )) { echo esc_attr( $options['fc_widget_code'] ); } ?></textarea>
    6565                  </td>
    6666              </tr>
Note: See TracChangeset for help on using the changeset viewer.