Ditty News Ticker - Version 1.3.1

Version Description

  • Big fix from last update
Download this release

Release Info

Developer metaphorcreations
Plugin Icon 128x128 Ditty News Ticker
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3.0 to 1.3.1

Files changed (3) hide show
  1. ditty-news-ticker.php +3 -3
  2. includes/functions.php +2 -3
  3. readme.txt +4 -1
ditty-news-ticker.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ditty News Ticker
4
  Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
- Version: 1.3.0
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
@@ -45,9 +45,9 @@ The icons are licensed under a Creative Commons Attribution
45
  * @since 1.2.1
46
  */
47
  if ( WP_DEBUG ) {
48
- define ( 'MTPHR_DNT_VERSION', '1.3.0-'.time() );
49
  } else {
50
- define ( 'MTPHR_DNT_VERSION', '1.3.0' );
51
  }
52
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
53
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
3
  Plugin Name: Ditty News Ticker
4
  Plugin URI: http://dittynewsticker.com/
5
  Description: Ditty News Ticker is a multi-functional data display plugin
6
+ Version: 1.3.1
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
45
  * @since 1.2.1
46
  */
47
  if ( WP_DEBUG ) {
48
+ define ( 'MTPHR_DNT_VERSION', '1.3.1-'.time() );
49
  } else {
50
+ define ( 'MTPHR_DNT_VERSION', '1.3.1' );
51
  }
52
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
53
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
includes/functions.php CHANGED
@@ -264,7 +264,7 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
264
 
265
 
266
  /* --------------------------------------------------------- */
267
- /* !Create the default ticks - 1.3.0 */
268
  /* --------------------------------------------------------- */
269
 
270
  function mtphr_dnt_default_ticks( $ticks, $id, $meta_data ) {
@@ -282,8 +282,7 @@ function mtphr_dnt_default_ticks( $ticks, $id, $meta_data ) {
282
  if( isset($meta_data['_mtphr_dnt_line_breaks']) && $meta_data['_mtphr_dnt_line_breaks'] ) {
283
  $text = nl2br($tick['tick']);
284
  }
285
- //$text = wp_kses_post($text);
286
- $text = wpautop(convert_chars(wptexturize($text)));
287
 
288
  // Get the contents
289
  if( $link = esc_url($tick['link']) ) {
264
 
265
 
266
  /* --------------------------------------------------------- */
267
+ /* !Create the default ticks - 1.3.1 */
268
  /* --------------------------------------------------------- */
269
 
270
  function mtphr_dnt_default_ticks( $ticks, $id, $meta_data ) {
282
  if( isset($meta_data['_mtphr_dnt_line_breaks']) && $meta_data['_mtphr_dnt_line_breaks'] ) {
283
  $text = nl2br($tick['tick']);
284
  }
285
+ $text = convert_chars(wptexturize($text));
 
286
 
287
  // Get the contents
288
  if( $link = esc_url($tick['link']) ) {
readme.txt CHANGED
@@ -52,6 +52,9 @@ Each individual Ticker post has multiple settings to customize.
52
 
53
  == Changelog ==
54
 
 
 
 
55
  = 1.3.0 =
56
  * Organized code
57
  * Added "Mixed" type to display tickers mixed with multiple ticker types
@@ -163,4 +166,4 @@ Each individual Ticker post has multiple settings to customize.
163
 
164
  == Upgrade Notice ==
165
 
166
- Added a Mixed Type to display a ticker with multiple tick type. Other updates.
52
 
53
  == Changelog ==
54
 
55
+ = 1.3.1 =
56
+ * Big fix from last update
57
+
58
  = 1.3.0 =
59
  * Organized code
60
  * Added "Mixed" type to display tickers mixed with multiple ticker types
166
 
167
  == Upgrade Notice ==
168
 
169
+ Big fix from last update.