All in One SEO Pack - Version 1.4.6.6

Version Description

Download this release

Release Info

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

Code changes from version 1.4.6.5 to 1.4.6.6

Files changed (1) hide show
  1. all_in_one_seo_pack.php +12 -6
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.6.5
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.6.5";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -950,19 +950,20 @@ class All_in_One_SEO_Pack {
950
 
951
  <?php if (substr($this->wp_version, 0, 3) == '2.5') { ?>
952
  <div id="postaiosp" class="postbox closed">
953
- <h3><a target="__blank" 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></h3>
954
  <div class="inside">
955
  <div id="postaiosp">
956
  <?php } else { ?>
957
  <div class="dbx-b-ox-wrapper">
958
  <fieldset id="seodiv" class="dbx-box">
959
  <div class="dbx-h-andle-wrapper">
960
- <h3 class="dbx-handle"><a style="color:white" target="__blank" 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></h3>
961
  </div>
962
  <div class="dbx-c-ontent-wrapper">
963
  <div class="dbx-content">
964
  <?php } ?>
965
 
 
966
  <input value="aiosp_edit" type="hidden" name="aiosp_edit" />
967
  <table style="margin-bottom:40px">
968
  <tr>
@@ -1597,8 +1598,13 @@ add_action('template_redirect', array($aiosp, 'template_redirect'));
1597
 
1598
  add_action('init', array($aiosp, 'init'));
1599
 
1600
- add_action('dbx_post_advanced', array($aiosp, 'add_meta_tags_textinput'));
1601
- add_action('dbx_page_advanced', array($aiosp, 'add_meta_tags_textinput'));
 
 
 
 
 
1602
 
1603
  add_action('edit_post', array($aiosp, 'post_meta_tags'));
1604
  add_action('publish_post', array($aiosp, 'post_meta_tags'));
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.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.6";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
950
 
951
  <?php if (substr($this->wp_version, 0, 3) == '2.5') { ?>
952
  <div id="postaiosp" class="postbox closed">
953
+ <h3><?php _e('All in One SEO Pack', 'all_in_one_seo_pack') ?></h3>
954
  <div class="inside">
955
  <div id="postaiosp">
956
  <?php } else { ?>
957
  <div class="dbx-b-ox-wrapper">
958
  <fieldset id="seodiv" class="dbx-box">
959
  <div class="dbx-h-andle-wrapper">
960
+ <h3 class="dbx-handle"><?php _e('All in One SEO Pack', 'all_in_one_seo_pack') ?></h3>
961
  </div>
962
  <div class="dbx-c-ontent-wrapper">
963
  <div class="dbx-content">
964
  <?php } ?>
965
 
966
+ <a target="__blank" href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/">Click here for Support</a>
967
  <input value="aiosp_edit" type="hidden" name="aiosp_edit" />
968
  <table style="margin-bottom:40px">
969
  <tr>
1598
 
1599
  add_action('init', array($aiosp, 'init'));
1600
 
1601
+ if (substr($aiosp->wp_version, 0, 3) == '2.5') {
1602
+ add_action('edit_form_advanced', array($aiosp, 'add_meta_tags_textinput'));
1603
+ add_action('edit_page_form', array($aiosp, 'add_meta_tags_textinput'));
1604
+ } else {
1605
+ add_action('dbx_post_advanced', array($aiosp, 'add_meta_tags_textinput'));
1606
+ add_action('dbx_page_advanced', array($aiosp, 'add_meta_tags_textinput'));
1607
+ }
1608
 
1609
  add_action('edit_post', array($aiosp, 'post_meta_tags'));
1610
  add_action('publish_post', array($aiosp, 'post_meta_tags'));