Skip to content

Commit

Permalink
Merge pull request #925 from andbalashov/master
Browse files Browse the repository at this point in the history
4.5.3
  • Loading branch information
goqflash authored Aug 13, 2024
2 parents 9728c25 + e5eb839 commit a7e3367
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
15 changes: 13 additions & 2 deletions lib/frontend-output/SWP_Header_Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,19 @@ public function add_header_output() {
echo PHP_EOL . '<!-- Social Warfare v' . esc_html( SWP_VERSION ) . ' https://warfareplugins.com - BEGINNING OF OUTPUT -->' . PHP_EOL;

$allowed_html = array(
'style' => array(),
);
'meta' => array(
'name' => array(),
'content' => array(),
'property'=> array(),
'http-equiv' => array(),
'charset' => array(),
),
'style' => array(
'type' => array(),
'media' => array(),
'scoped' => array(),
),
);

echo wp_kses( $meta_html, $allowed_html );

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "social-warfare",
"version": "4.5.2",
"version": "4.5.3",
"license": "GPL-2.0-or-later",
"repository": "https://github.com/warfare-plugins/social-warfare",
"description": "The most beautiful, responsive, lightning fast social share buttons built to boost shares and drive more traffic without slowing down your site.",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: holas84, webinator, warfareplugins, cdegraff1, goqflash, andbalash
Tags: sharing buttons, social media share, floating share buttons, facebook share, linkedin share, pin it, pinterest save, mix button, tweet button, twitter share, click to tweet, social sharing buttons, social share, social sharing, social media sharing, wordpress social sharing plugin, social sharing plugin, share buttons, share counts
Requires at least: 4.5.0
Tested up to: 6.6
Stable tag: 4.5.2
Stable tag: 4.5.3
Requires PHP: 5.6
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
4 changes: 2 additions & 2 deletions social-warfare.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Social Warfare
* Plugin URI: https://warfareplugins.com
* Description: A plugin to maximize social shares and drive more traffic using the fastest and most intelligent share buttons on the market, calls to action via in-post click-to-tweets, popular posts widgets based on share popularity, link-shortening, Google Analytics and much, much more!
* Version: 4.5.2
* Version: 4.5.3
* Author: Warfare Plugins
* Author URI: https://warfareplugins.com
* License: GPL v2 or later
Expand All @@ -20,7 +20,7 @@
*
* @since 4.2.0 | 19 NOV 2020 | The str_replace() removes any linebreaks in the string.
*/
define( 'SWP_VERSION', '4.5.2' );
define( 'SWP_VERSION', '4.5.3' );
define( 'SWP_DEV_VERSION', '2024.04.05 MASTER' );
define( 'SWP_PLUGIN_FILE', __FILE__ );
define( 'SWP_PLUGIN_URL', str_replace( array( "\r", "\n" ), '', untrailingslashit( plugin_dir_url( __FILE__ ) ) ) );
Expand Down

0 comments on commit a7e3367

Please sign in to comment.