Changeset 2942806 for wpide/trunk/freemius/templates/debug.php
- Timestamp:
- 07/25/2023 01:33:16 AM (22 months ago)
- File:
- 1 edited
- wpide/trunk/freemius/templates/debug.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
wpide/trunk/freemius/templates/debug.php
r2830392 r2942806 305 305 ?> 306 306 <tr<?php if ( $is_active ) { 307 if ( $fs->has_api_connectivity() && $fs->is_on() ) { 307 $has_api_connectivity = $fs->has_api_connectivity(); 308 309 if ( true === $has_api_connectivity && $fs->is_on() ) { 308 310 echo ' style="background: #E6FFE6; font-weight: bold"'; 309 311 } else { โฆ โฆ 315 317 <td><?php echo $data->version ?></td> 316 318 <td><?php echo $data->title ?></td> 317 <td<?php if ( $is_active && ! $fs->has_api_connectivity()) {319 <td<?php if ( $is_active && true !== $has_api_connectivity ) { 318 320 echo ' style="color: red; text-transform: uppercase;"'; 319 321 } ?>><?php if ( $is_active ) { 320 echo esc_html( $fs->has_api_connectivity()?322 echo esc_html( true === $has_api_connectivity ? 321 323 fs_text_x_inline( 'Connected', 'as connection was successful' ) : 322 fs_text_x_inline( 'Blocked', 'as connection blocked' ) 324 ( false === $has_api_connectivity ? 325 fs_text_x_inline( 'Blocked', 'as connection blocked' ) : 326 fs_text_x_inline( 'Unknown', 'API connectivity state is unknown' ) ) 323 327 ); 324 328 } ?></td>
Note: See TracChangeset for help on using the changeset viewer.