Plugin Directory

Changeset 2369093


Ignore:
Timestamp:
08/26/2020 02:52:04 AM (6 years ago)
Author:
RapidDev
Message:

Fixed wellcome message?

Location:
social-messenger
Files:
8 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • social-messenger/trunk/assets/class.php

    r2364479 r2369093  
    125125
    126126                $html .= '<script>';
    127                 $html .= 'window.fbAsyncInit = function(){FB.init({xfbml:true,version:"v4.0"});};';
     127                $html .= 'window.fbAsyncInit = function(){FB.init({xfbml:true,version:"v8.0"});};';
    128128                $html .= '(function(d, s, id){var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.facebook.net/'.$language.'/sdk/xfbml.customerchat.js";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));';
    129129                $html .= '</script>'.PHP_EOL;
     
    219219                $message = get_theme_mod('social_messenger_greetings_logged', '');
    220220               
    221                 if (empty($message))
     221                if ( trim( $message ) != '' )
    222222                {
    223223                    if (function_exists('pll__'))
     
    243243                $message = get_theme_mod('social_messenger_greetings_notlogged', '');
    244244
    245                 if (!empty($message))
     245                if ( trim( $message ) != '' )
    246246                {
    247247                    if (function_exists('pll__'))
  • social-messenger/trunk/readme.txt

    r2364479 r2369093  
    9999== Changelog ==
    100100
     101= 2.4.2 =
     1021. Fixed bug with welcome message
     103
    101104= 2.4.1 =
    1021051. Improved display on the left side and on the center
  • social-messenger/trunk/social_messenger.php

    r2364479 r2369093  
    88License: MIT
    99License URI: https://opensource.org/licenses/MIT
    10 Version: 2.4.1
     10Version: 2.4.2
    1111Text Domain: social_messenger
    1212Domain Path: /languages
Note: See TracChangeset for help on using the changeset viewer.