Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 1.5.4 |
Comparing to | |
See all releases |
Code changes from version 1.5.3 to 1.5.4
- all_in_one_seo_pack.php +9 -4
- readme.txt +1 -0
all_in_one_seo_pack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
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.5.
|
8 |
Author: Michael Torbert
|
9 |
Author URI: http://michaeltorbert.com
|
10 |
*/
|
@@ -485,7 +485,7 @@ if ( ! defined( 'WP_PLUGIN_DIR' ) )
|
|
485 |
|
486 |
class All_in_One_SEO_Pack {
|
487 |
|
488 |
-
var $version = "1.5.
|
489 |
|
490 |
/** Max numbers of chars in auto-generated description */
|
491 |
var $maximum_description_length = 160;
|
@@ -1436,7 +1436,9 @@ class All_in_One_SEO_Pack {
|
|
1436 |
|
1437 |
function post_meta_tags($id) {
|
1438 |
$awmp_edit = $_POST["aiosp_edit"];
|
1439 |
-
|
|
|
|
|
1440 |
$keywords = $_POST["aiosp_keywords"];
|
1441 |
$description = $_POST["aiosp_description"];
|
1442 |
$title = $_POST["aiosp_title"];
|
@@ -1593,7 +1595,7 @@ class All_in_One_SEO_Pack {
|
|
1593 |
<th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
|
1594 |
<td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
|
1595 |
</tr>
|
1596 |
-
|
1597 |
<?php if ($this->is_admin()) { ?>
|
1598 |
<tr>
|
1599 |
<th scope="row" style="text-align:right; vertical-align:top;">
|
@@ -1728,6 +1730,8 @@ href="http://semperfiwebdesign.com/portfolio/wordpress/wordpress-plugins/all-in-
|
|
1728 |
href="http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/translations-for-all-in-one-seo-pack/"><?php _e('Translations', 'all_in_one_seo_pack') ?></a>
|
1729 |
| <a target="_blank" title="<?php echo 'Donate' ?>"
|
1730 |
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"><?php echo 'Donate' ?></a>
|
|
|
|
|
1731 |
</p>
|
1732 |
<p>
|
1733 |
<?php
|
@@ -2407,6 +2411,7 @@ function aiosp_meta() {
|
|
2407 |
<th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
|
2408 |
<td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
|
2409 |
</tr>
|
|
|
2410 |
|
2411 |
|
2412 |
<tr>
|
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.5.4
|
8 |
Author: Michael Torbert
|
9 |
Author URI: http://michaeltorbert.com
|
10 |
*/
|
485 |
|
486 |
class All_in_One_SEO_Pack {
|
487 |
|
488 |
+
var $version = "1.5.4";
|
489 |
|
490 |
/** Max numbers of chars in auto-generated description */
|
491 |
var $maximum_description_length = 160;
|
1436 |
|
1437 |
function post_meta_tags($id) {
|
1438 |
$awmp_edit = $_POST["aiosp_edit"];
|
1439 |
+
$nonce = $_POST['nonce-aioseop-edit'];
|
1440 |
+
// if (!wp_verify_nonce($nonce, 'edit-aioseop-nonce')) die ( 'Security Check - If you receive this in error, log out and back in to WordPress');
|
1441 |
+
if (isset($awmp_edit) && !empty($awmp_edit) && wp_verify_nonce($nonce, 'edit-aioseop-nonce')) {
|
1442 |
$keywords = $_POST["aiosp_keywords"];
|
1443 |
$description = $_POST["aiosp_description"];
|
1444 |
$title = $_POST["aiosp_title"];
|
1595 |
<th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
|
1596 |
<td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
|
1597 |
</tr>
|
1598 |
+
<input type="hidden" name="nonce-aioseop-edit" value="<?php echo wp_create_nonce('edit-aioseop-nonce'); ?>" />
|
1599 |
<?php if ($this->is_admin()) { ?>
|
1600 |
<tr>
|
1601 |
<th scope="row" style="text-align:right; vertical-align:top;">
|
1730 |
href="http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/translations-for-all-in-one-seo-pack/"><?php _e('Translations', 'all_in_one_seo_pack') ?></a>
|
1731 |
| <a target="_blank" title="<?php echo 'Donate' ?>"
|
1732 |
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"><?php echo 'Donate' ?></a>
|
1733 |
+
| <a target="_blank" title="<?php _e('Follow us on Twitter', 'all_in_one_seo_pack') ?>"
|
1734 |
+
href="http://twitter.com/michaeltorbert/"><?php _e('Follow us on Twitter', 'all_in_one_seo_pack') ?></a>
|
1735 |
</p>
|
1736 |
<p>
|
1737 |
<?php
|
2411 |
<th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
|
2412 |
<td><input value="<?php echo $keywords ?>" type="text" name="aiosp_keywords" size="62"/></td>
|
2413 |
</tr>
|
2414 |
+
<input type="hidden" name="nonce-aioseop-edit" value="<?php echo wp_create_nonce('edit-aioseop-nonce') ?>" />
|
2415 |
|
2416 |
|
2417 |
<tr>
|
readme.txt
CHANGED
@@ -22,6 +22,7 @@ Automatically optimizes your Wordpress blog for Search Engines (Search Engine Op
|
|
22 |
Some features:
|
23 |
|
24 |
* Canonical URLs
|
|
|
25 |
* Support for CMS-style WordPress installations
|
26 |
* Automatically optimizes your **titles** for search engines
|
27 |
* Generates **META tags automatically**
|
22 |
Some features:
|
23 |
|
24 |
* Canonical URLs
|
25 |
+
* Nonce Security
|
26 |
* Support for CMS-style WordPress installations
|
27 |
* Automatically optimizes your **titles** for search engines
|
28 |
* Generates **META tags automatically**
|