Ditty News Ticker - Version 2.1.25

Version Description

  • Minor admin css update
Download this release

Release Info

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

Code changes from version 2.1.24 to 2.1.25

assets/css/style-admin.css CHANGED
@@ -760,3 +760,14 @@
760
  .mtphr-dnt-field-mtphr_dnt_title {
761
  float: left;
762
  margin-right: 20px; } }
 
 
 
 
 
 
 
 
 
 
 
760
  .mtphr-dnt-field-mtphr_dnt_title {
761
  float: left;
762
  margin-right: 20px; } }
763
+
764
+ /* --------------------------------------------------------- */
765
+ /* !Settings */
766
+ /* --------------------------------------------------------- */
767
+ .mtphr-dnt-label-alt label {
768
+ display: block;
769
+ margin-bottom: 5px; }
770
+
771
+ .mtphr-dnt-label-alt small {
772
+ display: block;
773
+ font-weight: lighter; }
assets/sass/style-admin.scss CHANGED
@@ -993,3 +993,19 @@ $red: hsl(0, 100%, 50%);
993
  margin-right: 20px;
994
  }
995
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
993
  margin-right: 20px;
994
  }
995
  }
996
+
997
+
998
+ /* --------------------------------------------------------- */
999
+ /* !Settings */
1000
+ /* --------------------------------------------------------- */
1001
+
1002
+ .mtphr-dnt-label-alt {
1003
+ label {
1004
+ display: block;
1005
+ margin-bottom: 5px;
1006
+ }
1007
+ small {
1008
+ display: block;
1009
+ font-weight: lighter;
1010
+ }
1011
+ }
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.24
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.24' );
35
  define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
36
  define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
37
  define( 'MTPHR_DNT_STORE_URL', 'https://www.metaphorcreations.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.25
9
  Author: Metaphor Creations
10
  Author URI: http://www.metaphorcreations.com
11
  Contributors: metaphorcreations
31
 
32
 
33
 
34
+ define( 'MTPHR_DNT_VERSION', '2.1.25' );
35
  define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
36
  define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
37
  define( 'MTPHR_DNT_STORE_URL', 'https://www.metaphorcreations.com' );
includes/admin/meta-boxes.php CHANGED
@@ -179,7 +179,7 @@ if( !function_exists('mtphr_dnt_type_metaboxes') ) {
179
  function mtphr_dnt_type_metaboxes() {
180
 
181
  // Default type metabox
182
- mtphr_dnt_metabox( 'mtphr-dnt-defualt-metabox', mtphr_dnt_default_fields() );
183
 
184
  // Mixed type metabox
185
  mtphr_dnt_metabox( 'mtphr-dnt-mixed-metabox', mtphr_dnt_mixed_fields() );
@@ -1258,6 +1258,7 @@ function mtphr_dnt_metabox_save( $post_id ) {
1258
  $allowed_tags['div']['data-width'] = true;
1259
 
1260
  if( count($_POST['_mtphr_dnt_ticks']) > 0 ) {
 
1261
  foreach( $_POST['_mtphr_dnt_ticks'] as $tick ) {
1262
 
1263
  $sanitized_tick = apply_filters( 'mtphr_dnt_sanitized_tick', array(
179
  function mtphr_dnt_type_metaboxes() {
180
 
181
  // Default type metabox
182
+ mtphr_dnt_metabox( 'mtphr-dnt-default-metabox', mtphr_dnt_default_fields() );
183
 
184
  // Mixed type metabox
185
  mtphr_dnt_metabox( 'mtphr-dnt-mixed-metabox', mtphr_dnt_mixed_fields() );
1258
  $allowed_tags['div']['data-width'] = true;
1259
 
1260
  if( count($_POST['_mtphr_dnt_ticks']) > 0 ) {
1261
+ //echo '<pre>';print_r($_POST['_mtphr_dnt_ticks']);echo '</pre>';
1262
  foreach( $_POST['_mtphr_dnt_ticks'] as $tick ) {
1263
 
1264
  $sanitized_tick = apply_filters( 'mtphr_dnt_sanitized_tick', array(
includes/helpers.php CHANGED
@@ -11,7 +11,7 @@ function mtphr_dnt_types_array() {
11
  $dnt_types_array = array();
12
  $dnt_types_array['default'] = array(
13
  'button' => __('Default', 'ditty-news-ticker'),
14
- 'metabox_id' => 'mtphr-dnt-defualt-metabox',
15
  'icon' => 'dashicons dashicons-edit'
16
  );
17
  $dnt_types_array['mixed'] = array(
11
  $dnt_types_array = array();
12
  $dnt_types_array['default'] = array(
13
  'button' => __('Default', 'ditty-news-ticker'),
14
+ 'metabox_id' => 'mtphr-dnt-default-metabox',
15
  'icon' => 'dashicons dashicons-edit'
16
  );
17
  $dnt_types_array['mixed'] = array(
languages/ditty-news-ticker-fa_IR.mo ADDED
Binary file
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: 4.5
6
- Tested up to: 5.0.2
7
  Stable tag: /trunk/
8
  License: GPL2
9
 
@@ -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.24 =
76
  * Added 'Reverse the order of the ticks' to the ticker Global Settings panel
77
 
@@ -479,4 +482,4 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
479
 
480
  == Upgrade Notice ==
481
 
482
- Added 'Reverse the order of the ticks' to the ticker Global Settings panel
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: 4.5
6
+ Tested up to: 5.1
7
  Stable tag: /trunk/
8
  License: GPL2
9
 
72
 
73
  == Changelog ==
74
 
75
+ = 2.1.25 =
76
+ * Minor admin css update
77
+
78
  = 2.1.24 =
79
  * Added 'Reverse the order of the ticks' to the ticker Global Settings panel
80
 
482
 
483
  == Upgrade Notice ==
484
 
485
+ Minor admin css update