Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 1.4.91 |
Comparing to | |
See all releases |
Code changes from version 1.4.9 to 1.4.91
- all_in_one_seo_pack.php +41 -3
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.4.
|
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.
|
480 |
|
481 |
/** Max numbers of chars in auto-generated description */
|
482 |
var $maximum_description_length = 160;
|
@@ -753,7 +753,8 @@ class All_in_One_SEO_Pack {
|
|
753 |
|
754 |
echo "<!-- /all in one seo pack -->\n";
|
755 |
}
|
756 |
-
|
|
|
757 |
|
758 |
function aiosp_mrt_get_url($query) {
|
759 |
if ($query->is_404 || $query->is_search) {
|
@@ -1739,6 +1740,43 @@ $canwrite = $this->is_upgrade_directory_writable();
|
|
1739 |
</script>
|
1740 |
|
1741 |
<h3><?php _e('Click on option titles to get help!', 'all_in_one_seo_pack') ?></h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1742 |
|
1743 |
<form name="dofollow" action="" method="post">
|
1744 |
<table class="form-table">
|
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.91
|
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.91";
|
480 |
|
481 |
/** Max numbers of chars in auto-generated description */
|
482 |
var $maximum_description_length = 160;
|
753 |
|
754 |
echo "<!-- /all in one seo pack -->\n";
|
755 |
}
|
756 |
+
|
757 |
+
// Thank you, Yoast de Valk, for much of this code.
|
758 |
|
759 |
function aiosp_mrt_get_url($query) {
|
760 |
if ($query->is_404 || $query->is_search) {
|
1740 |
</script>
|
1741 |
|
1742 |
<h3><?php _e('Click on option titles to get help!', 'all_in_one_seo_pack') ?></h3>
|
1743 |
+
Highest
|
1744 |
+
<?php
|
1745 |
+
$uri = "http://donations.semperfiwebdesign.com/category/highest-donations/feed/";
|
1746 |
+
include_once(ABSPATH . WPINC . '/rss.php');
|
1747 |
+
$rss = fetch_rss($uri);
|
1748 |
+
$maxitems = 5;
|
1749 |
+
$items = array_slice($rss->items, 0, $maxitems);
|
1750 |
+
?>
|
1751 |
+
<ul>
|
1752 |
+
<?php if (empty($items)) echo '<li>No items</li>';
|
1753 |
+
else
|
1754 |
+
foreach ( $items as $item ) : ?>
|
1755 |
+
<li><a href='<?php echo $item['description']; ?>'
|
1756 |
+
title='<?php echo $item['title']; ?>'>
|
1757 |
+
<?php echo $item['title']; ?>
|
1758 |
+
</a></li>
|
1759 |
+
<?php endforeach; ?>
|
1760 |
+
</ul>
|
1761 |
+
Donations
|
1762 |
+
<?php
|
1763 |
+
$uri = "http://donations.semperfiwebdesign.com/category/all-in-one-seo-pack/feed/";
|
1764 |
+
include_once(ABSPATH . WPINC . '/rss.php');
|
1765 |
+
$rss = fetch_rss($uri);
|
1766 |
+
$maxitems = 5;
|
1767 |
+
$items = array_slice($rss->items, 0, $maxitems);
|
1768 |
+
?>
|
1769 |
+
<ul>
|
1770 |
+
<?php if (empty($items)) echo '<li>No items</li>';
|
1771 |
+
else
|
1772 |
+
foreach ( $items as $item ) : ?>
|
1773 |
+
<li><a href='<?php echo $item['link']; ?>'
|
1774 |
+
title='<?php echo $item['title']; ?>'>
|
1775 |
+
<?php echo $item['title']; ?>
|
1776 |
+
</a></li>
|
1777 |
+
<?php endforeach; ?>
|
1778 |
+
</ul>
|
1779 |
+
|
1780 |
|
1781 |
<form name="dofollow" action="" method="post">
|
1782 |
<table class="form-table">
|