Plugin Directory

Changeset 2257634


Ignore:
Timestamp:
03/09/2020 04:49:47 PM (6 years ago)
Author:
bobintercom
Message:

Testing with Wordpress 5.4

Location:
intercom/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • intercom/trunk/bootstrap.php

    r2195694 r2257634  
    66Author: Intercom
    77Author URI: https://www.intercom.io
    8 Version: 2.6.3
     8Version: 2.6.4
    99 */
    1010
     
    103103      $dismissable_message = $this->dismissibleMessage('You successfully authenticated with Intercom');
    104104    }
    105     $onboarding_markup = $this->getOnboardingLinkIfNoAppId();
    106105
    107106    return <<<END
     
    134133                </a>
    135134              </div>
    136               $onboarding_markup
    137135            </div>
    138136
     
    147145                  <br/>
    148146                  <br/>
    149                   <a class="c__blue" href="https://app.intercom.io/a/apps/$app_id" target="_blank">Click here to access your Intercom Team Inbox.</a>
     147                  <a class="c__blue" href="https://app.intercom.com/a/apps/$app_id" target="_blank">Click here to access your Intercom Team Inbox.</a>
    150148                  <br/>
    151149                  <br/>
     
    282280    return $this->styles;
    283281  }
    284 
    285   private function getOnboardingLinkIfNoAppId()
    286   {
    287     $settings = $this->getSettings();
    288     $app_id = $settings['app_id'];
    289     if(!$app_id) {
    290       return '<p>Need an Intercom account? <a target="_blank" href="https://app.intercom.io/a/get_started/add_people?signupMethod=integrate&userSource=wordpress">Get started</a>.</p>';
    291     } else {
    292       return '';
    293     }
    294   }
    295282}
    296283
  • intercom/trunk/readme.txt

    r2195694 r2257634  
    44Tags: intercom, customer, chat
    55Requires at least: 4.2.0
    6 Tested up to: 5.3
     6Tested up to: 5.4
    77
    88The official WordPress plugin, built by Intercom.
Note: See TracChangeset for help on using the changeset viewer.