PB SEO Friendly Images - Version 4.0.5

Version Description

  • Bugfix & Optimization
  • PHP 8.x update
Download this release

Release Info

Developer PascalBajorat
Plugin Icon 128x128 PB SEO Friendly Images
Version 4.0.5
Comparing to
See all releases

Code changes from version 4.0.4 to 4.0.5

inc/pbsfi_optimizer.php CHANGED
@@ -249,8 +249,9 @@ class pbsfi_optimizer
249
 
250
  // Optimize encoding
251
  if( function_exists('mb_convert_encoding') && $this->settings['encoding_mode'] != 'off' ) {
252
- //$content = @mb_convert_encoding( $content, 'utf-8', $this->settings['encoding'] );
253
- $content = @mb_convert_encoding( $content, 'HTML-ENTITIES', $this->settings['encoding'] );
 
254
  } else {
255
  $content = $encoding_declaration.$content;
256
  }
249
 
250
  // Optimize encoding
251
  if( function_exists('mb_convert_encoding') && $this->settings['encoding_mode'] != 'off' ) {
252
+ $encoding = !empty($this->settings['encoding']) ? $this->settings['encoding'] : get_bloginfo( 'charset' );
253
+ //$content = @mb_convert_encoding( $content, 'utf-8', $encoding );
254
+ $content = @mb_convert_encoding( $content, 'HTML-ENTITIES', $encoding );
255
  } else {
256
  $content = $encoding_declaration.$content;
257
  }
pb-seo-friendly-images.php CHANGED
@@ -3,14 +3,14 @@
3
  Plugin Name: PB SEO Friendly Images
4
  Plugin URI: https://wordpress.org/extend/plugins/pb-seo-friendly-images/
5
  Description: This plugin is a full-featured solution for SEO friendly images. Optimize "alt" and "title" attributes for all images and post thumbnails. This plugin helps you to improve your traffic from search engines.
6
- Version: 4.0.4
7
  Author: Pascal Bajorat
8
  Author URI: https://www.bajorat-media.com
9
  Text Domain: pb-seo-friendly-images
10
  Domain Path: /lang
11
  License: GNU General Public License v.3 and Commercial for Pro-Parts
12
 
13
- Copyright (c) 2020 by Bajorat-Media.com.
14
  */
15
 
16
  /* Security-Check */
@@ -21,7 +21,7 @@ if( ! class_exists('pbSEOFriendlyImages') ):
21
  class pbSEOFriendlyImages
22
  {
23
  /** @var string Plugin version */
24
- var $version = '4.0.4';
25
 
26
  /** @var string DB version */
27
  var $db_version = '4.0.0';
3
  Plugin Name: PB SEO Friendly Images
4
  Plugin URI: https://wordpress.org/extend/plugins/pb-seo-friendly-images/
5
  Description: This plugin is a full-featured solution for SEO friendly images. Optimize "alt" and "title" attributes for all images and post thumbnails. This plugin helps you to improve your traffic from search engines.
6
+ Version: 4.0.5
7
  Author: Pascal Bajorat
8
  Author URI: https://www.bajorat-media.com
9
  Text Domain: pb-seo-friendly-images
10
  Domain Path: /lang
11
  License: GNU General Public License v.3 and Commercial for Pro-Parts
12
 
13
+ Copyright (c) 2022 by Bajorat-Media.com.
14
  */
15
 
16
  /* Security-Check */
21
  class pbSEOFriendlyImages
22
  {
23
  /** @var string Plugin version */
24
+ var $version = '4.0.5';
25
 
26
  /** @var string DB version */
27
  var $db_version = '4.0.0';
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: pascalbajorat
3
  Donate link: https://www.pascal-bajorat.com/spenden/
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title, lazy, load
5
  Requires at least: 5.0
6
- Tested up to: 5.3.9
7
- Stable tag: 4.0.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -47,6 +47,10 @@ Want to add lazy load to images in your theme? You only need to do some small mo
47
 
48
  == Changelog ==
49
 
 
 
 
 
50
  = 4.0.4 =
51
  * DISABLED: Banner in WP Dashboard
52
  * Bugfix & Optimization
3
  Donate link: https://www.pascal-bajorat.com/spenden/
4
  Tags: seo, images, Post, admin, google, attachment, optimize, photo, picture, image, media, photos, pictures, alt, title, lazy, load
5
  Requires at least: 5.0
6
+ Tested up to: 6.1
7
+ Stable tag: 4.0.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
47
 
48
  == Changelog ==
49
 
50
+ = 4.0.5 =
51
+ * Bugfix & Optimization
52
+ * PHP 8.x update
53
+
54
  = 4.0.4 =
55
  * DISABLED: Banner in WP Dashboard
56
  * Bugfix & Optimization