Plugin Directory

Changeset 1236824


Ignore:
Timestamp:
09/03/2015 02:09:00 AM (10 years ago)
Author:
userdeck
Message:

Tagging version 1.1.3

Location:
userdeck
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • userdeck/trunk/readme.txt

    r1224687 r1236824  
    44Requires at least: 3.7
    55Tested up to: 4.3
    6 Stable tag: 1.1.2
     6Stable tag: 1.1.3
    77
    88Easily integrate UserDeck's embedded support software into your WordPress website.
     
    4949== Upgrade Notice ==
    5050
     51= 1.1.3 =
     52Fixed bug preventing conversations inline widget setup if mailbox wasn't chosen.
     53Fixed bug showing random characters when rendering conversation overlay widget.
     54
    5155= 1.1.2 =
    5256Added support for multiple Mailboxes and Guides.
     
    7175
    7276== 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
    7381
    7482= 1.1.2 =
  • userdeck/trunk/userdeck.php

    r1213874 r1236824  
    44 * Plugin URI: http://wordpress.org/plugins/userdeck
    55 * 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.2
     6 * Version: 1.1.3
    77 * Author: UserDeck
    88 * Author URI: http://userdeck.com?utm_source=wordpress&utm_medium=link&utm_campaign=website
     
    251251            $mailbox_id = get_post_meta($post->ID, 'userdeck_mailbox_id', true);
    252252           
    253             if (!empty($account_key) && !empty($mailbox_id)) {
     253            if (!empty($account_key)) {
    254254                return $this->output_conversations_inline_code($account_key, $mailbox_id, $hide_list);
    255255            }
     
    307307            })(document,'script','//widgets.userdeck.com/conversations.js');
    308308            </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>
    310310        <?php
    311311       
     
    11121112                        $mailbox_id = $_POST['mailbox_id'];
    11131113                       
    1114                         if (!empty($page_title) && !empty($account_key) && !empty($mailbox_id)) {
     1114                        if (!empty($page_title) && !empty($account_key)) {
    11151115                            $page_id = wp_insert_post( array(
    11161116                                'post_title'     => $page_title,
     
    11221122                           
    11231123                            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                            }
    11251128                           
    11261129                            wp_redirect( add_query_arg( array('page' => 'userdeck', 'page_added' => 1, 'page_id' => $page_id, 'tab' => 'conversations'), 'admin.php' ) );
     
    11571160                        $page_id = absint( $_POST['page_id'] );
    11581161                        $account_key = $_POST['account_key'];
    1159                         $mailbox_id = absint( $_POST['mailbox_id'] );
     1162                        $mailbox_id = $_POST['mailbox_id'];
    11601163                       
    1161                         if (!empty($page_id) && !empty($account_key) && !empty($mailbox_id)) {
     1164                        if (!empty($page_id) && !empty($account_key)) {
    11621165                            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                            }
    11641170                           
    11651171                            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.