Plugin Directory

Changeset 1489834

Timestamp:
09/04/2016 08:04:55 PM (8 years ago)
Author:
jbrinley
Message:

version 1.1.2 - bugfixes

Location:
mailgun-subscriptions/trunk
Files:
11 added
5 edited

Legend:

Unmodified
Added
Removed
  • mailgun-subscriptions/trunk/Mailgun_Subscriptions/Admin_Page.php

    r1469692 r1489834  
    198198                'default' => 0,
    199199            )
     200
     201
     202
     203
     204
     205
    200206        );
    201207    }
  • mailgun-subscriptions/trunk/Mailgun_Subscriptions/Plugin.php

    r1469692 r1489834  
    66
    77class Plugin {
    8     const VERSION = '1.1.1';
     8    const VERSION = '1.1.';
    99
    1010    /** @var Plugin */
     
    6868    private function setup( $plugin_file ) {
    6969        self::$plugin_file = $plugin_file;
    70         spl_autoload_register( array( __CLASS__, 'autoload' ) );
    7170        if ( is_admin() ) {
    7271            $this->setup_admin_page();
     
    205204        return self::$instance;
    206205    }
    207 
    208     public static function autoload( $class ) {
    209         if (substr($class, 0, strlen(__NAMESPACE__)) != __NAMESPACE__) {
    210             //Only autoload libraries from this package
    211             return;
    212         }
    213         $path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
    214         $path = dirname(self::$plugin_file) . DIRECTORY_SEPARATOR . $path . '.php';
    215         if (file_exists($path)) {
    216             require $path;
    217         }
    218     }
    219206}
  • mailgun-subscriptions/trunk/mailgun-subscriptions.php

    r1469692 r1489834  
    66Author: Flightless
    77Author URI: http://flightless.us/
    8 Version: 1.1.1
     8Version: 1.1.
    99Text Domain: mailgun-subscriptions
    1010Domain Path: /languages
     
    1414
    1515    function mailgun_subscriptions_load() {
     16
    1617        add_action( 'init', 'mailgun_load_textdomain', 10, 0 );
    1718        if ( mailgun_subscriptions_version_check() ) {
    18             require_once('Mailgun_Subscriptions/Plugin.php');
    1919            \Mailgun_Subscriptions\Plugin::init(__FILE__);
    2020        } else {
  • mailgun-subscriptions/trunk/readme.txt

    r1469692 r1489834  
    44Requires at least: 3.9
    55Tested up to: 4.6
    6 Stable tag: 1.1.1
    7 License: BSD 3-Clause
    8 License URI: http://opensource.org/licenses/BSD-3-Clause
     6Stable tag: 1.1.
     7License:
     8License URI: http
    99
    1010Add a Mailgun subscription form to your WordPress site. Your visitors can use the form to subscribe to your lists using the Mailgun API.
     
    2121== Changelog ==
    2222
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
    2333= 1.1 =
    2434
  • mailgun-subscriptions/trunk/uninstall.php

    r994371 r1489834  
    55}
    66
    7 require_once('Mailgun_Subscriptions/Cleanup.php');
     7require_once();
    88
    99function mailgun_clear_cron() {
     
    1818function mailgun_clear_options() {
    1919    foreach ( array(
     20
    2021        'mailgun_api_key',
    2122        'mailgun_api_public_key',
     23
     24
    2225        'mailgun_confirmation_page',
    23         'mailgun_confirmation_expiration',
    24         'mailgun_confirmation_email_template',
     26        'mailgun_',
     27        'mailgun_n_email_template',
    2528        'mailgun_welcome_email_template',
    26         'mailgun_lists',
    2729    ) as $option ) {
    2830        delete_option( $option );
Note: See TracChangeset for help on using the changeset viewer.