Version Description
- The bug, which show warning on site fixed
Download this release
Release Info
Developer | MageNet |
Plugin | Website Monetization by MageNet |
Version | 1.0.18 |
Comparing to | |
See all releases |
Code changes from version 1.0.17 to 1.0.18
- MagenetLinkAutoinstall.php +1 -1
- monetization-by-magenet.php +1 -1
- readme.txt +3 -0
MagenetLinkAutoinstall.php
CHANGED
@@ -214,7 +214,7 @@ if (!class_exists('MagenetLinkAutoinstall')) {
|
|
214 |
$url_for_check = $page_url['scheme'] . "://" . (isset($page_url['host']) ? $page_url['host'] : '') . (isset($page_url['path']) ? $page_url['path'] : '');
|
215 |
|
216 |
$check_page_without_last_slash_query = "";
|
217 |
-
if($
|
218 |
$check_page_without_last_slash_query = " OR page_url='" . substr($url_for_check, 0, -1) . "'";
|
219 |
}
|
220 |
$link_data = $wpdb->get_results("SELECT * FROM `" . $this->tbl_magenet_links . "` WHERE page_url='". $url_for_check ."'" . $check_page_without_last_slash_query, ARRAY_A);
|
214 |
$url_for_check = $page_url['scheme'] . "://" . (isset($page_url['host']) ? $page_url['host'] : '') . (isset($page_url['path']) ? $page_url['path'] : '');
|
215 |
|
216 |
$check_page_without_last_slash_query = "";
|
217 |
+
if($url_for_check[strlen($url_for_check)-1] == "/") {
|
218 |
$check_page_without_last_slash_query = " OR page_url='" . substr($url_for_check, 0, -1) . "'";
|
219 |
}
|
220 |
$link_data = $wpdb->get_results("SELECT * FROM `" . $this->tbl_magenet_links . "` WHERE page_url='". $url_for_check ."'" . $check_page_without_last_slash_query, ARRAY_A);
|
monetization-by-magenet.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Website Monetization by MageNet
|
4 |
Description: Website Monetization by MageNet allows you to sell contextual ads from your pages automatically and receive payments with PayPal. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://magenet.com" target="_blank">Sign up for a MageNet Key</a>, and 3) Go to Settings > "Website Monetization by MageNet" configuration page, and save your MageNet Key.
|
5 |
-
Version: 1.0.
|
6 |
Author: MageNet.com
|
7 |
Author URI: http://magenet.com
|
8 |
*/
|
2 |
/*
|
3 |
Plugin Name: Website Monetization by MageNet
|
4 |
Description: Website Monetization by MageNet allows you to sell contextual ads from your pages automatically and receive payments with PayPal. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://magenet.com" target="_blank">Sign up for a MageNet Key</a>, and 3) Go to Settings > "Website Monetization by MageNet" configuration page, and save your MageNet Key.
|
5 |
+
Version: 1.0.18
|
6 |
Author: MageNet.com
|
7 |
Author URI: http://magenet.com
|
8 |
*/
|
readme.txt
CHANGED
@@ -84,6 +84,9 @@ MageNet crawler will index your sites the same way Google does. It will “read
|
|
84 |
3. "Pages options" menu
|
85 |
|
86 |
== Changelog ==
|
|
|
|
|
|
|
87 |
= 1.0.17 =
|
88 |
* The bug, which didn't show the links on tags pages and categories pages, and some other pages, was fixed
|
89 |
|
84 |
3. "Pages options" menu
|
85 |
|
86 |
== Changelog ==
|
87 |
+
= 1.0.18 =
|
88 |
+
* The bug, which show warning on site fixed
|
89 |
+
|
90 |
= 1.0.17 =
|
91 |
* The bug, which didn't show the links on tags pages and categories pages, and some other pages, was fixed
|
92 |
|