Version Description
- Minor fix.
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- ditty-news-ticker.php +3 -3
- includes/functions.php +3 -2
- readme.txt +6 -0
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.1.
|
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.0.0
|
46 |
*/
|
47 |
if ( WP_DEBUG ) {
|
48 |
-
define ( 'MTPHR_DNT_VERSION', '1.1.
|
49 |
} else {
|
50 |
-
define ( 'MTPHR_DNT_VERSION', '1.1.
|
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.1.1
|
7 |
Author: Metaphor Creations
|
8 |
Author URI: http://www.metaphorcreations.com
|
9 |
License: GPL2
|
45 |
* @since 1.0.0
|
46 |
*/
|
47 |
if ( WP_DEBUG ) {
|
48 |
+
define ( 'MTPHR_DNT_VERSION', '1.1.1-'.time() );
|
49 |
} else {
|
50 |
+
define ( 'MTPHR_DNT_VERSION', '1.1.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
@@ -22,7 +22,7 @@ function ditty_news_ticker( $id='', $class='', $atts=false ) {
|
|
22 |
/**
|
23 |
* Return the ticker
|
24 |
*
|
25 |
-
* @since 1.1.
|
26 |
*/
|
27 |
function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
28 |
|
@@ -64,7 +64,8 @@ function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
|
64 |
|
65 |
// Get the contents
|
66 |
if( $link = esc_url($tick['link']) ) {
|
67 |
-
$
|
|
|
68 |
} else {
|
69 |
$contents = $text;
|
70 |
}
|
22 |
/**
|
23 |
* Return the ticker
|
24 |
*
|
25 |
+
* @since 1.1.1
|
26 |
*/
|
27 |
function get_mtphr_dnt_ticker( $id='', $class='', $atts=false ) {
|
28 |
|
64 |
|
65 |
// Get the contents
|
66 |
if( $link = esc_url($tick['link']) ) {
|
67 |
+
$nf = ( isset($tick['nofollow']) && $tick['nofollow'] ) ? ' rel="nofollow"' : '';
|
68 |
+
$contents = '<a href="'.$link.'" target="'.$tick['target'].'"'.$nf.'>'.$text.'</a>';
|
69 |
} else {
|
70 |
$contents = $text;
|
71 |
}
|
readme.txt
CHANGED
@@ -52,6 +52,9 @@ Each individual Ticker post has multiple settings to customize.
|
|
52 |
|
53 |
== Changelog ==
|
54 |
|
|
|
|
|
|
|
55 |
= 1.1.0 =
|
56 |
* Added "width" override for scrolling tickers back in... whoops!
|
57 |
|
@@ -106,6 +109,9 @@ Each individual Ticker post has multiple settings to customize.
|
|
106 |
|
107 |
== Upgrade Notice ==
|
108 |
|
|
|
|
|
|
|
109 |
= 1.1.0 =
|
110 |
Added "width" override for scrolling tickers back in... whoops!
|
111 |
|
52 |
|
53 |
== Changelog ==
|
54 |
|
55 |
+
= 1.1.1 =
|
56 |
+
* Minor fix.
|
57 |
+
|
58 |
= 1.1.0 =
|
59 |
* Added "width" override for scrolling tickers back in... whoops!
|
60 |
|
109 |
|
110 |
== Upgrade Notice ==
|
111 |
|
112 |
+
= 1.1.1 =
|
113 |
+
Minor fix.
|
114 |
+
|
115 |
= 1.1.0 =
|
116 |
Added "width" override for scrolling tickers back in... whoops!
|
117 |
|