Skip to content

Commit

Permalink
1.3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
someguy9 committed Mar 24, 2024
1 parent 453da94 commit ebe00b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mightyshare.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: MightyShare
* Plugin URI: https://mightyshare.io/wordpress/
* Description: Automatically generate social share preview images with MightyShare!
* Version: 1.3.13
* Version: 1.3.14
* Text Domain: mightyshare
* Author: MightyShare
* Author URI: https://mightyshare.io
Expand All @@ -13,7 +13,7 @@
exit; // Exit if accessed directly.
}

define( 'MIGHTYSHARE_VERSION', '1.3.13' );
define( 'MIGHTYSHARE_VERSION', '1.3.14' );
define( 'MIGHTYSHARE_DIR_URL', plugin_dir_url( __FILE__ ) );
define( 'MIGHTYSHARE_DIR_URI', plugin_dir_path( __FILE__ ) );

Expand Down Expand Up @@ -976,7 +976,7 @@ public static function mightyshare_generate_og_image( $template_parts = null ) {
}
$value = rawurlencode( htmlspecialchars_decode( $image_url ) );
} elseif ( $value_key === 'title' || $value_key === 'description' ) {
$value = rawurlencode( htmlspecialchars_decode( $value ) );
$value = rawurlencode( htmlspecialchars_decode( $value ?? '' ) );
};

array_push(
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: Social Preview, Open Graph, Social Media, Twitter Card, Open Graph Images
Requires at least: 5.4
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.3.13
Stable tag: 1.3.14
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl.html

Expand Down Expand Up @@ -70,6 +70,9 @@ If you are using an SEO plugin be sure to have a default image set for the type

== Changelog ==

= 1.3.14 =
* Bug fix for PHP warning.

= 1.3.13 =
* WordPress 6.5 compatibility.
* [Frontend PHP](https://mightyshare.io/docs/get_mightyshare_url/) function added for developers to use.
Expand Down

0 comments on commit ebe00b4

Please sign in to comment.