Version Description
- Fixed warning message
Download this release
Release Info
Developer | freediver |
Plugin | SEO Friendly Images |
Version | 3.0.2 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.2
- readme.txt +4 -1
- seo-friendly-images.class.php +3 -1
- seo-friendly-images.php +1 -1
readme.txt
CHANGED
@@ -22,9 +22,12 @@ If you like what I do in WordPress, you will also like the [ManageWP](https://ma
|
|
22 |
|
23 |
== Changelog ==
|
24 |
|
|
|
|
|
|
|
25 |
= 3.0.1 =
|
26 |
* Made clear the plugin works by modyfying the image during output, and not changing images in the post editor or in media library as some people expected
|
27 |
-
* Debug notices
|
28 |
|
29 |
= 3.0 =
|
30 |
* Major rewrite and optimization of the plugin
|
22 |
|
23 |
== Changelog ==
|
24 |
|
25 |
+
= 3.0.2 =
|
26 |
+
* Fixed warning message
|
27 |
+
|
28 |
= 3.0.1 =
|
29 |
* Made clear the plugin works by modyfying the image during output, and not changing images in the post editor or in media library as some people expected
|
30 |
+
* Debug notices
|
31 |
|
32 |
= 3.0 =
|
33 |
* Major rewrite and optimization of the plugin
|
seo-friendly-images.class.php
CHANGED
@@ -12,7 +12,7 @@ class SEOFriendlyImages {
|
|
12 |
var $process_parameters;
|
13 |
|
14 |
function SEOFriendlyImages() {
|
15 |
-
$this->local_version = "3.0";
|
16 |
$this->plugin_url = trailingslashit(plugins_url(null, __FILE__));
|
17 |
$this->key = 'seo-friendly-images';
|
18 |
$this->name = 'SEO Friendly Images';
|
@@ -825,6 +825,7 @@ class SEOFriendlyImages {
|
|
825 |
$cur_page_id = $post->ID;
|
826 |
$found = false;
|
827 |
$found_group = null;
|
|
|
828 |
foreach ( $this->tree["singular"]["page"] as $key => $group ) {
|
829 |
if ( $key != 'options' ) {
|
830 |
$found = $found || in_array( $cur_page_id, $group["ids"] );
|
@@ -848,6 +849,7 @@ class SEOFriendlyImages {
|
|
848 |
$cur_post_id = $post->ID;
|
849 |
$found = false;
|
850 |
$found_group = null;
|
|
|
851 |
foreach ( $this->tree["singular"]["post"] as $key => $group ) {
|
852 |
if ( $key != 'options' ) {
|
853 |
$found = $found || in_array( $cur_post_id, $group["ids"] );
|
12 |
var $process_parameters;
|
13 |
|
14 |
function SEOFriendlyImages() {
|
15 |
+
$this->local_version = "3.0.2";
|
16 |
$this->plugin_url = trailingslashit(plugins_url(null, __FILE__));
|
17 |
$this->key = 'seo-friendly-images';
|
18 |
$this->name = 'SEO Friendly Images';
|
825 |
$cur_page_id = $post->ID;
|
826 |
$found = false;
|
827 |
$found_group = null;
|
828 |
+
if (isset( $this->tree["singular"]["page"] ))
|
829 |
foreach ( $this->tree["singular"]["page"] as $key => $group ) {
|
830 |
if ( $key != 'options' ) {
|
831 |
$found = $found || in_array( $cur_page_id, $group["ids"] );
|
849 |
$cur_post_id = $post->ID;
|
850 |
$found = false;
|
851 |
$found_group = null;
|
852 |
+
if (isset( $this->tree["singular"]["post"] ))
|
853 |
foreach ( $this->tree["singular"]["post"] as $key => $group ) {
|
854 |
if ( $key != 'options' ) {
|
855 |
$found = $found || in_array( $cur_post_id, $group["ids"] );
|
seo-friendly-images.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SEO Friendly Images
|
4 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images
|
5 |
Description: Automatically adds alt and title attributes to all your images. Improves traffic from search results and makes them W3C/xHTML valid as well.
|
6 |
-
Version: 3.0
|
7 |
Author: Vladimir Prelovac
|
8 |
Author URI: http://www.prelovac.com/vladimir
|
9 |
|
3 |
Plugin Name: SEO Friendly Images
|
4 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images
|
5 |
Description: Automatically adds alt and title attributes to all your images. Improves traffic from search results and makes them W3C/xHTML valid as well.
|
6 |
+
Version: 3.0.2
|
7 |
Author: Vladimir Prelovac
|
8 |
Author URI: http://www.prelovac.com/vladimir
|
9 |
|