Version Description
- Resolved bug in ticker widget.
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 2.1.15 |
Comparing to | |
See all releases |
Code changes from version 2.1.14 to 2.1.15
- ditty-news-ticker.php +2 -2
- includes/widget.php +3 -3
- readme.txt +4 -1
ditty-news-ticker.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://dittynewsticker.com/
|
|
5 |
Description: Ditty News Ticker is a multi-functional data display plugin
|
6 |
Text Domain: ditty-news-ticker
|
7 |
Domain Path: languages
|
8 |
-
Version: 2.1.
|
9 |
Author: Metaphor Creations
|
10 |
Author URI: http://www.metaphorcreations.com
|
11 |
Contributors: metaphorcreations
|
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
31 |
|
32 |
|
33 |
|
34 |
-
define( 'MTPHR_DNT_VERSION', '2.1.
|
35 |
define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
|
36 |
define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
|
37 |
|
5 |
Description: Ditty News Ticker is a multi-functional data display plugin
|
6 |
Text Domain: ditty-news-ticker
|
7 |
Domain Path: languages
|
8 |
+
Version: 2.1.15
|
9 |
Author: Metaphor Creations
|
10 |
Author URI: http://www.metaphorcreations.com
|
11 |
Contributors: metaphorcreations
|
31 |
|
32 |
|
33 |
|
34 |
+
define( 'MTPHR_DNT_VERSION', '2.1.15' );
|
35 |
define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
|
36 |
define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
|
37 |
|
includes/widget.php
CHANGED
@@ -85,9 +85,9 @@ class mtphr_dnt_widget extends WP_Widget {
|
|
85 |
|
86 |
// Strip tags (if needed) and update the widget settings
|
87 |
$instance['title'] = sanitize_text_field( $new_instance['title'] );
|
88 |
-
$instance['ticker'] = $new_instance['ticker'];
|
89 |
-
$instance['ticker_title'] = $new_instance['ticker_title'];
|
90 |
-
$instance['ticker_hide'] = $new_instance['ticker_hide'];
|
91 |
|
92 |
return $instance;
|
93 |
}
|
85 |
|
86 |
// Strip tags (if needed) and update the widget settings
|
87 |
$instance['title'] = sanitize_text_field( $new_instance['title'] );
|
88 |
+
$instance['ticker'] = isset( $new_instance['ticker'] ) ? $new_instance['ticker'] : false;
|
89 |
+
$instance['ticker_title'] = isset($new_instance['ticker_title']) ? $new_instance['ticker_title'] : 0;
|
90 |
+
$instance['ticker_hide'] = isset($new_instance['ticker_hide']) ? $new_instance['ticker_hide'] : 0;
|
91 |
|
92 |
return $instance;
|
93 |
}
|
readme.txt
CHANGED
@@ -72,6 +72,9 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
|
|
72 |
|
73 |
== Changelog ==
|
74 |
|
|
|
|
|
|
|
75 |
= 2.1.14 =
|
76 |
* Added shortcode option to reverse the tick order for rotating tickers. Use reverse="1".
|
77 |
|
@@ -448,4 +451,4 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
|
|
448 |
|
449 |
== Upgrade Notice ==
|
450 |
|
451 |
-
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 2.1.15 =
|
76 |
+
* Resolved bug in ticker widget.
|
77 |
+
|
78 |
= 2.1.14 =
|
79 |
* Added shortcode option to reverse the tick order for rotating tickers. Use reverse="1".
|
80 |
|
451 |
|
452 |
== Upgrade Notice ==
|
453 |
|
454 |
+
Resolved bug in ticker widget.
|