Changeset 2257634
- Timestamp:
- 03/09/2020 04:49:47 PM (6 years ago)
- Location:
- intercom/trunk
- Files:
-
- 2 edited
-
bootstrap.php (modified) (5 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
intercom/trunk/bootstrap.php
r2195694 r2257634 6 6 Author: Intercom 7 7 Author URI: https://www.intercom.io 8 Version: 2.6. 38 Version: 2.6.4 9 9 */ 10 10 … … 103 103 $dismissable_message = $this->dismissibleMessage('You successfully authenticated with Intercom'); 104 104 } 105 $onboarding_markup = $this->getOnboardingLinkIfNoAppId();106 105 107 106 return <<<END … … 134 133 </a> 135 134 </div> 136 $onboarding_markup137 135 </div> 138 136 … … 147 145 <br/> 148 146 <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> 150 148 <br/> 151 149 <br/> … … 282 280 return $this->styles; 283 281 } 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 }295 282 } 296 283 -
intercom/trunk/readme.txt
r2195694 r2257634 4 4 Tags: intercom, customer, chat 5 5 Requires at least: 4.2.0 6 Tested up to: 5. 36 Tested up to: 5.4 7 7 8 8 The official WordPress plugin, built by Intercom.
Note: See TracChangeset
for help on using the changeset viewer.