Skip to content

Commit

Permalink
Support popups on front page
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Herman committed Aug 5, 2016
1 parent 75f6d6b commit 9371182
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 23 deletions.
17 changes: 0 additions & 17 deletions admin/class-yikes-inc-easy-mailchimp-extender-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,23 +379,6 @@ public function yikes_easy_mailchimp_premium_support_request() {

$yikes_plugin_support_url = 'https://yikesplugins.com';

if( $license != 'plugin-core' ) {
$split_license = explode( '|', $license );
// first let's check that the license key is actually active
$is_license_key_active = wp_remote_post( esc_url( $yikes_plugin_support_url ), array(
'action' => 'check_license',
'product_name' => urlencode( str_replace( '-', '', $split_license[1] ) . 'for Easy MailChimp' ),
'license' => $split_license[0],
) );

$response_body = wp_remote_retrieve_body( $is_license_key_active );
if( $response_body ) {
if( $response_body->status != 'valid' ) {
wp_die( 'Invalid License Key...' );
}
}
}

// Call the custom API.
$response = wp_remote_post( esc_url( $yikes_plugin_support_url ), array(
'timeout' => 30,
Expand Down
2 changes: 1 addition & 1 deletion includes/class-yikes-inc-easy-mailchimp-extender.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Yikes_Inc_Easy_Mailchimp_Extender {
*/
public function __construct() {
$this->yikes_inc_easy_mailchimp_extender = 'yikes-inc-easy-mailchimp-extender';
$this->version = '6.1.2';
$this->version = YIKES_MC_VERSION;
$this->load_dependencies();
$this->define_admin_hooks();
$this->define_public_hooks();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yikes-inc-easy-mailchimp-extender",
"version": "6.1.3",
"version": "6.1.4",
"description": "Easy MailChimp opt-in forms for your site.",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=dona
Tags: MailChimp, MailChimp forms, MailChimp lists, opt-in forms, sign up form, MailChimp, email, forms, mailing lists, marketing, newsletter, sign up
Requires at least: 4.0
Tested up to: 4.5
Stable tag: 6.1.3
Stable tag: 6.1.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -696,7 +696,7 @@ We have added brand new functionality, allowing users to easily customize forms

= Easy Forms for MailChimp 6.0.5.5 - April 5th, 2016 =

* Fixed icompatability with the avada theme options page.
* Fixed incompatibility with the avada theme options page.
* Removed the admin dashboard widgets for non-admins. Note: To alter, use the `yikes-mailchimp-user-role-access` filter.

= Easy Forms for MailChimp 6.0.5.4 - March 30th, 2016 =
Expand Down
4 changes: 2 additions & 2 deletions yikes-inc-easy-mailchimp-extender.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Easy Forms for MailChimp by YIKES
* Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
* Description: YIKES Easy Forms for MailChimp links your site to MailChimp and allows you to generate and display mailing list opt-in forms anywhere on your site with ease.
* Version: 6.1.3
* Version: 6.1.4
* Author: YIKES
* Author URI: http://www.yikesinc.com/
* License: GPL-3.0+
Expand Down Expand Up @@ -43,7 +43,7 @@
* @return void
*/
if ( ! defined( 'YIKES_MC_VERSION' ) ) {
define( 'YIKES_MC_VERSION' , '6.1.3' );
define( 'YIKES_MC_VERSION' , '6.1.4' );
}

/**
Expand Down

0 comments on commit 9371182

Please sign in to comment.