Changeset 1236824
- Timestamp:
- 09/03/2015 02:09:00 AM (10 years ago)
- Location:
- userdeck
- Files:
-
- 4 added
- 2 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/readme.txt (added)
-
tags/1.1.3/userdeck.js (added)
-
tags/1.1.3/userdeck.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/userdeck.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
userdeck/trunk/readme.txt
r1224687 r1236824 4 4 Requires at least: 3.7 5 5 Tested up to: 4.3 6 Stable tag: 1.1. 26 Stable tag: 1.1.3 7 7 8 8 Easily integrate UserDeck's embedded support software into your WordPress website. … … 49 49 == Upgrade Notice == 50 50 51 = 1.1.3 = 52 Fixed bug preventing conversations inline widget setup if mailbox wasn't chosen. 53 Fixed bug showing random characters when rendering conversation overlay widget. 54 51 55 = 1.1.2 = 52 56 Added support for multiple Mailboxes and Guides. … … 71 75 72 76 == Changelog == 77 78 = 1.1.3 = 79 * Fixed bug preventing conversations inline widget setup if mailbox wasn't chosen 80 * Fixed bug showing random characters when rendering conversation overlay widget 73 81 74 82 = 1.1.2 = -
userdeck/trunk/userdeck.php
r1213874 r1236824 4 4 * Plugin URI: http://wordpress.org/plugins/userdeck 5 5 * Description: Embedded customer support from <a href="http://userdeck.com?utm_source=wordpress&utm_medium=link&utm_campaign=website">UserDeck</a> that embeds into your website. 6 * Version: 1.1. 26 * Version: 1.1.3 7 7 * Author: UserDeck 8 8 * Author URI: http://userdeck.com?utm_source=wordpress&utm_medium=link&utm_campaign=website … … 251 251 $mailbox_id = get_post_meta($post->ID, 'userdeck_mailbox_id', true); 252 252 253 if (!empty($account_key) && !empty($mailbox_id)) {253 if (!empty($account_key)) { 254 254 return $this->output_conversations_inline_code($account_key, $mailbox_id, $hide_list); 255 255 } … … 307 307 })(document,'script','//widgets.userdeck.com/conversations.js'); 308 308 </script> 309 <noscript><a href="http://userdeck.com">Customer Support Software</a></noscript> ', $mailbox_id, $account_key);309 <noscript><a href="http://userdeck.com">Customer Support Software</a></noscript> 310 310 <?php 311 311 … … 1112 1112 $mailbox_id = $_POST['mailbox_id']; 1113 1113 1114 if (!empty($page_title) && !empty($account_key) && !empty($mailbox_id)) {1114 if (!empty($page_title) && !empty($account_key)) { 1115 1115 $page_id = wp_insert_post( array( 1116 1116 'post_title' => $page_title, … … 1122 1122 1123 1123 update_post_meta( $page_id, 'userdeck_account_key', $account_key ); 1124 update_post_meta( $page_id, 'userdeck_mailbox_id', $mailbox_id ); 1124 1125 if (!empty($mailbox_id)) { 1126 update_post_meta( $page_id, 'userdeck_mailbox_id', $mailbox_id ); 1127 } 1125 1128 1126 1129 wp_redirect( add_query_arg( array('page' => 'userdeck', 'page_added' => 1, 'page_id' => $page_id, 'tab' => 'conversations'), 'admin.php' ) ); … … 1157 1160 $page_id = absint( $_POST['page_id'] ); 1158 1161 $account_key = $_POST['account_key']; 1159 $mailbox_id = absint( $_POST['mailbox_id'] );1162 $mailbox_id = $_POST['mailbox_id']; 1160 1163 1161 if (!empty($page_id) && !empty($account_key) && !empty($mailbox_id)) {1164 if (!empty($page_id) && !empty($account_key)) { 1162 1165 update_post_meta( $page_id, 'userdeck_account_key', $account_key ); 1163 update_post_meta( $page_id, 'userdeck_mailbox_id', $mailbox_id ); 1166 1167 if (!empty($mailbox_id)) { 1168 update_post_meta( $page_id, 'userdeck_mailbox_id', $mailbox_id ); 1169 } 1164 1170 1165 1171 wp_redirect( add_query_arg( array('page' => 'userdeck', 'page_updated' => 1, 'page_id' => $page_id, 'tab' => 'conversations'), 'admin.php' ) );
Note: See TracChangeset
for help on using the changeset viewer.