All in One SEO Pack - Version 1.4.3.3

Version Description

Download this release

Release Info

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

Code changes from version 1.4.3.2 to 1.4.3.3

Files changed (1) hide show
  1. all_in_one_seo_pack.php +13 -14
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.3.2
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.3.2";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
@@ -361,24 +361,23 @@ class All_in_One_SEO_Pack {
361
  return trim($title);
362
  }
363
 
364
- function paged_title($title) {
365
- // the page number if paged
366
- global $paged;
367
-
368
- if (is_paged()) {
369
- $part = $this->internationalize(get_option('aiosp_paged_format'));
370
- if (!isset($part) || empty($part) || !$part) {
371
- // reasonable default
372
- $part = _e("Part %page%", 'all_in_one_seo_pack');
373
- }
374
  $part = " " . trim($part);
375
  $part = str_replace('%page%', $paged, $part);
 
376
  $title .= $part;
377
  }
378
- return $title;
379
  }
 
 
380
 
381
- function rewrite_title($header) {
382
  global $wp_query;
383
  if (!$wp_query) {
384
  $header .= "<!-- no wp_query found! -->\n";
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.3.3
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.3.3";
32
 
33
  /** Max numbers of chars in auto-generated description */
34
  var $maximum_description_length = 160;
361
  return trim($title);
362
  }
363
 
364
+ function paged_title($title) {
365
+ // the page number if paged
366
+ global $paged;
367
+
368
+ if (is_paged()) {
369
+ $part = $this->internationalize(get_option('aiosp_paged_format'));
370
+ if (isset($part) || !empty($part)) {
 
 
 
371
  $part = " " . trim($part);
372
  $part = str_replace('%page%', $paged, $part);
373
+ $this->log("paged_title() [$title] [$part]");
374
  $title .= $part;
375
  }
 
376
  }
377
+ return $title;
378
+ }
379
 
380
+ function rewrite_title($header) {
381
  global $wp_query;
382
  if (!$wp_query) {
383
  $header .= "<!-- no wp_query found! -->\n";