Skip to content

Commit

Permalink
Security fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Dec 28, 2022
1 parent 6edf29c commit 6359c7a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__Requires:__ WordPress 5.6 and Top 10 v3.0.0

__Tested up to:__ 5.9
__Tested up to:__ 6.1

__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)

Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/register-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function wzpa_register_blocks() {
function render_wzpa_block( $attributes ) {

// Map block attributes to PHP attributes.
$attributes['extra_class'] = $attributes['className'];
$attributes['extra_class'] = esc_attr( $attributes['className'] );
$attributes['optioncount'] = $attributes['showOptionCount'];
$attributes['show_fullname'] = $attributes['showFullName'];
$attributes['show_avatar'] = $attributes['showAvatar'];
Expand Down
6 changes: 3 additions & 3 deletions popular-authors.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
* @author Ajay D'Souza
* @license GPL-2.0+
* @link https://webberzone.com
* @copyright 2020-2022 WebberZone
* @copyright 2020-2023 WebberZone
*
* @wordpress-plugin
* Plugin Name: Popular Authors
* Plugin URI: https://webberzone.com/downlods/popular-authors/
* Description: Display a list of the popular authors. A Top 10 WordPress plugin addon.
* Version: 1.1.0
* Version: 1.1.1
* Author: WebberZone
* Author URI: https://webberzone.com
* License: GPL-2.0+
Expand All @@ -36,7 +36,7 @@
* @var string Plugin folder path
*/
if ( ! defined( 'POP_AUTHOR_VERSION' ) ) {
define( 'POP_AUTHOR_VERSION', '1.1.0' );
define( 'POP_AUTHOR_VERSION', '1.1.1' );
}

/**
Expand Down
12 changes: 8 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Tags: popular, popular authors, authors, top authors, views, top 10
Contributors: webberzone, Ajay
Donate link: https://ajaydsouza.com/donate/
Stable tag: 1.1.0
Stable tag: 1.1.1
Requires at least: 5.6
Requires PHP: 7.1
Tested up to: 5.9
Tested up to: 6.1
License: GPLv2 or later

Display a list of the popular authors. A Top 10 WordPress plugin addon.
Expand Down Expand Up @@ -78,6 +78,10 @@ Use `[wzpa_popular_authors]` to display the popular authors. Check [this knowled

== Changelog ==

= 1.1.1 =

* Security fix in block

= 1.1.0 =

Release post: [https://webberzone.com/blog/popular-authors-1-1-0](https://webberzone.com/blog/popular-authors-1-1-0)
Expand All @@ -104,5 +108,5 @@ For previous changelog entries please visit [Github Releases page](https://githu

== Upgrade Notice ==

= 1.1.0 =
Major update. Gutenberg block, configurable settings; Check the release post on WebberZone.com
= 1.1.1 =
Security fic

0 comments on commit 6359c7a

Please sign in to comment.