Changeset 2649297
- Timestamp:
- 12/27/2021 06:04:41 AM (4 years ago)
- Location:
- freshchat
- Files:
-
- 6 edited
- 1 copied
-
tags/2.3.4 (copied) (copied from freshchat/trunk)
-
tags/2.3.4/Readme.txt (modified) (1 diff)
-
tags/2.3.4/freshchat.php (modified) (1 diff)
-
tags/2.3.4/widget-settings/settings.php (modified) (2 diffs)
-
trunk/Readme.txt (modified) (1 diff)
-
trunk/freshchat.php (modified) (1 diff)
-
trunk/widget-settings/settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
freshchat/tags/2.3.4/Readme.txt
r2201351 r2649297 4 4 Tags: freshchat, freshworks, freshdesk, chat 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 3.06 Tested up to: 5.8.2 7 7 Requires PHP: 5.2.4 8 Stable tag: 2.3. 38 Stable tag: 2.3.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
freshchat/tags/2.3.4/freshchat.php
r2201351 r2649297 2 2 /* 3 3 Plugin Name: Freshchat 4 Version: 2.3. 34 Version: 2.3.4 5 5 Author: Freshchat 6 6 Description: Modern messaging software that your sales and customer engagement teams will love. -
freshchat/tags/2.3.4/widget-settings/settings.php
r2201341 r2649297 5 5 { 6 6 // Get options 7 $options = get_option('fc_settings' );7 $options = get_option('fc_settings', []); 8 8 9 9 // Check to see if Freshchat is enabled 10 10 $fc_activated = false; 11 if ( esc_attr( $options['fc_enabled'] ) == "on" ) {11 if ( ! empty ( $options['fc_enabled'] ) && esc_attr( $options['fc_enabled'] ) == "on" ) { 12 12 $fc_activated = true; 13 13 wp_cache_flush(); … … 62 62 </th> 63 63 <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> 65 65 </td> 66 66 </tr> -
freshchat/trunk/Readme.txt
r2201351 r2649297 4 4 Tags: freshchat, freshworks, freshdesk, chat 5 5 Requires at least: 3.0.1 6 Tested up to: 5. 3.06 Tested up to: 5.8.2 7 7 Requires PHP: 5.2.4 8 Stable tag: 2.3. 38 Stable tag: 2.3.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
freshchat/trunk/freshchat.php
r2201351 r2649297 2 2 /* 3 3 Plugin Name: Freshchat 4 Version: 2.3. 34 Version: 2.3.4 5 5 Author: Freshchat 6 6 Description: Modern messaging software that your sales and customer engagement teams will love. -
freshchat/trunk/widget-settings/settings.php
r2201341 r2649297 5 5 { 6 6 // Get options 7 $options = get_option('fc_settings' );7 $options = get_option('fc_settings', []); 8 8 9 9 // Check to see if Freshchat is enabled 10 10 $fc_activated = false; 11 if ( esc_attr( $options['fc_enabled'] ) == "on" ) {11 if ( ! empty ( $options['fc_enabled'] ) && esc_attr( $options['fc_enabled'] ) == "on" ) { 12 12 $fc_activated = true; 13 13 wp_cache_flush(); … … 62 62 </th> 63 63 <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> 65 65 </td> 66 66 </tr>
Note: See TracChangeset
for help on using the changeset viewer.