Changeset 2101843
- Timestamp:
- 06/06/2019 08:40:03 PM (7 years ago)
- Location:
- help-scout
- Files:
-
- 59 added
- 4 edited
-
tags/6.0.7 (added)
-
tags/6.0.7/HelpScout_Desk.php (added)
-
tags/6.0.7/controllers (added)
-
tags/6.0.7/controllers/Beacon.php (added)
-
tags/6.0.7/controllers/Forms.php (added)
-
tags/6.0.7/controllers/HelpScout_API.php (added)
-
tags/6.0.7/controllers/Settings.php (added)
-
tags/6.0.7/controllers/_Controller.php (added)
-
tags/6.0.7/controllers/_Settings.php (added)
-
tags/6.0.7/help-scout.php (added)
-
tags/6.0.7/languages (added)
-
tags/6.0.7/languages/HSD_l10n.php (added)
-
tags/6.0.7/languages/help-scout-desk.mo (added)
-
tags/6.0.7/languages/help-scout-desk.po (added)
-
tags/6.0.7/load.php (added)
-
tags/6.0.7/readme.txt (added)
-
tags/6.0.7/resources (added)
-
tags/6.0.7/resources/admin (added)
-
tags/6.0.7/resources/admin/css (added)
-
tags/6.0.7/resources/admin/css/hsd.css (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff/.fontcustom-data (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff/sproutapps-ff.eot (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff/sproutapps-ff.svg (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff/sproutapps-ff.ttf (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff/sproutapps-ff.woff (added)
-
tags/6.0.7/resources/admin/css/sproutapps-ff/style.css (added)
-
tags/6.0.7/resources/admin/icons (added)
-
tags/6.0.7/resources/admin/icons/sproutapps-banner.png (added)
-
tags/6.0.7/resources/admin/icons/sproutapps-flat-small-white.png (added)
-
tags/6.0.7/resources/admin/icons/sproutapps-flat-small.png (added)
-
tags/6.0.7/resources/admin/icons/sproutapps-flat.png (added)
-
tags/6.0.7/resources/admin/icons/sproutapps.png (added)
-
tags/6.0.7/resources/admin/img (added)
-
tags/6.0.7/resources/admin/img/spinner-2x.gif (added)
-
tags/6.0.7/resources/admin/img/spinner.gif (added)
-
tags/6.0.7/resources/admin/js (added)
-
tags/6.0.7/resources/admin/js/hsd.js (added)
-
tags/6.0.7/resources/front-end (added)
-
tags/6.0.7/resources/front-end/css (added)
-
tags/6.0.7/resources/front-end/css/hsd.style.css (added)
-
tags/6.0.7/resources/front-end/img (added)
-
tags/6.0.7/resources/front-end/img/ajax-loader.gif (added)
-
tags/6.0.7/resources/front-end/js (added)
-
tags/6.0.7/resources/front-end/js/hsd.js (added)
-
tags/6.0.7/resources/front-end/plugins (added)
-
tags/6.0.7/resources/plugins (added)
-
tags/6.0.7/screenshot-1.png (added)
-
tags/6.0.7/screenshot-2.gif (added)
-
tags/6.0.7/template-tags (added)
-
tags/6.0.7/template-tags/help-scout-desk.php (added)
-
tags/6.0.7/views (added)
-
tags/6.0.7/views/admin (added)
-
tags/6.0.7/views/admin/settings.php (added)
-
tags/6.0.7/views/admin/sprout-apps-dashboard.php (added)
-
tags/6.0.7/views/section (added)
-
tags/6.0.7/views/shortcodes (added)
-
tags/6.0.7/views/shortcodes/conversation_form.php (added)
-
tags/6.0.7/views/shortcodes/success_message.php (added)
-
trunk/HelpScout_Desk.php (modified) (1 diff)
-
trunk/controllers/HelpScout_API.php (modified) (3 diffs)
-
trunk/help-scout.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
help-scout/trunk/HelpScout_Desk.php
r2100503 r2101843 35 35 * Current version. Should match help-scout-desk.php plugin version. 36 36 */ 37 const HSD_VERSION = '6.0. 5';37 const HSD_VERSION = '6.0.7'; 38 38 /** 39 39 * DB Version -
help-scout/trunk/controllers/HelpScout_API.php
r2083837 r2101843 224 224 225 225 public static function get_full_conversations_by_user( $customer_id = 0, $refresh = false, $mailbox_id = 0, $page = 1, $status = 'all' ) { 226 227 226 if ( ! $customer_id ) { 228 227 $customer_ids = self::find_customer_ids( $customer_id, $refresh ); … … 238 237 foreach ( $customer_ids as $customer_id ) { 239 238 240 $query = sprintf( '?query=(customerIds: %2$s)&mailboxid=%1$s&status=%4$s&sortField=modifiedAt&sortOrder=desc&page=%3$s', $mailbox_id, $customer_id, $page, $status ); 241 239 $query = sprintf( '?query=(customerIds:%2$s)&mailbox=%1$s&status=%4$s&sortField=modifiedAt&sortOrder=desc&page=%3$s', $mailbox_id, $customer_id, $page, $status ); 242 240 $response = self::api_request( 'conversations', $query, $refresh ); 243 241 $response = json_decode( $response ); … … 492 490 $mailbox_id = self::$mailbox; 493 491 } 494 $endpoint = sprintf( 'conversations?query=(customerIds: %2$s)&mailboxid=%1$s&status=all&sortField=modifiedAt&sortOrder=desc&page=1', $mailbox_id, $customer_id );492 $endpoint = sprintf( 'conversations?query=(customerIds:%2$s)&mailbox=%1$s&status=all&sortField=modifiedAt&sortOrder=desc&page=1', $mailbox_id, $customer_id ); 495 493 delete_transient( self::get_cache_key( $endpoint ) ); 496 494 } -
help-scout/trunk/help-scout.php
r2100503 r2101843 3 3 /** 4 4 * @package Help_Scout_Desk 5 * @version 6.0. 55 * @version 6.0.7 6 6 */ 7 7 … … 11 11 * Description: Allows for Help Scout conversations to be easily created on your site, with full beacon support. If you're wanting to display conversations on your site checkout <a href="https://wphelpscout.com/?utm_medium=link&utm_campaign=hsfree&utm_source=wordpress.org">Help Scout Desk</a>. 12 12 * Author: Sprout Apps 13 * Version: 6.0. 513 * Version: 6.0.7 14 14 * Author URI: https://wphelpscout.com 15 15 * Text Domain: help-scout-desk -
help-scout/trunk/readme.txt
r2100503 r2101843 4 4 Requires at least: 4.5 5 5 Tested up to: 5.2 6 Stable tag: 6.0. 57 Release 6.0. 56 Stable tag: 6.0.7 7 Release 6.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 1. Upload plugin folder to your `/wp-content/plugins/` directory 33 33 1. Activate the plugin through the **Plugins** menu in WordPress 34 1. Open the settings for the plugin, then add your A PI keyand Mailbox ID.34 1. Open the settings for the plugin, then add your Application ID, App Secret, and Mailbox ID. 35 35 1. Add `[hsd_form]` shortcode to a page or post to capture contact submissions OR use the Help Scout beacon. 36 36
Note: See TracChangeset
for help on using the changeset viewer.