Website Monetization by MageNet - Version 1.0.24

Version Description

  • Minor update
Download this release

Release Info

Developer MageNet
Plugin Icon 128x128 Website Monetization by MageNet
Version 1.0.24
Comparing to
See all releases

Code changes from version 1.0.23 to 1.0.24

Files changed (2) hide show
  1. monetization-by-magenet.php +2 -2
  2. readme.txt +4 -1
monetization-by-magenet.php CHANGED
@@ -235,10 +235,10 @@ function magenet_dashboard_action_callback()
235
  if (strlen($mn_api_data) > 0) {
236
  $response = base64_decode($mn_api_data);
237
 
238
- if ($response['ok'] == "-1") {
239
  $mn_api_str = 'Wrong key';
240
  }
241
- else if ($response['ok'] == "0") {
242
  $mn_api_str = 'Can\t find site';
243
  }
244
  else {
235
  if (strlen($mn_api_data) > 0) {
236
  $response = base64_decode($mn_api_data);
237
 
238
+ if (isset($response['ok']) && $response['ok'] == "-1") {
239
  $mn_api_str = 'Wrong key';
240
  }
241
+ else if (isset($response['ok']) && $response['ok'] == "0") {
242
  $mn_api_str = 'Can\t find site';
243
  }
244
  else {
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: MageNet
3
  Tags: website monetization, advertising, contextual ads, earn money online, contextual advertising, text ads, sell ads
4
  Requires at least: 4.0
5
- Tested up to: 4.8.1
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -80,6 +80,9 @@ MageNet crawler will index your sites the same way Google does. It will “read
80
  4. "Pages options" menu
81
 
82
  == Changelog ==
 
 
 
83
  = 1.0.23 =
84
  * Add dashboard widget
85
 
2
  Contributors: MageNet
3
  Tags: website monetization, advertising, contextual ads, earn money online, contextual advertising, text ads, sell ads
4
  Requires at least: 4.0
5
+ Tested up to: 5.1.4
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
80
  4. "Pages options" menu
81
 
82
  == Changelog ==
83
+ = 1.0.24 =
84
+ * Minor update
85
+
86
  = 1.0.23 =
87
  * Add dashboard widget
88