Version Description
- Updated error codes for license connections
Download this release
Release Info
Developer | metaphorcreations |
Plugin | Ditty News Ticker |
Version | 2.2.9 |
Comparing to | |
See all releases |
Code changes from version 2.2.8 to 2.2.9
- ditty-news-ticker.php +2 -2
- eddsl/eddsl.php +5 -5
- readme.txt +5 -2
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.2.
|
9 |
Author: Metaphor Creations
|
10 |
Author URI: http://www.metaphorcreations.com
|
11 |
Contributors: metaphorcreations
|
@@ -62,7 +62,7 @@ final class Ditty_News_Ticker {
|
|
62 |
|
63 |
// Plugin version
|
64 |
if ( ! defined( 'MTPHR_DNT_VERSION' ) ) {
|
65 |
-
define( 'MTPHR_DNT_VERSION', '2.2.
|
66 |
}
|
67 |
|
68 |
// Plugin Folder Path
|
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.2.9
|
9 |
Author: Metaphor Creations
|
10 |
Author URI: http://www.metaphorcreations.com
|
11 |
Contributors: metaphorcreations
|
62 |
|
63 |
// Plugin version
|
64 |
if ( ! defined( 'MTPHR_DNT_VERSION' ) ) {
|
65 |
+
define( 'MTPHR_DNT_VERSION', '2.2.9' );
|
66 |
}
|
67 |
|
68 |
// Plugin Folder Path
|
eddsl/eddsl.php
CHANGED
@@ -523,7 +523,7 @@ function mtphr_dnt_license_deactivate_ajax() {
|
|
523 |
|
524 |
if( !$slug ) {
|
525 |
$action = 'fail';
|
526 |
-
$message = __('
|
527 |
}
|
528 |
|
529 |
if( $slug && $all_license_data[$slug] ) {
|
@@ -551,9 +551,9 @@ function mtphr_dnt_license_deactivate_ajax() {
|
|
551 |
$response = wp_remote_post( MTPHR_DNT_STORE_URL, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
|
552 |
|
553 |
// make sure the response came back okay
|
554 |
-
if( is_wp_error($response) ) {
|
555 |
$action = 'fail';
|
556 |
-
$message = __('
|
557 |
$ajax_response = $response;
|
558 |
|
559 |
} else {
|
@@ -617,7 +617,7 @@ function mtphr_dnt_license_activate_ajax() {
|
|
617 |
}
|
618 |
|
619 |
if( !$slug ) {
|
620 |
-
$message = __('
|
621 |
}
|
622 |
|
623 |
if( $slug ) {
|
@@ -646,7 +646,7 @@ function mtphr_dnt_license_activate_ajax() {
|
|
646 |
// make sure the response came back okay
|
647 |
if( is_wp_error($response) ) {
|
648 |
$action = 'fail';
|
649 |
-
$message = __('
|
650 |
$ajax_response = $response;
|
651 |
|
652 |
} else {
|
523 |
|
524 |
if( !$slug ) {
|
525 |
$action = 'fail';
|
526 |
+
$message = __('Error: Plugin slug does not exist.', 'ditty-news-ticker');
|
527 |
}
|
528 |
|
529 |
if( $slug && $all_license_data[$slug] ) {
|
551 |
$response = wp_remote_post( MTPHR_DNT_STORE_URL, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
|
552 |
|
553 |
// make sure the response came back okay
|
554 |
+
if( is_wp_error( $response ) ) {
|
555 |
$action = 'fail';
|
556 |
+
$message = sprintf( __('Error: %s.', 'ditty-news-ticker'), $response->get_error_message() );
|
557 |
$ajax_response = $response;
|
558 |
|
559 |
} else {
|
617 |
}
|
618 |
|
619 |
if( !$slug ) {
|
620 |
+
$message = __('Error: Plugin slug does not exist.', 'ditty-news-ticker');
|
621 |
}
|
622 |
|
623 |
if( $slug ) {
|
646 |
// make sure the response came back okay
|
647 |
if( is_wp_error($response) ) {
|
648 |
$action = 'fail';
|
649 |
+
$message = sprintf( __('Error: %s.', 'ditty-news-ticker'), $response->get_error_message() );
|
650 |
$ajax_response = $response;
|
651 |
|
652 |
} else {
|
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.
|
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.2.8 =
|
76 |
* Resolved possible missing variable bug in grid display code
|
77 |
|
@@ -510,4 +513,4 @@ The most common cause for an unresponsive ticker (when using scroll or rotate mo
|
|
510 |
|
511 |
== Upgrade Notice ==
|
512 |
|
513 |
-
|
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.3
|
7 |
Stable tag: /trunk/
|
8 |
License: GPL2
|
9 |
|
72 |
|
73 |
== Changelog ==
|
74 |
|
75 |
+
= 2.2.9 =
|
76 |
+
* Updated error codes for license connections
|
77 |
+
|
78 |
= 2.2.8 =
|
79 |
* Resolved possible missing variable bug in grid display code
|
80 |
|
513 |
|
514 |
== Upgrade Notice ==
|
515 |
|
516 |
+
Updated error codes for license connections
|