Plugin Directory

Changeset 1954572


Ignore:
Timestamp:
10/10/2018 01:38:13 PM (7 years ago)
Author:
Mailgun
Message:

Release version 1.6.1

Location:
mailgun
Files:
5 edited
10 copied

Legend:

Unmodified
Added
Removed
  • mailgun/tags/1.6.1/CHANGELOG.md

    r1951605 r1954572  
    11Changelog
    22=========
     3
     41.6.1 (2018-10-08)
     5- Restore Settings page form for all install types.
    36
    471.6 (2018-9-21)
  • mailgun/tags/1.6.1/includes/admin.php

    r1951605 r1954572  
    321321            endif;
    322322
    323             if ((defined('WP_ALLOW_MULTISITE') && !defined('MAILGUN_REGION'))
    324                 || (!$this->get_option('apiKey') && $this->get_option('useAPI') === '1')
     323            if ((!$this->get_option('apiKey') && $this->get_option('useAPI') === '1')
    325324                || (!$this->get_option('password') && $this->get_option('useAPI') === '0')
    326325                || (!$this->get_option('region') && $this->get_option('useAPI') === '1')
  • mailgun/tags/1.6.1/includes/options-page.php

    r1951605 r1954572  
    6363
    6464    <h3><?php _e('Configuration', 'mailgun'); ?></h3>
    65 
    66     <?php
    67         $isMultisite = defined('WP_ALLOW_MULTISITE');
    68         if (!$isMultisite):
    69     ?>
    7065    <form id="mailgun-form" action="options.php" method="post">
    7166        <?php settings_fields('mailgun'); ?>
     
    326321                            $link = sprintf(
    327322                                wp_kses(
    328                                     __('<a href="%1$s" target="%3$s">Tracking</a> and <a href="%2$s">Tagging</a>', 'mailgun'),
     323                                    __('<a href="%1$s" target="%3$s">Tracking</a> and <a href="%2$s" target="%3$s">Tagging</a>', 'mailgun'),
    329324                                    array('a' => array(
    330325                                        'href' => array(),
     
    340335            </tr>
    341336        </table>
    342         <?php else: ?>
    343             <p>
    344                 <?php
    345                     _e('Once you have configured the plugin settings in your wp-config.php, you can test it here.', 'mailgun');
    346                 ?>
    347             </p>
    348             <p><?php _e('The definitions are as follows:', 'mailgun'); ?></p>
    349             <p>
    350             <pre>
    351 MAILGUN_REGION      Choices: 'us' or 'eu'
    352     ex. define('MAILGUN_REGION', 'us');
    353 MAILGUN_USEAPI      Choices: '0' or '1' (0 = false/no)
    354 MAILGUN_APIKEY
    355 MAILGUN_DOMAIN
    356 MAILGUN_USERNAME
    357 MAILGUN_PASSWORD
    358 MAILGUN_SECURE
    359 MAILGUN_SECTYPE     Choices: 'ssl' or 'tls'
    360 MAILGUN_FROM_NAME
    361 MAILGUN_FROM_ADDRESS
    362             </pre>
    363             </p>
    364         <?php endif; ?>
    365337        <h3><?php _e('Lists', 'mailgun'); ?></h3>
    366338        <table class="form-table">
     
    395367                                array('a' => array(
    396368                                    'href' => array(),
    397                                     'target' => array()
    398369                                    )
    399370                                )
    400                             ), esc_url($url), '_blank'
     371                            ), esc_url($url)
    401372                        );
    402373                        echo $link;
     
    405376            </tr>
    406377        </table>
    407 
    408         <?php if (!$isMultisite): ?>
    409             <p>
    410                 <?php
    411                     _e('Before attempting to test the configuration, please click "Save Changes".', 'mailgun');
    412                 ?>
    413             </p>
    414             <p class="submit">
    415                 <input type="submit"
    416                        class="button-primary"
    417                        value="<?php _e('Save Changes', 'mailgun'); ?>"
    418                 />
    419                 <input type="button"
    420                        id="mailgun-test"
    421                        class="button-secondary"
    422                        value="<?php _e('Test Configuration', 'mailgun'); ?>"
    423                 />
    424             </p>
    425         <?php else: ?>
    426             <p class="submit">
    427                 <input type="button"
    428                        id="mailgun-test"
    429                        class="button-secondary"
    430                        value="<?php _e('Test Configuration', 'mailgun'); ?>"
    431                 />
    432             </p>
    433         <?php endif; ?>
     378        <p>
     379            <?php
     380                _e('Before attempting to test the configuration, please click "Save Changes".', 'mailgun');
     381            ?>
     382        </p>
     383        <p class="submit">
     384            <input type="submit"
     385                   class="button-primary"
     386                   value="<?php _e('Save Changes', 'mailgun'); ?>"
     387            />
     388            <input type="button"
     389                   id="mailgun-test"
     390                   class="button-secondary"
     391                   value="<?php _e('Test Configuration', 'mailgun'); ?>"
     392            />
     393        </p>
    434394    </form>
    435395</div>
  • mailgun/tags/1.6.1/mailgun.php

    r1951605 r1954572  
    55     * Plugin URI:   http://wordpress.org/extend/plugins/mailgun/
    66     * Description:  Mailgun integration for WordPress
    7      * Version:      1.6
     7     * Version:      1.6.1
    88     * Author:       Mailgun
    99     * Author URI:   http://www.mailgun.com/
  • mailgun/tags/1.6.1/readme.txt

    r1951605 r1954572  
    66Requires at least: 3.3
    77Tested up to: 4.9.8
    8 Stable tag: 1.6
     8Stable tag: 1.6.1
    99License: GPLv2 or later
    1010
     
    6161MAILGUN_USERNAME     Type: string
    6262MAILGUN_PASSWORD     Type: string
    63 MAILGUN_SECURE       Type: boolean
     63MAILGUN_SECURE       Type: boolean  Choices: '0' or '1' (0 = false/no)
    6464MAILGUN_SECTYPE      Type: string   Choices: 'ssl' or 'tls'
    6565MAILGUN_FROM_NAME    Type: string
     
    129129
    130130== Changelog ==
     131
     132= 1.6.1 (2018-10-08): =
     133- Restore Settings page form for all install types.
    131134
    132135= 1.6 (2018-9-21): =
  • mailgun/trunk/CHANGELOG.md

    r1951605 r1954572  
    11Changelog
    22=========
     3
     41.6.1 (2018-10-08)
     5- Restore Settings page form for all install types.
    36
    471.6 (2018-9-21)
  • mailgun/trunk/includes/admin.php

    r1951605 r1954572  
    321321            endif;
    322322
    323             if ((defined('WP_ALLOW_MULTISITE') && !defined('MAILGUN_REGION'))
    324                 || (!$this->get_option('apiKey') && $this->get_option('useAPI') === '1')
     323            if ((!$this->get_option('apiKey') && $this->get_option('useAPI') === '1')
    325324                || (!$this->get_option('password') && $this->get_option('useAPI') === '0')
    326325                || (!$this->get_option('region') && $this->get_option('useAPI') === '1')
  • mailgun/trunk/includes/options-page.php

    r1951605 r1954572  
    6363
    6464    <h3><?php _e('Configuration', 'mailgun'); ?></h3>
    65 
    66     <?php
    67         $isMultisite = defined('WP_ALLOW_MULTISITE');
    68         if (!$isMultisite):
    69     ?>
    7065    <form id="mailgun-form" action="options.php" method="post">
    7166        <?php settings_fields('mailgun'); ?>
     
    326321                            $link = sprintf(
    327322                                wp_kses(
    328                                     __('<a href="%1$s" target="%3$s">Tracking</a> and <a href="%2$s">Tagging</a>', 'mailgun'),
     323                                    __('<a href="%1$s" target="%3$s">Tracking</a> and <a href="%2$s" target="%3$s">Tagging</a>', 'mailgun'),
    329324                                    array('a' => array(
    330325                                        'href' => array(),
     
    340335            </tr>
    341336        </table>
    342         <?php else: ?>
    343             <p>
    344                 <?php
    345                     _e('Once you have configured the plugin settings in your wp-config.php, you can test it here.', 'mailgun');
    346                 ?>
    347             </p>
    348             <p><?php _e('The definitions are as follows:', 'mailgun'); ?></p>
    349             <p>
    350             <pre>
    351 MAILGUN_REGION      Choices: 'us' or 'eu'
    352     ex. define('MAILGUN_REGION', 'us');
    353 MAILGUN_USEAPI      Choices: '0' or '1' (0 = false/no)
    354 MAILGUN_APIKEY
    355 MAILGUN_DOMAIN
    356 MAILGUN_USERNAME
    357 MAILGUN_PASSWORD
    358 MAILGUN_SECURE
    359 MAILGUN_SECTYPE     Choices: 'ssl' or 'tls'
    360 MAILGUN_FROM_NAME
    361 MAILGUN_FROM_ADDRESS
    362             </pre>
    363             </p>
    364         <?php endif; ?>
    365337        <h3><?php _e('Lists', 'mailgun'); ?></h3>
    366338        <table class="form-table">
     
    395367                                array('a' => array(
    396368                                    'href' => array(),
    397                                     'target' => array()
    398369                                    )
    399370                                )
    400                             ), esc_url($url), '_blank'
     371                            ), esc_url($url)
    401372                        );
    402373                        echo $link;
     
    405376            </tr>
    406377        </table>
    407 
    408         <?php if (!$isMultisite): ?>
    409             <p>
    410                 <?php
    411                     _e('Before attempting to test the configuration, please click "Save Changes".', 'mailgun');
    412                 ?>
    413             </p>
    414             <p class="submit">
    415                 <input type="submit"
    416                        class="button-primary"
    417                        value="<?php _e('Save Changes', 'mailgun'); ?>"
    418                 />
    419                 <input type="button"
    420                        id="mailgun-test"
    421                        class="button-secondary"
    422                        value="<?php _e('Test Configuration', 'mailgun'); ?>"
    423                 />
    424             </p>
    425         <?php else: ?>
    426             <p class="submit">
    427                 <input type="button"
    428                        id="mailgun-test"
    429                        class="button-secondary"
    430                        value="<?php _e('Test Configuration', 'mailgun'); ?>"
    431                 />
    432             </p>
    433         <?php endif; ?>
     378        <p>
     379            <?php
     380                _e('Before attempting to test the configuration, please click "Save Changes".', 'mailgun');
     381            ?>
     382        </p>
     383        <p class="submit">
     384            <input type="submit"
     385                   class="button-primary"
     386                   value="<?php _e('Save Changes', 'mailgun'); ?>"
     387            />
     388            <input type="button"
     389                   id="mailgun-test"
     390                   class="button-secondary"
     391                   value="<?php _e('Test Configuration', 'mailgun'); ?>"
     392            />
     393        </p>
    434394    </form>
    435395</div>
  • mailgun/trunk/mailgun.php

    r1951605 r1954572  
    55     * Plugin URI:   http://wordpress.org/extend/plugins/mailgun/
    66     * Description:  Mailgun integration for WordPress
    7      * Version:      1.6
     7     * Version:      1.6.1
    88     * Author:       Mailgun
    99     * Author URI:   http://www.mailgun.com/
  • mailgun/trunk/readme.txt

    r1951605 r1954572  
    66Requires at least: 3.3
    77Tested up to: 4.9.8
    8 Stable tag: 1.6
     8Stable tag: 1.6.1
    99License: GPLv2 or later
    1010
     
    6161MAILGUN_USERNAME     Type: string
    6262MAILGUN_PASSWORD     Type: string
    63 MAILGUN_SECURE       Type: boolean
     63MAILGUN_SECURE       Type: boolean  Choices: '0' or '1' (0 = false/no)
    6464MAILGUN_SECTYPE      Type: string   Choices: 'ssl' or 'tls'
    6565MAILGUN_FROM_NAME    Type: string
     
    129129
    130130== Changelog ==
     131
     132= 1.6.1 (2018-10-08): =
     133- Restore Settings page form for all install types.
    131134
    132135= 1.6 (2018-9-21): =
Note: See TracChangeset for help on using the changeset viewer.