Ditty News Ticker - Version 1.4.15

Version Description

  • Admin metabox bug fix
Download this release

Release Info

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

Code changes from version 1.4.14 to 1.4.15

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.14
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
@@ -29,10 +29,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
 
30
 
31
  /* --------------------------------------------------------- */
32
- /* !Define constants - 1.4.14 */
33
  /* --------------------------------------------------------- */
34
 
35
- define ( 'MTPHR_DNT_VERSION', '1.4.14' );
36
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
37
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
38
 
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.15
7
  Author: Metaphor Creations
8
  Author URI: http://www.metaphorcreations.com
9
  License: GPL2
29
 
30
 
31
  /* --------------------------------------------------------- */
32
+ /* !Define constants - 1.4.15 */
33
  /* --------------------------------------------------------- */
34
 
35
+ define ( 'MTPHR_DNT_VERSION', '1.4.15' );
36
  define ( 'MTPHR_DNT_DIR', plugin_dir_path(__FILE__) );
37
  define ( 'MTPHR_DNT_URL', plugins_url().'/ditty-news-ticker' );
38
 
includes/admin/meta-boxes.php CHANGED
@@ -795,7 +795,7 @@ function mtphr_dnt_global_settings_render_metabox() {
795
 
796
 
797
  /* --------------------------------------------------------- */
798
- /* !Save the custom meta - 1.4.13 */
799
  /* --------------------------------------------------------- */
800
 
801
  function mtphr_dnt_metabox_save( $post_id ) {
@@ -858,9 +858,9 @@ function mtphr_dnt_metabox_save( $post_id ) {
858
  if( count($_POST['_mtphr_dnt_mixed_ticks']) > 0 ) {
859
  foreach( $_POST['_mtphr_dnt_mixed_ticks'] as $tick ) {
860
  $sanitized_ticks[] = array(
861
- 'type' => $tick['type'],
862
- 'offset' => intval($tick['offset']),
863
- 'all' => isset($tick['all']) ? $tick['all'] : ''
864
  );
865
  }
866
  }
795
 
796
 
797
  /* --------------------------------------------------------- */
798
+ /* !Save the custom meta - 1.4.15 */
799
  /* --------------------------------------------------------- */
800
 
801
  function mtphr_dnt_metabox_save( $post_id ) {
858
  if( count($_POST['_mtphr_dnt_mixed_ticks']) > 0 ) {
859
  foreach( $_POST['_mtphr_dnt_mixed_ticks'] as $tick ) {
860
  $sanitized_ticks[] = array(
861
+ 'type' => isset($tick['type']) ? $tick['type'] : '',
862
+ 'offset' => isset($tick['offset']) ? intval($tick['offset']) : 0,
863
+ 'all' => (isset($tick['all']) && $tick['all'] == 'on') ? $tick['all'] : ''
864
  );
865
  }
866
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: metaphorcreations
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FUZKZGAJSBAE6
4
  Tags: ticker, news, news ticker, rotator, data rotator, lists, data
5
  Requires at least: 3.2
6
- Tested up to: 4.0
7
  Stable tag: /trunk/
8
  License: GPL2
9
 
@@ -54,6 +54,9 @@ Each individual Ticker post has multiple settings to customize.
54
 
55
  == Changelog ==
56
 
 
 
 
57
  = 1.4.14 =
58
  * Added Italian translation files
59
 
@@ -258,4 +261,4 @@ Each individual Ticker post has multiple settings to customize.
258
 
259
  == Upgrade Notice ==
260
 
261
- Added Italian translation files.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FUZKZGAJSBAE6
4
  Tags: ticker, news, news ticker, rotator, data rotator, lists, data
5
  Requires at least: 3.2
6
+ Tested up to: 4.1
7
  Stable tag: /trunk/
8
  License: GPL2
9
 
54
 
55
  == Changelog ==
56
 
57
+ = 1.4.15 =
58
+ * Admin metabox bug fix
59
+
60
  = 1.4.14 =
61
  * Added Italian translation files
62
 
261
 
262
  == Upgrade Notice ==
263
 
264
+ Admin metabox bug fix.