Ditty News Ticker - Version 1.4.3

Version Description

  • Fixed bug in jQuery setup where extra characters where being written
Download this release

Release Info

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

Code changes from version 1.4.2 to 1.4.3

Files changed (3) hide show
  1. ditty-news-ticker.php +3 -3
  2. includes/scripts.php +4 -4
  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.4.2
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
@@ -34,9 +34,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
34
  * @since 1.4.2
35
  */
36
  if ( WP_DEBUG ) {
37
- define ( 'MTPHR_DNT_VERSION', '1.4.2-'.time() );
38
  } else {
39
- define ( 'MTPHR_DNT_VERSION', '1.4.2' );
40
  }
41
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
42
  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.4.3
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
34
  * @since 1.4.2
35
  */
36
  if ( WP_DEBUG ) {
37
+ define ( 'MTPHR_DNT_VERSION', '1.4.3-'.time() );
38
  } else {
39
+ define ( 'MTPHR_DNT_VERSION', '1.4.3' );
40
  }
41
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
42
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
includes/scripts.php CHANGED
@@ -117,7 +117,7 @@ add_action( 'wp_footer', 'mtphr_dnt_tickers_init_scripts', 20 );
117
  /**
118
  * Initialize the ticker scriptinos
119
  *
120
- * @since 1.3.0
121
  */
122
  function mtphr_dnt_tickers_init_scripts() {
123
 
@@ -156,13 +156,13 @@ function mtphr_dnt_tickers_init_scripts() {
156
  nav_reverse : <?php echo $ticker['nav_reverse']; ?>,
157
  offset : <?php echo $ticker['offset']; ?>,
158
  after_load : function( $ticker ) {
159
- <?php echo apply_filters( 'mtphr_dnt_after_load_rotate', $ticker['id'] ); ?>
160
  },
161
  before_change : function( $ticker ) {
162
- <?php echo apply_filters( 'mtphr_dnt_before_change_rotate', $ticker['id'] ); ?>
163
  },
164
  after_change : function( $ticker ) {
165
- <?php echo apply_filters( 'mtphr_dnt_after_change_rotate', $ticker['id'] ); ?>
166
  }
167
  });
168
  <?php } ?>
117
  /**
118
  * Initialize the ticker scriptinos
119
  *
120
+ * @since 1.4.3
121
  */
122
  function mtphr_dnt_tickers_init_scripts() {
123
 
156
  nav_reverse : <?php echo $ticker['nav_reverse']; ?>,
157
  offset : <?php echo $ticker['offset']; ?>,
158
  after_load : function( $ticker ) {
159
+ <?php echo apply_filters( 'mtphr_dnt_after_load_rotate', '', $ticker['id'] ); ?>
160
  },
161
  before_change : function( $ticker ) {
162
+ <?php echo apply_filters( 'mtphr_dnt_before_change_rotate', '', $ticker['id'] ); ?>
163
  },
164
  after_change : function( $ticker ) {
165
+ <?php echo apply_filters( 'mtphr_dnt_after_change_rotate', '', $ticker['id'] ); ?>
166
  }
167
  });
168
  <?php } ?>
readme.txt CHANGED
@@ -54,6 +54,9 @@ Each individual Ticker post has multiple settings to customize.
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 1.4.2 =
58
  * Added WPML Support
59
  * Fixed jquery script issue for multiple same tickers with unique ids
@@ -208,4 +211,4 @@ Each individual Ticker post has multiple settings to customize.
208
 
209
  == Upgrade Notice ==
210
 
211
- Added WPML Support. Fixed jquery script issue for multiple same tickers with unique ids
54
 
55
  == Changelog ==
56
 
57
+ = 1.4.3 =
58
+ * Fixed bug in jQuery setup where extra characters where being written
59
+
60
  = 1.4.2 =
61
  * Added WPML Support
62
  * Fixed jquery script issue for multiple same tickers with unique ids
211
 
212
  == Upgrade Notice ==
213
 
214
+ Fixed bug in jQuery setup where extra characters where being written