All in One SEO Pack - Version 1.4.6

Version Description

Download this release

Release Info

Developer uberdose
Plugin Icon 128x128 All in One SEO Pack
Version 1.4.6
Comparing to
See all releases

Code changes from version 1.4.5.9 to 1.4.6

all_in_one_seo_pack-ja.mo CHANGED
Binary file
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.4.5.9
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.4.5.9";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -243,6 +243,7 @@ class All_in_One_SEO_Pack {
243
 
244
  $page_meta = stripcslashes(get_option('aiosp_page_meta_tags'));
245
  $post_meta = stripcslashes(get_option('aiosp_post_meta_tags'));
 
246
  if (is_page() && isset($page_meta) && !empty($page_meta)) {
247
  if (isset($meta_string)) {
248
  $meta_string .= "\n";
@@ -257,6 +258,13 @@ class All_in_One_SEO_Pack {
257
  $meta_string .= "$post_meta";
258
  }
259
 
 
 
 
 
 
 
 
260
  if ($meta_string != null) {
261
  echo "$meta_string\n";
262
  }
@@ -1050,6 +1058,7 @@ class All_in_One_SEO_Pack {
1050
  update_option('aiosp_debug_info', $_POST['aiosp_debug_info']);
1051
  update_option('aiosp_post_meta_tags', $_POST['aiosp_post_meta_tags']);
1052
  update_option('aiosp_page_meta_tags', $_POST['aiosp_page_meta_tags']);
 
1053
  update_option('aiosp_do_log', $_POST['aiosp_do_log']);
1054
  if (function_exists('wp_cache_flush')) {
1055
  wp_cache_flush();
@@ -1492,6 +1501,22 @@ _e('What you enter here will be copied verbatim to your header on pages. You can
1492
  </td>
1493
  </tr>
1494
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1495
  <tr>
1496
  <th scope="row" style="text-align:right; vertical-align:top;">
1497
  <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'auto_social')?>" onclick="toggleVisibility('aiosp_do_log_tip');">
@@ -1541,6 +1566,7 @@ add_option("aiosp_paged_format", ' - Part %page%', 'All in One SEO Plugin Paged
1541
  add_option("aiosp_404_title_format", 'Nothing found for %request_words%', 'All in One SEO Plugin 404 Title Format', 'yes');
1542
  add_option("aiosp_post_meta_tags", '', 'All in One SEO Plugin Additional Post Meta Tags', 'yes');
1543
  add_option("aiosp_page_meta_tags", '', 'All in One SEO Plugin Additional Post Meta Tags', 'yes');
 
1544
  add_option("aiosp_do_log", null, 'All in One SEO Plugin write log file', 'yes');
1545
 
1546
  $aiosp = new All_in_One_SEO_Pack();
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.4.6
8
  Author: uberdose
9
  Author URI: http://wp.uberdose.com/
10
  */
28
 
29
  class All_in_One_SEO_Pack {
30
 
31
+ var $version = "1.4.6";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
243
 
244
  $page_meta = stripcslashes(get_option('aiosp_page_meta_tags'));
245
  $post_meta = stripcslashes(get_option('aiosp_post_meta_tags'));
246
+ $home_meta = stripcslashes(get_option('aiosp_home_meta_tags'));
247
  if (is_page() && isset($page_meta) && !empty($page_meta)) {
248
  if (isset($meta_string)) {
249
  $meta_string .= "\n";
258
  $meta_string .= "$post_meta";
259
  }
260
 
261
+ if (is_home() && !empty($home_meta)) {
262
+ if (isset($meta_string)) {
263
+ $meta_string .= "\n";
264
+ }
265
+ $meta_string .= "$home_meta";
266
+ }
267
+
268
  if ($meta_string != null) {
269
  echo "$meta_string\n";
270
  }
1058
  update_option('aiosp_debug_info', $_POST['aiosp_debug_info']);
1059
  update_option('aiosp_post_meta_tags', $_POST['aiosp_post_meta_tags']);
1060
  update_option('aiosp_page_meta_tags', $_POST['aiosp_page_meta_tags']);
1061
+ update_option('aiosp_home_meta_tags', $_POST['aiosp_home_meta_tags']);
1062
  update_option('aiosp_do_log', $_POST['aiosp_do_log']);
1063
  if (function_exists('wp_cache_flush')) {
1064
  wp_cache_flush();
1501
  </td>
1502
  </tr>
1503
 
1504
+ <tr>
1505
+ <th scope="row" style="text-align:right; vertical-align:top;">
1506
+ <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'all_in_one_seo_pack')?>" onclick="toggleVisibility('aiosp_home_meta_tags_tip');">
1507
+ <?php _e('Additional Home Meta Tags:', 'all_in_one_seo_pack')?>
1508
+ </a>
1509
+ </td>
1510
+ <td>
1511
+ <textarea cols="57" rows="2" name="aiosp_home_meta_tags"><?php echo stripcslashes(get_option('aiosp_home_meta_tags')); ?></textarea>
1512
+ <div style="max-width:500px; text-align:left; display:none" id="aiosp_home_meta_tags_tip">
1513
+ <?php
1514
+ _e('What you enter here will be copied verbatim to your header on the home page. You can enter whatever additional meta tags you want here, even references to stylesheets.', 'all_in_one_seo_pack');
1515
+ ?>
1516
+ </div>
1517
+ </td>
1518
+ </tr>
1519
+
1520
  <tr>
1521
  <th scope="row" style="text-align:right; vertical-align:top;">
1522
  <a style="cursor:pointer;" title="<?php _e('Click for Help!', 'auto_social')?>" onclick="toggleVisibility('aiosp_do_log_tip');">
1566
  add_option("aiosp_404_title_format", 'Nothing found for %request_words%', 'All in One SEO Plugin 404 Title Format', 'yes');
1567
  add_option("aiosp_post_meta_tags", '', 'All in One SEO Plugin Additional Post Meta Tags', 'yes');
1568
  add_option("aiosp_page_meta_tags", '', 'All in One SEO Plugin Additional Post Meta Tags', 'yes');
1569
+ add_option("aiosp_home_meta_tags", '', 'All in One SEO Plugin Additional Home Meta Tags', 'yes');
1570
  add_option("aiosp_do_log", null, 'All in One SEO Plugin write log file', 'yes');
1571
 
1572
  $aiosp = new All_in_One_SEO_Pack();
all_in_one_seo_pack.pot CHANGED
@@ -279,3 +279,8 @@ msgstr ""
279
  msgid "%post_author_lastname% - This post's author' last name (capitalized)"
280
  msgstr ""
281
 
 
 
 
 
 
279
  msgid "%post_author_lastname% - This post's author' last name (capitalized)"
280
  msgstr ""
281
 
282
+ msgid "Additional Home Meta Tags:"
283
+ msgstr ""
284
+
285
+ msgid "What you enter here will be copied verbatim to your header on the home page. You can enter whatever additional meta tags you want here, even references to stylesheets."
286
+ msgstr ""
readme.txt CHANGED
@@ -41,4 +41,5 @@ If you have to upgrade manually simply repeat the installation steps.
41
 
42
  == Frequently Asked Questions ==
43
 
44
- Please read these [FAQs](http://wp.uberdose.com/2007/07/11/all-in-one-seo-pack-faq/)
 
41
 
42
  == Frequently Asked Questions ==
43
 
44
+ Please read these **[FAQs](http://wp.uberdose.com/2007/07/11/all-in-one-seo-pack-faq/)** before requesting
45
+ **[Support](http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/#respond)**