Skip to content

Commit

Permalink
1.9.4 release changes
Browse files Browse the repository at this point in the history
  • Loading branch information
picocodes committed Nov 23, 2022
1 parent dd60a8e commit 969592e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion includes/assets/js/dist/admin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'fee0da8cac9788923396');
<?php return array('dependencies' => array(), 'version' => '68691842791b6b332385');
2 changes: 1 addition & 1 deletion includes/assets/js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion includes/assets/js/src/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,20 @@
$( '.noptin-select2' ).each( function() {
let options = {
dropdownParent: $( '#noptin-wrapper' ),
width: 'resolve'
width: 'resolve',
createTag: function (params) {
var term = $.trim(params.term);

if (term === '') {
return null;
}

return {
id: term,
text: term,
newTag: true // add additional parameters
}
},
};

let messages = $( this ).data( 'messages' );
Expand Down
4 changes: 2 additions & 2 deletions noptin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Description: A very fast and lightweight WordPress newsletter plugin
* Author: Noptin Newsletter
* Author URI: https://github.com/picocodes
* Version: 1.9.3
* Version: 1.9.4
* Text Domain: newsletter-optin-box
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Expand Down Expand Up @@ -45,7 +45,7 @@ class Noptin {
* @var string Plugin version
* @since 1.0.0
*/
public $version = '1.9.3';
public $version = '1.9.4';

/**
* The current database version.
Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Tags: newsletter, email newsletter form, email opt-in, email popup, newsletter w
Requires at least: 4.9
Tested up to: 6.1
Requires PHP: 5.6
Version: 1.9.3
Stable tag: 1.9.3
Version: 1.9.4
Stable tag: 1.9.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Donate link: https://noptin.com/products/?utm_source=wp-repo&utm_medium=donate&utm_campaign=readme
Expand Down Expand Up @@ -135,7 +135,7 @@ Yeah. Your newsletter subscription forms will take your theme's default styling.
== Changelog ==

= 1.9.4 =
* Fix: Noptin subscriber overview page blank when certain plugins are active. [https://github.com/lasssim](@lasssim)
* Fix: Noptin newsletter subscribers overview page blank when certain plugins are active. [https://github.com/lasssim](@lasssim)

= 1.9.3 =
* Fix: WooCommerce product purchase automation trigger reverts to intially selected values when saved.
Expand Down

0 comments on commit 969592e

Please sign in to comment.