Version Description
Download this release
Release Info
Developer | hallsofmontezuma |
Plugin | All in One SEO Pack |
Version | 1.6.1 |
Comparing to | |
See all releases |
Code changes from version 1.6 to 1.6.1
- aioseop.class.php +3 -2
- all_in_one_seo_pack.php +2 -2
aioseop.class.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
class All_in_One_SEO_Pack {
|
4 |
|
5 |
-
var $version = "1.6";
|
6 |
|
7 |
/** Max numbers of chars in auto-generated description */
|
8 |
var $maximum_description_length = 160;
|
@@ -248,7 +248,7 @@ if (function_exists('load_plugin_textdomain')) {
|
|
248 |
$description = str_replace('%blog_description%', get_bloginfo('description'), $description);
|
249 |
$description = str_replace('%wp_title%', $this->get_original_title(), $description);
|
250 |
//$description = html_entity_decode($description, ENT_COMPAT, get_bloginfo('charset'));
|
251 |
-
if($aioseop_options['aiosp_can']){
|
252 |
$url = $this->aiosp_mrt_get_url($wp_query);
|
253 |
if ($url) {
|
254 |
preg_match_all('/(\d+)/', $url, $matches);
|
@@ -431,6 +431,7 @@ if (function_exists('load_plugin_textdomain')) {
|
|
431 |
|
432 |
|
433 |
function get_post_description($post) {
|
|
|
434 |
$description = trim(stripcslashes($this->internationalize(get_post_meta($post->ID, "_aioseop_description", true))));
|
435 |
if (!$description) {
|
436 |
$description = $this->trim_excerpt_without_filters_full_length($this->internationalize($post->post_excerpt));
|
2 |
|
3 |
class All_in_One_SEO_Pack {
|
4 |
|
5 |
+
var $version = "1.6.1";
|
6 |
|
7 |
/** Max numbers of chars in auto-generated description */
|
8 |
var $maximum_description_length = 160;
|
248 |
$description = str_replace('%blog_description%', get_bloginfo('description'), $description);
|
249 |
$description = str_replace('%wp_title%', $this->get_original_title(), $description);
|
250 |
//$description = html_entity_decode($description, ENT_COMPAT, get_bloginfo('charset'));
|
251 |
+
if($aioseop_options['aiosp_can'] && is_attachment()){
|
252 |
$url = $this->aiosp_mrt_get_url($wp_query);
|
253 |
if ($url) {
|
254 |
preg_match_all('/(\d+)/', $url, $matches);
|
431 |
|
432 |
|
433 |
function get_post_description($post) {
|
434 |
+
global $aioseop_options;
|
435 |
$description = trim(stripcslashes($this->internationalize(get_post_meta($post->ID, "_aioseop_description", true))));
|
436 |
if (!$description) {
|
437 |
$description = $this->trim_excerpt_without_filters_full_length($this->internationalize($post->post_excerpt));
|
all_in_one_seo_pack.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: All in One SEO Pack
|
5 |
Plugin URI: http://semperfiwebdesign.com
|
6 |
Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
|
7 |
-
Version: 1.6
|
8 |
Author: Michael Torbert
|
9 |
Author URI: http://michaeltorbert.com
|
10 |
*/
|
@@ -554,7 +554,7 @@ echo "<div class='updated fade' style='background-color:green;border-color:green
|
|
554 |
}
|
555 |
|
556 |
function aioseop_get_version(){
|
557 |
-
return '1.6';
|
558 |
}
|
559 |
|
560 |
|
4 |
Plugin Name: All in One SEO Pack
|
5 |
Plugin URI: http://semperfiwebdesign.com
|
6 |
Description: Out-of-the-box SEO for your Wordpress blog. <a href="options-general.php?page=all-in-one-seo-pack/aioseop.class.php">Options configuration panel</a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=mrtorbert%40gmail%2ecom&item_name=All%20In%20One%20SEO%20Pack&item_number=Support%20Open%20Source&no_shipping=0&no_note=1&tax=0¤cy_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8">Donate</a> | <a href="http://semperfiwebdesign.com/forum/" >Support</a> | <a href="https://www.amazon.com/wishlist/1NFQ133FNCOOA/ref=wl_web" target="_blank" title="Amazon Wish List">Amazon Wishlist</a>
|
7 |
+
Version: 1.6.1
|
8 |
Author: Michael Torbert
|
9 |
Author URI: http://michaeltorbert.com
|
10 |
*/
|
554 |
}
|
555 |
|
556 |
function aioseop_get_version(){
|
557 |
+
return '1.6.1';
|
558 |
}
|
559 |
|
560 |
|