Boxzilla - Version 3.2.14

Version Description

Download this release

Release Info

Developer DvanKooten
Plugin Icon 128x128 Boxzilla
Version 3.2.14
Comparing to
See all releases

Code changes from version 3.2.13 to 3.2.14

Files changed (3) hide show
  1. boxzilla.php +1 -1
  2. readme.txt +12 -1
  3. src/default-filters.php +2 -2
boxzilla.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Boxzilla
4
- Version: 3.2.13
5
  Plugin URI: https://boxzillaplugin.com/#utm_source=wp-plugin&utm_medium=boxzilla&utm_campaign=plugins-page
6
  Description: Call-To-Action Boxes that display after visitors scroll down far enough. Unobtrusive, but highly conversing!
7
  Author: ibericode
1
  <?php
2
  /*
3
  Plugin Name: Boxzilla
4
+ Version: 3.2.14
5
  Plugin URI: https://boxzillaplugin.com/#utm_source=wp-plugin&utm_medium=boxzilla&utm_campaign=plugins-page
6
  Description: Call-To-Action Boxes that display after visitors scroll down far enough. Unobtrusive, but highly conversing!
7
  Author: ibericode
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://boxzillaplugin.com/#utm_source=wp-plugin-repo&utm_medium=bo
4
  Tags: scroll triggered box, cta, social, pop-up, newsletter, call to action, mailchimp, contact form 7, social media, mc4wp, ibericode
5
  Requires at least: 4.1
6
  Tested up to: 5.2
7
- Stable tag: 3.2.13
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.3
@@ -130,6 +130,13 @@ Have a look at the [frequently asked questions](https://wordpress.org/plugins/bo
130
  == Changelog ==
131
 
132
 
 
 
 
 
 
 
 
133
  #### 3.2.13 - Aug 5, 2019
134
 
135
  **Improvements**
@@ -137,6 +144,10 @@ Have a look at the [frequently asked questions](https://wordpress.org/plugins/bo
137
  - Allow more query hash parameters for opening a box.
138
  - Allow bypassing animation for opening or closing boxes.
139
 
 
 
 
 
140
 
141
  #### 3.2.12 - June 7, 2019
142
 
4
  Tags: scroll triggered box, cta, social, pop-up, newsletter, call to action, mailchimp, contact form 7, social media, mc4wp, ibericode
5
  Requires at least: 4.1
6
  Tested up to: 5.2
7
+ Stable tag: 3.2.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
  Requires PHP: 5.3
130
  == Changelog ==
131
 
132
 
133
+ #### 3.2.14 - Aug 7, 2019
134
+
135
+ **Fixes**
136
+
137
+ - Issue with incorrect argument count for some sites with custom menu's.
138
+
139
+
140
  #### 3.2.13 - Aug 5, 2019
141
 
142
  **Improvements**
144
  - Allow more query hash parameters for opening a box.
145
  - Allow bypassing animation for opening or closing boxes.
146
 
147
+ **Additions**
148
+
149
+ - Easily link to boxes from WP Menu's.
150
+
151
 
152
  #### 3.2.12 - June 7, 2019
153
 
src/default-filters.php CHANGED
@@ -21,7 +21,7 @@ if (class_exists('Jetpack') && class_exists('Jetpack_Photon') && Jetpack::is_mod
21
  *
22
  * TODO: Move this to JavaScript instead?
23
  */
24
- add_filter('nav_menu_link_attributes', function ($atts, $item, $args, $depth)
25
  {
26
  if (strpos($atts['href'], '#boxzilla-') !== 0) {
27
  return $atts;
@@ -31,4 +31,4 @@ add_filter('nav_menu_link_attributes', function ($atts, $item, $args, $depth)
31
  $atts['onclick'] = sprintf('Boxzilla.show(%d); return false;', $id);
32
  $atts['href'] = '';
33
  return $atts;
34
- }, 10, 4);
21
  *
22
  * TODO: Move this to JavaScript instead?
23
  */
24
+ add_filter('nav_menu_link_attributes', function($atts)
25
  {
26
  if (strpos($atts['href'], '#boxzilla-') !== 0) {
27
  return $atts;
31
  $atts['onclick'] = sprintf('Boxzilla.show(%d); return false;', $id);
32
  $atts['href'] = '';
33
  return $atts;
34
+ }, 10, 1);