Version Description
Download this release
Release Info
Developer | freediver |
Plugin | SEO Friendly Images |
Version | 2.6.4 |
Comparing to | |
See all releases |
Code changes from version 2.6.3 to 2.6.4
- seo-friendly-images.php +3 -3
seo-friendly-images.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: SEO Friendly Images
|
5 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images
|
6 |
Description: Automatically adds alt and title attributes to all your images. Improves traffic from search results and makes them W3C/xHTML valid as well.
|
7 |
-
Version: 2.6.
|
8 |
Author: Vladimir Prelovac
|
9 |
Author URI: http://www.prelovac.com/vladimir
|
10 |
|
@@ -206,7 +206,7 @@ function seo_friendly_images_process($matches) {
|
|
206 |
if (!in_array('title=', $pieces) || $override_title=="on") {
|
207 |
$titletext_rep=str_replace("%title", $post->post_title, $titletext_rep);
|
208 |
$titletext_rep=str_replace("%name", $source[0], $titletext_rep);
|
209 |
-
$titletext_rep=str_replace("%category", $cats
|
210 |
$titletext_rep=str_replace("%tags", $tags, $titletext_rep);
|
211 |
|
212 |
|
@@ -230,7 +230,7 @@ function seo_friendly_images_process($matches) {
|
|
230 |
if (!in_array('alt=', $pieces) || $override=="on" ) {
|
231 |
$alttext_rep=str_replace("%title", $post->post_title, $alttext_rep);
|
232 |
$alttext_rep=str_replace("%name", $source[0], $alttext_rep);
|
233 |
-
$alttext_rep=str_replace("%category", $cats
|
234 |
$alttext_rep=str_replace("%tags", $tags, $alttext_rep);
|
235 |
$alttext_rep=str_replace("\"", "", $alttext_rep);
|
236 |
$alttext_rep=str_replace("'", "", $alttext_rep);
|
4 |
Plugin Name: SEO Friendly Images
|
5 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images
|
6 |
Description: Automatically adds alt and title attributes to all your images. Improves traffic from search results and makes them W3C/xHTML valid as well.
|
7 |
+
Version: 2.6.4
|
8 |
Author: Vladimir Prelovac
|
9 |
Author URI: http://www.prelovac.com/vladimir
|
10 |
|
206 |
if (!in_array('title=', $pieces) || $override_title=="on") {
|
207 |
$titletext_rep=str_replace("%title", $post->post_title, $titletext_rep);
|
208 |
$titletext_rep=str_replace("%name", $source[0], $titletext_rep);
|
209 |
+
$titletext_rep=str_replace("%category", $cats, $titletext_rep);
|
210 |
$titletext_rep=str_replace("%tags", $tags, $titletext_rep);
|
211 |
|
212 |
|
230 |
if (!in_array('alt=', $pieces) || $override=="on" ) {
|
231 |
$alttext_rep=str_replace("%title", $post->post_title, $alttext_rep);
|
232 |
$alttext_rep=str_replace("%name", $source[0], $alttext_rep);
|
233 |
+
$alttext_rep=str_replace("%category", $cats, $alttext_rep);
|
234 |
$alttext_rep=str_replace("%tags", $tags, $alttext_rep);
|
235 |
$alttext_rep=str_replace("\"", "", $alttext_rep);
|
236 |
$alttext_rep=str_replace("'", "", $alttext_rep);
|