diff --git a/readme.txt b/readme.txt index 032416a..8de1c7c 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Requires at least: 4.8 Donate Link: https://givewp.com/ Tested up to: 6.5 Requires PHP: 7.4 -Stable tag: 2.0.4 +Stable tag: 2.0.5 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -106,6 +106,11 @@ This is the first version of this plugin. It is a tool for your convenience. Rol == Changelog == += 2.0.5 = +* New: In this version we've brought back the "trunk" option to rollback to. This allows plugin or theme developers who use trunk for beta testing to rollback to the latest trunk version. Thanks, @megamenu for suggesting this be brought back. +* Fix: Refactored how plugin avatar images are checked so that all available image types and sizes are checked. This resolves an issue where some plugins would not display an avatar image. +* Fix: On the final rollback confirmation screen, the plugin name field was outputting raw HTML. This has been fixed to properly display the plugin name, even if it contains some html characters. + = 2.0.4 = * Fix: Resolved issue REST route not including proper permission callback which created a PHP notice. Thanks, @rom1our for submitting the issue. * Fix: Resolve issue with REST API and multisite installs not being able to properly communicate with the endpoint. diff --git a/src/TrunkPopover.js b/src/TrunkPopover.js new file mode 100644 index 0000000..b99c0bb --- /dev/null +++ b/src/TrunkPopover.js @@ -0,0 +1,28 @@ +import { useState } from '@wordpress/element'; +import { Dashicon, Popover } from '@wordpress/components'; +import { __ } from '@wordpress/i18n'; + +function TrunkPopover() { + const [ isPopoverVisible, setIsPopoverVisible ] = useState( false ); + + const showPopover = () => { + setIsPopoverVisible(true); + }; + + const hidePopover = () => { + setIsPopoverVisible(false); + }; + + return ( +