Version Description
Download this release
Release Info
| Developer | uberdose |
| Plugin | |
| Version | 1.4.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.4 to 1.4.1
- all_in_one_seo_pack-pl_PL.mo +0 -0
- all_in_one_seo_pack.php +2 -17
all_in_one_seo_pack-pl_PL.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
|
| 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";
|
| 32 |
|
| 33 |
/** Max numbers of chars in auto-generated description */
|
| 34 |
var $maximum_description_length = 160;
|
|
@@ -169,7 +169,6 @@ class All_in_One_SEO_Pack {
|
|
| 169 |
$keywords = $this->get_all_keywords();
|
| 170 |
}
|
| 171 |
if (is_single() || is_page()) {
|
| 172 |
-
$aiosp_meta = $this->get_additional_meta($post);
|
| 173 |
if ($this->is_static_front_page()) {
|
| 174 |
$description = trim(stripcslashes($this->internationalize(get_option('aiosp_home_description'))));
|
| 175 |
} else {
|
|
@@ -250,15 +249,6 @@ class All_in_One_SEO_Pack {
|
|
| 250 |
$meta_string .= "$post_meta";
|
| 251 |
}
|
| 252 |
|
| 253 |
-
/*
|
| 254 |
-
if (isset($aiosp_meta) && isset($aiosp_meta) && !empty($aiosp_meta)) {
|
| 255 |
-
if (isset($meta_string)) {
|
| 256 |
-
$meta_string .= "\n";
|
| 257 |
-
}
|
| 258 |
-
$meta_string .= "$aiosp_meta";
|
| 259 |
-
}
|
| 260 |
-
*/
|
| 261 |
-
|
| 262 |
if ($meta_string != null) {
|
| 263 |
echo "$meta_string\n";
|
| 264 |
}
|
|
@@ -276,11 +266,6 @@ class All_in_One_SEO_Pack {
|
|
| 276 |
return $description;
|
| 277 |
}
|
| 278 |
|
| 279 |
-
function get_additional_meta($post) {
|
| 280 |
-
$aiosp_meta = trim(stripcslashes(get_post_meta($post->ID, "aiosp_meta", true)));
|
| 281 |
-
return $aiosp_meta;
|
| 282 |
-
}
|
| 283 |
-
|
| 284 |
function replace_title($content, $title) {
|
| 285 |
$title = trim(strip_tags($title));
|
| 286 |
|
| 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.1
|
| 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.1";
|
| 32 |
|
| 33 |
/** Max numbers of chars in auto-generated description */
|
| 34 |
var $maximum_description_length = 160;
|
| 169 |
$keywords = $this->get_all_keywords();
|
| 170 |
}
|
| 171 |
if (is_single() || is_page()) {
|
|
|
|
| 172 |
if ($this->is_static_front_page()) {
|
| 173 |
$description = trim(stripcslashes($this->internationalize(get_option('aiosp_home_description'))));
|
| 174 |
} else {
|
| 249 |
$meta_string .= "$post_meta";
|
| 250 |
}
|
| 251 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
if ($meta_string != null) {
|
| 253 |
echo "$meta_string\n";
|
| 254 |
}
|
| 266 |
return $description;
|
| 267 |
}
|
| 268 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 269 |
function replace_title($content, $title) {
|
| 270 |
$title = trim(strip_tags($title));
|
| 271 |
|
