Version Description
Download this release
Release Info
| Developer | hallsofmontezuma |
| Plugin | |
| Version | 1.4.7.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.4.7.3 to 1.4.7.4
- all_in_one_seo_pack.php +41 -3
all_in_one_seo_pack.php
CHANGED
|
@@ -3,8 +3,8 @@
|
|
| 3 |
/*
|
| 4 |
Plugin Name: All in One SEO Pack
|
| 5 |
Plugin URI: http://semperfiwebdesign.com
|
| 6 |
-
Description: Out-of-the-box SEO for your Wordpress blog.
|
| 7 |
-
Version: 1.4.7.
|
| 8 |
Author: Michael Torbert
|
| 9 |
Author URI: http://semperfiwebdesign.com
|
| 10 |
*/
|
|
@@ -476,7 +476,7 @@ $UTF8_TABLES['strtoupper'] = array(
|
|
| 476 |
|
| 477 |
class All_in_One_SEO_Pack {
|
| 478 |
|
| 479 |
-
var $version = "1.4.7.
|
| 480 |
|
| 481 |
/** Max numbers of chars in auto-generated description */
|
| 482 |
var $maximum_description_length = 160;
|
|
@@ -1530,6 +1530,7 @@ class All_in_One_SEO_Pack {
|
|
| 1530 |
// update options
|
| 1531 |
if ($_POST['action'] && $_POST['action'] == 'aiosp_update') {
|
| 1532 |
$message = $message_updated;
|
|
|
|
| 1533 |
update_option('aiosp_home_title', $_POST['aiosp_home_title']);
|
| 1534 |
update_option('aiosp_home_description', $_POST['aiosp_home_description']);
|
| 1535 |
update_option('aiosp_home_keywords', $_POST['aiosp_home_keywords']);
|
|
@@ -1626,6 +1627,24 @@ $canwrite = $this->is_upgrade_directory_writable();
|
|
| 1626 |
<form name="dofollow" action="" method="post">
|
| 1627 |
<table class="form-table">
|
| 1628 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1629 |
<tr>
|
| 1630 |
<th scope="row" style="text-align:right; vertical-align:top;">
|
| 1631 |
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_home_title_tip');">
|
|
@@ -2034,6 +2053,24 @@ _e('Check this and SEO pack will create a log of important events (all_in_one_se
|
|
| 2034 |
</td>
|
| 2035 |
</tr>
|
| 2036 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2037 |
</table>
|
| 2038 |
<p class="submit">
|
| 2039 |
<input type="hidden" name="action" value="aiosp_update" />
|
|
@@ -2055,6 +2092,7 @@ _e('Check this and SEO pack will create a log of important events (all_in_one_se
|
|
| 2055 |
|
| 2056 |
add_option("aiosp_home_description", null, 'All in One SEO Plugin Home Description', 'yes');
|
| 2057 |
add_option("aiosp_home_title", null, 'All in One SEO Plugin Home Title', 'yes');
|
|
|
|
| 2058 |
add_option("aiosp_rewrite_titles", 1, 'All in One SEO Plugin Rewrite Titles', 'yes');
|
| 2059 |
add_option("aiosp_use_categories", 0, 'All in One SEO Plugin Use Categories', 'yes');
|
| 2060 |
add_option("aiosp_category_noindex", 1, 'All in One SEO Plugin Noindex for Categories', 'yes');
|
| 3 |
/*
|
| 4 |
Plugin Name: All in One SEO Pack
|
| 5 |
Plugin URI: http://semperfiwebdesign.com
|
| 6 |
+
Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/all_in_one_seo_pack.php">Options configuration panel</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-faq/" >Support</a>
|
| 7 |
+
Version: 1.4.7.4
|
| 8 |
Author: Michael Torbert
|
| 9 |
Author URI: http://semperfiwebdesign.com
|
| 10 |
*/
|
| 476 |
|
| 477 |
class All_in_One_SEO_Pack {
|
| 478 |
|
| 479 |
+
var $version = "1.4.7.4";
|
| 480 |
|
| 481 |
/** Max numbers of chars in auto-generated description */
|
| 482 |
var $maximum_description_length = 160;
|
| 1530 |
// update options
|
| 1531 |
if ($_POST['action'] && $_POST['action'] == 'aiosp_update') {
|
| 1532 |
$message = $message_updated;
|
| 1533 |
+
update_option('aiosp_donate', $_POST['aiosp_donate']);
|
| 1534 |
update_option('aiosp_home_title', $_POST['aiosp_home_title']);
|
| 1535 |
update_option('aiosp_home_description', $_POST['aiosp_home_description']);
|
| 1536 |
update_option('aiosp_home_keywords', $_POST['aiosp_home_keywords']);
|
| 1627 |
<form name="dofollow" action="" method="post">
|
| 1628 |
<table class="form-table">
|
| 1629 |
|
| 1630 |
+
<?php if (!get_option('aiosp_donate')){?>
|
| 1631 |
+
<tr>
|
| 1632 |
+
<th scope="row" style="text-align:right; vertical-align:top;">
|
| 1633 |
+
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_donate_tip');">
|
| 1634 |
+
<?php _e('I enjoy this plugin and have made a donation:', 'all_in_one_seo_pack')?>
|
| 1635 |
+
</a>
|
| 1636 |
+
</td>
|
| 1637 |
+
<td>
|
| 1638 |
+
<input type="checkbox" name="aiosp_donate" <?php if (get_option('aiosp_donate')) echo "checked=\"1\""; ?>/>
|
| 1639 |
+
<div style="max-width:500px; text-align:left; display:none" id="aiosp_donate_tip">
|
| 1640 |
+
<?php
|
| 1641 |
+
_e('All donations support continued development of this free software.', 'all_in_one_seo_pack');
|
| 1642 |
+
?>
|
| 1643 |
+
</div>
|
| 1644 |
+
</td>
|
| 1645 |
+
</tr>
|
| 1646 |
+
<?php } ?>
|
| 1647 |
+
|
| 1648 |
<tr>
|
| 1649 |
<th scope="row" style="text-align:right; vertical-align:top;">
|
| 1650 |
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_home_title_tip');">
|
| 2053 |
</td>
|
| 2054 |
</tr>
|
| 2055 |
|
| 2056 |
+
<?php if (get_option('aiosp_donate')){?>
|
| 2057 |
+
<tr>
|
| 2058 |
+
<th scope="row" style="text-align:right; vertical-align:top;">
|
| 2059 |
+
<a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_donate_tip');">
|
| 2060 |
+
<?php _e('Thank you for your donation:', 'all_in_one_seo_pack')?>
|
| 2061 |
+
</a>
|
| 2062 |
+
</td>
|
| 2063 |
+
<td>
|
| 2064 |
+
<input type="checkbox" name="aiosp_donate" <?php if (get_option('aiosp_donate')) echo "checked=\"1\""; ?>/>
|
| 2065 |
+
<div style="max-width:500px; text-align:left; display:none" id="aiosp_donate_tip">
|
| 2066 |
+
<?php
|
| 2067 |
+
_e('All donations support continued development of this free software.', 'all_in_one_seo_pack');
|
| 2068 |
+
?>
|
| 2069 |
+
</div>
|
| 2070 |
+
</td>
|
| 2071 |
+
</tr>
|
| 2072 |
+
<?php } ?>
|
| 2073 |
+
|
| 2074 |
</table>
|
| 2075 |
<p class="submit">
|
| 2076 |
<input type="hidden" name="action" value="aiosp_update" />
|
| 2092 |
|
| 2093 |
add_option("aiosp_home_description", null, 'All in One SEO Plugin Home Description', 'yes');
|
| 2094 |
add_option("aiosp_home_title", null, 'All in One SEO Plugin Home Title', 'yes');
|
| 2095 |
+
add_option("aiosp_donate", 0, 'All in One SEO Pack Donate', 'no');
|
| 2096 |
add_option("aiosp_rewrite_titles", 1, 'All in One SEO Plugin Rewrite Titles', 'yes');
|
| 2097 |
add_option("aiosp_use_categories", 0, 'All in One SEO Plugin Use Categories', 'yes');
|
| 2098 |
add_option("aiosp_category_noindex", 1, 'All in One SEO Plugin Noindex for Categories', 'yes');
|
