Version Description
Download this release
Release Info
| Developer | uberdose |
| Plugin | |
| Version | 1.2.8.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.8.3 to 1.2.8.4
- all_in_one_seo_pack.php +30 -25
all_in_one_seo_pack.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Plugin Name: All in One SEO Pack
|
| 5 |
Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
|
| 6 |
Description: Out-of-the-box SEO for your Wordpress blog.
|
| 7 |
-
Version: 1.2.8.
|
| 8 |
Author: uberdose
|
| 9 |
Author URI: http://wp.uberdose.com/
|
| 10 |
*/
|
|
@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
| 28 |
|
| 29 |
class All_in_One_SEO_Pack {
|
| 30 |
|
| 31 |
-
var $version = "1.2.8.
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Max numbers of chars in auto-generated description.
|
|
@@ -535,7 +535,7 @@ class All_in_One_SEO_Pack {
|
|
| 535 |
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
| 536 |
<tr>
|
| 537 |
<th width="33%" scope="row" valign="top">
|
| 538 |
-
<a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/"
|
| 539 |
</th>
|
| 540 |
</tr>
|
| 541 |
<tr>
|
|
@@ -564,7 +564,7 @@ class All_in_One_SEO_Pack {
|
|
| 564 |
<table style="margin-bottom:40px; margin-top:30px;">
|
| 565 |
<tr>
|
| 566 |
<th style="text-align:left;" colspan="2">
|
| 567 |
-
<a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/"
|
| 568 |
</th>
|
| 569 |
</tr>
|
| 570 |
<tr>
|
|
@@ -574,7 +574,7 @@ class All_in_One_SEO_Pack {
|
|
| 574 |
<tr>
|
| 575 |
<th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
|
| 576 |
<td><textarea name="aiosp_description" rows="1" cols="78"><?php echo $description ?></textarea><br/>
|
| 577 |
-
Most search engines use a maximum of 160 chars for the description.
|
| 578 |
</td>
|
| 579 |
</tr>
|
| 580 |
<tr>
|
|
@@ -605,7 +605,7 @@ class All_in_One_SEO_Pack {
|
|
| 605 |
<tr>
|
| 606 |
<th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
|
| 607 |
<td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"><?php echo $description ?></textarea><br/>
|
| 608 |
-
Most search engines use a maximum of 160 chars for the description
|
| 609 |
</tr>
|
| 610 |
<tr>
|
| 611 |
<th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
|
|
@@ -663,13 +663,18 @@ class All_in_One_SEO_Pack {
|
|
| 663 |
<div class="wrap">
|
| 664 |
<h2><?php _e('All in One SEO Plugin Options', 'all_in_one_seo_pack'); ?></h2>
|
| 665 |
<p>
|
| 666 |
-
<?php _e("This is version $this->version. "
|
| 667 |
-
|
|
|
|
|
|
|
| 668 |
</p>
|
| 669 |
<p>
|
| 670 |
-
|
| 671 |
-
|
| 672 |
-
|
|
|
|
|
|
|
|
|
|
|
| 673 |
</p>
|
| 674 |
<form name="dofollow" action="" method="post">
|
| 675 |
<table>
|
|
@@ -840,20 +845,20 @@ class All_in_One_SEO_Pack {
|
|
| 840 |
|
| 841 |
}
|
| 842 |
|
| 843 |
-
add_option("aiosp_home_description", null,
|
| 844 |
-
add_option("aiosp_home_title", null,
|
| 845 |
-
add_option("aiosp_rewrite_titles", 1,
|
| 846 |
-
add_option("aiosp_use_categories", 1,
|
| 847 |
-
add_option("aiosp_category_noindex", 1,
|
| 848 |
-
add_option("aiosp_archive_noindex", 1,
|
| 849 |
-
add_option("aiosp_tags_noindex", 1,
|
| 850 |
-
add_option("aiosp_generate_descriptions", 0,
|
| 851 |
-
add_option("aiosp_post_title_format", '%post_title% | %blog_title%',
|
| 852 |
-
add_option("aiosp_page_title_format", '%page_title% | %blog_title%',
|
| 853 |
-
add_option("aiosp_category_title_format", '%category_title% | %blog_title%',
|
| 854 |
-
add_option("aiosp_archive_title_format", '%date% | %blog_title%',
|
| 855 |
-
add_option("aiosp_tag_title_format", '%tag% | %blog_title%',
|
| 856 |
-
add_option("aiosp_search_title_format", '%search% | %blog_title%',
|
| 857 |
|
| 858 |
$aiosp = new All_in_One_SEO_Pack();
|
| 859 |
add_action('wp_head', array($aiosp, 'wp_head'));
|
| 4 |
Plugin Name: All in One SEO Pack
|
| 5 |
Plugin URI: http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/
|
| 6 |
Description: Out-of-the-box SEO for your Wordpress blog.
|
| 7 |
+
Version: 1.2.8.4
|
| 8 |
Author: uberdose
|
| 9 |
Author URI: http://wp.uberdose.com/
|
| 10 |
*/
|
| 28 |
|
| 29 |
class All_in_One_SEO_Pack {
|
| 30 |
|
| 31 |
+
var $version = "1.2.8.4";
|
| 32 |
|
| 33 |
/**
|
| 34 |
* Max numbers of chars in auto-generated description.
|
| 535 |
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
| 536 |
<tr>
|
| 537 |
<th width="33%" scope="row" valign="top">
|
| 538 |
+
<a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/"><?php _e('All in One SEO Pack', 'all_in_one_seo_pack') ?></a>
|
| 539 |
</th>
|
| 540 |
</tr>
|
| 541 |
<tr>
|
| 564 |
<table style="margin-bottom:40px; margin-top:30px;">
|
| 565 |
<tr>
|
| 566 |
<th style="text-align:left;" colspan="2">
|
| 567 |
+
<a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/"><?php _e('All in One SEO Pack', 'all_in_one_seo_pack') ?></a>
|
| 568 |
</th>
|
| 569 |
</tr>
|
| 570 |
<tr>
|
| 574 |
<tr>
|
| 575 |
<th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
|
| 576 |
<td><textarea name="aiosp_description" rows="1" cols="78"><?php echo $description ?></textarea><br/>
|
| 577 |
+
<?php _e('Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack') ?>
|
| 578 |
</td>
|
| 579 |
</tr>
|
| 580 |
<tr>
|
| 605 |
<tr>
|
| 606 |
<th scope="row" style="text-align:right;"><?php _e('Description:', 'all_in_one_seo_pack') ?></th>
|
| 607 |
<td><textarea name="aiosp_description" rows="1" cols="78" tabindex="1001"><?php echo $description ?></textarea><br/>
|
| 608 |
+
<?php _e('Most search engines use a maximum of 160 chars for the description.', 'all_in_one_seo_pack')?></td>
|
| 609 |
</tr>
|
| 610 |
<tr>
|
| 611 |
<th scope="row" style="text-align:right;"><?php _e('Keywords (comma separated):', 'all_in_one_seo_pack') ?></th>
|
| 663 |
<div class="wrap">
|
| 664 |
<h2><?php _e('All in One SEO Plugin Options', 'all_in_one_seo_pack'); ?></h2>
|
| 665 |
<p>
|
| 666 |
+
<?php _e("This is version ", 'all_in_one_seo_pack') ?><?php _e("$this->version. ", 'all_in_one_seo_pack') ?>
|
| 667 |
+
<a target="_blank" title="<?php _e('All in One SEO Plugin Release History', 'all_in_one_seo_pack')?>"
|
| 668 |
+
href="http://wp.uberdose.com/2007/07/27/all-in-one-seo-pack-release-history/"><php _e("Should I upgrade?", 'all_in_one_seo_pack')?>
|
| 669 |
+
</a>
|
| 670 |
</p>
|
| 671 |
<p>
|
| 672 |
+
<a target="_blank" title="<?php _e('All in One SEO Plugin Help', 'all_in_one_seo_pack') ?>" href="http://wp.uberdose.com/2007/05/11/all-in-one-seo-pack-help/">
|
| 673 |
+
<?php _e('Help', 'all_in_one_seo_pack') ?></a>
|
| 674 |
+
| <a target="_blank" title="<?php _e('FAQ', 'all_in_one_seo_pack') ?>"
|
| 675 |
+
href="http://wp.uberdose.com/2007/07/11/all-in-one-seo-pack-faq/"><?php _e('FAQ', 'all_in_one_seo_pack') ?></a>
|
| 676 |
+
| <a target="_blank" title="<?php _e('All in One SEO Plugin Feedback', 'all_in_one_seo_pack') ?>"
|
| 677 |
+
href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/#respond"><?php _e('Feedback', 'all_in_one_seo_pack') ?></a>
|
| 678 |
</p>
|
| 679 |
<form name="dofollow" action="" method="post">
|
| 680 |
<table>
|
| 845 |
|
| 846 |
}
|
| 847 |
|
| 848 |
+
add_option("aiosp_home_description", null, 'All in One SEO Plugin Home Description', 'yes');
|
| 849 |
+
add_option("aiosp_home_title", null, 'All in One SEO Plugin Home Title', 'yes');
|
| 850 |
+
add_option("aiosp_rewrite_titles", 1, 'All in One SEO Plugin Rewrite Titles', 'yes');
|
| 851 |
+
add_option("aiosp_use_categories", 1, 'All in One SEO Plugin Use Categories', 'yes');
|
| 852 |
+
add_option("aiosp_category_noindex", 1, 'All in One SEO Plugin Noindex for Categories', 'yes');
|
| 853 |
+
add_option("aiosp_archive_noindex", 1, 'All in One SEO Plugin Noindex for Archives', 'yes');
|
| 854 |
+
add_option("aiosp_tags_noindex", 1, 'All in One SEO Plugin Noindex for Tag Archives', 'yes');
|
| 855 |
+
add_option("aiosp_generate_descriptions", 0, 'All in One SEO Plugin Autogenerate Descriptions', 'yes');
|
| 856 |
+
add_option("aiosp_post_title_format", '%post_title% | %blog_title%', 'All in One SEO Plugin Post Title Format', 'yes');
|
| 857 |
+
add_option("aiosp_page_title_format", '%page_title% | %blog_title%', 'All in One SEO Plugin Page Title Format', 'yes');
|
| 858 |
+
add_option("aiosp_category_title_format", '%category_title% | %blog_title%', 'All in One SEO Plugin Category Title Format', 'yes');
|
| 859 |
+
add_option("aiosp_archive_title_format", '%date% | %blog_title%', 'All in One SEO Plugin Archive Title Format', 'yes');
|
| 860 |
+
add_option("aiosp_tag_title_format", '%tag% | %blog_title%', 'All in One SEO Plugin Tag Title Format', 'yes');
|
| 861 |
+
add_option("aiosp_search_title_format", '%search% | %blog_title%', 'All in One SEO Plugin Search Title Format', 'yes');
|
| 862 |
|
| 863 |
$aiosp = new All_in_One_SEO_Pack();
|
| 864 |
add_action('wp_head', array($aiosp, 'wp_head'));
|
