Version Description
- Resolved bug from last update
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 2.1.12 |
Comparing to | |
See all releases |
Code changes from version 2.1.11 to 2.1.12
- ditty-news-ticker.php +2 -2
- includes/install.php +4 -4
- readme.txt +4 -1
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.
|
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.
|
35 |
define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
|
36 |
define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
|
37 |
|
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.12
|
9 |
Author: Metaphor Creations
|
10 |
Author URI: http://www.metaphorcreations.com
|
11 |
Contributors: metaphorcreations
|
31 |
|
32 |
|
33 |
|
34 |
+
define( 'MTPHR_DNT_VERSION', '2.1.12' );
|
35 |
define( 'MTPHR_DNT_DIR', trailingslashit(plugin_dir_path( __FILE__ )) );
|
36 |
define( 'MTPHR_DNT_FILE', trailingslashit( __FILE__ ) );
|
37 |
|
includes/install.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* @subpackage Functions/Install
|
7 |
* @copyright Copyright (c) 2017, Intrycks
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
-
* @since 2.1.
|
10 |
*/
|
11 |
|
12 |
// Exit if accessed directly
|
@@ -46,7 +46,7 @@ function mtphr_dnt_install( $network_wide = false ) {
|
|
46 |
mtphr_dnt_run_install();
|
47 |
}
|
48 |
}
|
49 |
-
register_activation_hook(
|
50 |
|
51 |
|
52 |
/**
|
@@ -87,7 +87,7 @@ function mtphr_dnt_run_install() {
|
|
87 |
/**
|
88 |
* When a new Blog is created in multisite, see if MTPHR_DNT is network activated, and run the installer
|
89 |
*
|
90 |
-
* @since 2.1.
|
91 |
* @param int $blog_id The Blog ID created
|
92 |
* @param int $user_id The User ID set as the admin
|
93 |
* @param string $domain The URL
|
@@ -98,7 +98,7 @@ function mtphr_dnt_run_install() {
|
|
98 |
*/
|
99 |
function mtphr_dnt_new_blog_created( $blog_id, $user_id, $domain, $path, $site_id, $meta ) {
|
100 |
|
101 |
-
if( is_plugin_active_for_network(plugin_basename(
|
102 |
|
103 |
switch_to_blog( $blog_id );
|
104 |
mtphr_dnt_install();
|
6 |
* @subpackage Functions/Install
|
7 |
* @copyright Copyright (c) 2017, Intrycks
|
8 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
9 |
+
* @since 2.1.12
|
10 |
*/
|
11 |
|
12 |
// Exit if accessed directly
|
46 |
mtphr_dnt_run_install();
|
47 |
}
|
48 |
}
|
49 |
+
register_activation_hook( MTPHR_DNT_FILE, 'mtphr_dnt_install' );
|
50 |
|
51 |
|
52 |
/**
|
87 |
/**
|
88 |
* When a new Blog is created in multisite, see if MTPHR_DNT is network activated, and run the installer
|
89 |
*
|
90 |
+
* @since 2.1.12
|
91 |
* @param int $blog_id The Blog ID created
|
92 |
* @param int $user_id The User ID set as the admin
|
93 |
* @param string $domain The URL
|
98 |
*/
|
99 |
function mtphr_dnt_new_blog_created( $blog_id, $user_id, $domain, $path, $site_id, $meta ) {
|
100 |
|
101 |
+
if( is_plugin_active_for_network(plugin_basename(MTPHR_DNT_FILE)) ) {
|
102 |
|
103 |
switch_to_blog( $blog_id );
|
104 |
mtphr_dnt_install();
|
readme.txt
CHANGED
@@ -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.11 =
|
76 |
* Resolved custom capabilities bug
|
77 |
|
@@ -439,4 +442,4 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
|
|
439 |
|
440 |
== Upgrade Notice ==
|
441 |
|
442 |
-
Resolved
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 2.1.12 =
|
76 |
+
* Resolved bug from last update
|
77 |
+
|
78 |
= 2.1.11 =
|
79 |
* Resolved custom capabilities bug
|
80 |
|
442 |
|
443 |
== Upgrade Notice ==
|
444 |
|
445 |
+
Resolved bug from last update
|