Version Description
- Fixed bug that caused the MailPoet integration to fail in some scenarios.
Download this release
Release Info
Developer | griffinjt |
Plugin | Popups by OptinMonster – Best WordPress Lead Generation Plugin |
Version | 1.1.5.8 |
Comparing to | |
See all releases |
Code changes from version 1.1.5.7 to 1.1.5.8
- OMAPI/Output.php +4 -1
- optin-monster-wp-api.php +2 -2
- readme.txt +3 -0
OMAPI/Output.php
CHANGED
@@ -699,9 +699,12 @@ class OMAPI_Output {
|
|
699 |
*/
|
700 |
public function set_slug( $optin ) {
|
701 |
|
|
|
|
|
|
|
|
|
702 |
$shortcode = get_post_meta( $optin->ID, '_omapi_shortcode', true );
|
703 |
if ( $shortcode ) {
|
704 |
-
$this->slugs[] = str_replace( '-', '_', $optin->post_name );
|
705 |
$this->shortcodes[] = get_post_meta( $optin->ID, '_omapi_shortcode_output', true );
|
706 |
}
|
707 |
|
699 |
*/
|
700 |
public function set_slug( $optin ) {
|
701 |
|
702 |
+
// Set the slug.
|
703 |
+
$this->slugs[] = str_replace( '-', '_', $optin->post_name );
|
704 |
+
|
705 |
+
// Maybe set shortcode.
|
706 |
$shortcode = get_post_meta( $optin->ID, '_omapi_shortcode', true );
|
707 |
if ( $shortcode ) {
|
|
|
708 |
$this->shortcodes[] = get_post_meta( $optin->ID, '_omapi_shortcode_output', true );
|
709 |
}
|
710 |
|
optin-monster-wp-api.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: OptinMonster API plugin to connect your WordPress site to your OptinMonster forms.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: https://thomasgriffin.io
|
8 |
-
* Version: 1.1.5.
|
9 |
* Text Domain: optin-monster-api
|
10 |
* Domain Path: languages
|
11 |
*
|
@@ -60,7 +60,7 @@ class OMAPI {
|
|
60 |
*
|
61 |
* @var string
|
62 |
*/
|
63 |
-
public $version = '1.1.5.
|
64 |
|
65 |
/**
|
66 |
* The name of the plugin.
|
5 |
* Description: OptinMonster API plugin to connect your WordPress site to your OptinMonster forms.
|
6 |
* Author: Thomas Griffin
|
7 |
* Author URI: https://thomasgriffin.io
|
8 |
+
* Version: 1.1.5.8
|
9 |
* Text Domain: optin-monster-api
|
10 |
* Domain Path: languages
|
11 |
*
|
60 |
*
|
61 |
* @var string
|
62 |
*/
|
63 |
+
public $version = '1.1.5.8';
|
64 |
|
65 |
/**
|
66 |
* The name of the plugin.
|
readme.txt
CHANGED
@@ -160,6 +160,9 @@ OptinMonster is the <a href="http://optinmonster.com" rel="friend" title="OptinM
|
|
160 |
|
161 |
== Changelog ==
|
162 |
|
|
|
|
|
|
|
163 |
= 1.1.5.7 =
|
164 |
* Improved checks for when to output and localize the OptinMonster API script.
|
165 |
|
160 |
|
161 |
== Changelog ==
|
162 |
|
163 |
+
= 1.1.5.8 =
|
164 |
+
* Fixed bug that caused the MailPoet integration to fail in some scenarios.
|
165 |
+
|
166 |
= 1.1.5.7 =
|
167 |
* Improved checks for when to output and localize the OptinMonster API script.
|
168 |
|