Changeset 1879316
- Timestamp:
- 05/22/2018 04:11:58 PM (8 years ago)
- Location:
- livehelpnow-helpdesk/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (2 diffs)
-
src/class/API/WidgetsOptions.php (modified) (1 diff)
-
src/templates/admin/chat-settings-dictionary.php (modified) (2 diffs)
-
src/templates/admin/chat-settings-options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
livehelpnow-helpdesk/trunk/readme.txt
r1859590 r1879316 4 4 Requires at least: 4.5 5 5 Requires PHP: 5.4 6 Tested up to: 4.9. 56 Tested up to: 4.9.6 7 7 Stable tag: 0.1.8 8 8 License GPLv2 or later … … 89 89 90 90 = 0.1.8 = 91 * Added check for cURL installed and activated before plugin activation. 91 * Changed widget options API endpoint. 92 * Additional layer of error handling implemented. 92 93 93 94 = 0.1.7 = -
livehelpnow-helpdesk/trunk/src/class/API/WidgetsOptions.php
r1806916 r1879316 22 22 23 23 $api = new API(); 24 $response = $api->get_response( 'https://developer.livehelpnow.net/api/ui/ hoc/options' );24 $response = $api->get_response( 'https://developer.livehelpnow.net/api/ui/embedded/options' ); 25 25 26 26 if ( $type != 'options' && $type != 'dictionary' ) { -
livehelpnow-helpdesk/trunk/src/templates/admin/chat-settings-dictionary.php
r1806916 r1879316 8 8 ?> 9 9 10 <?php if ( $widgets_dictionary) : ?>10 <?php if ( ! is_wp_error( $widgets_dictionary ) ) : ?> 11 11 <?php $widgets_dictionary_meta = get_post_meta( get_the_ID(), 'chat_dictionary', true ); ?> 12 12 <?php foreach ( $widgets_dictionary as $option ) : ?> … … 25 25 </div> 26 26 <?php endforeach; ?> 27 <?php else : ?> 28 <?php require_once LHN_CHAT_PLUGIN_DIR_PATH . 'src/templates/admin/api-error-info.php'; ?> 27 29 <?php endif; ?> -
livehelpnow-helpdesk/trunk/src/templates/admin/chat-settings-options.php
r1806916 r1879316 8 8 ?> 9 9 10 <?php if ( $widgets_options) : ?>10 <?php if ( ! is_wp_error( $widgets_options ) ) : ?> 11 11 <?php $widgets_options_meta = get_post_meta( get_the_ID(), 'chat_options', true ); ?> 12 12 <?php foreach ( $widgets_options as $option ) : ?> … … 25 25 </div> 26 26 <?php endforeach; ?> 27 <?php else : ?> 28 <?php require_once LHN_CHAT_PLUGIN_DIR_PATH . 'src/templates/admin/api-error-info.php'; ?> 27 29 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.