Changeset 2952525
- Timestamp:
- 08/12/2023 06:25:02 AM (3 years ago)
- Location:
- whatshelp-chat-button
- Files:
-
- 2 edited
-
tags/1.8.12/whatshelp.php (modified) (2 diffs)
-
trunk/whatshelp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
whatshelp-chat-button/tags/1.8.12/whatshelp.php
r2952523 r2952525 3 3 * Plugin Name: Chat Button by GetButton.io (ex. WhatsHelp) 4 4 * Description: The Chat button by GetButton takes website visitor directly to the messaging app such as Facebook Messenger or WhatsApp and allows them to initiate a conversation with you. After that, both you and your customer can follow up the conversation anytime and anywhere! 5 * Version: 1.8.1 15 * Version: 1.8.12 6 6 * Author: GetButton 7 7 * Author URI: https://getbutton.io … … 156 156 function add_whatshelp_code() 157 157 { 158 $err_output = 'console.warn("Getbutton: parsing code failed!"); return;'; 158 159 echo get_prefix(); 159 160 try { 160 161 echo get_clean_code(get_option('whatshelp-code')); 162 } catch (\Throwable $err) { 163 echo $err_output; 161 164 } catch (\Exception $err) { 162 echo 'console.warn("Getbutton: parsing code failed!"); return;';165 echo $err_output; 163 166 } 164 167 echo get_suffix(); -
whatshelp-chat-button/trunk/whatshelp.php
r2952523 r2952525 3 3 * Plugin Name: Chat Button by GetButton.io (ex. WhatsHelp) 4 4 * Description: The Chat button by GetButton takes website visitor directly to the messaging app such as Facebook Messenger or WhatsApp and allows them to initiate a conversation with you. After that, both you and your customer can follow up the conversation anytime and anywhere! 5 * Version: 1.8.1 15 * Version: 1.8.12 6 6 * Author: GetButton 7 7 * Author URI: https://getbutton.io … … 156 156 function add_whatshelp_code() 157 157 { 158 $err_output = 'console.warn("Getbutton: parsing code failed!"); return;'; 158 159 echo get_prefix(); 159 160 try { 160 161 echo get_clean_code(get_option('whatshelp-code')); 162 } catch (\Throwable $err) { 163 echo $err_output; 161 164 } catch (\Exception $err) { 162 echo 'console.warn("Getbutton: parsing code failed!"); return;';165 echo $err_output; 163 166 } 164 167 echo get_suffix();
Note: See TracChangeset
for help on using the changeset viewer.