All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
6.5.0 - 2022-03-05
- Added
post-author-custom
case forrole
option (thanks to @agenziae20).
6.4.1 - 2021-02-28
- Updated links to documentation.
6.4.0 - 2021-02-27
- Added
post-author
andpost-author-only
cases forrole
option (props to @agenziae20 for the suggestion).
- Underscore (
_
) in login names is changed into a dash (-
) when building the CSS class. - Updated compatibility to WordPress 5.7.
6.3.1 - 2020-11-21
- Added new link to plugin line in the WordPress plugins management page.
- Updated compatibility to WordPress 5.6.
6.3 - 2020-03-01
- Added support for user IDs in recipient option.
6.2 - 2019-12-29
- Added support for custom HTML classes and HTML IDs.
- Added reverse option for custom roles.
- Added case
visitor
which is equivalent tovisitor-only
.
- Convert user-entered custom roles into lowercase.
- Administrators can read hidden texts for Visitors.
6.1 - 2019-12-22
- Added use of multiple custom roles.
- Added a new filter when there is no text to be displayed.
- Added a new filter for hidden text.
- Added a new filter for alternate text.
- Now Administrators can always read text for custom roles, unless a
role="custom-only"
option has been used. - Code optimization.
6.0 - 2019-12-01
- Added use of custom roles.
5.1 - 2019-10-27
- Changed the coding paradigm to OOP.
5.0 - 2018-12-08
- Added
reverse
option to change the logic of therecipient
option.
4.4 - 2018-10-20
- Checked code against PHPCS.
4.3 - 2018-05-19
- Added
ubn_private
as an extra shortcode, in caseprivate
is already in use.
- Improved security.
4.2 - 2016-12-12
- Improved security.
- Changed text domain declaration.
- Added translation files.
4.1 - 2016-10-31
- NEW: added support for links in alternate text.
4.0 - 2016-02-21
- NEW: Added support for multiple recipents.
3.0 - 2015-09-02
- NEW: Added option for a single user.
- FIX: now, if the role is not correctly entered, the shortcode does not display anything.
- Removed CSS class in the alternate text, in order to hide which type of users was the recipent of the text.
2.5 - 2015-08-08
- NEW: Added ability to use "span" as a container.
- FIX: Removed shortcode execution in feed.
2.4 - 2014-02-23
- NEW: now it's possible to use a
div
container instead ofp
, thanks to a pull request of Matt.
2.3 - 2013-12-28
- FIX: Added styling option for the alternate text.
- Added style to role-only alternate text.
2.2 - 2013-06-08
- NEW: now the plugin can show an alternate text if the reader hasn't the capability to read the text.
2.1 - 2013-06-06
- NEW: added the possibility to show a note only to Visitors (thanks to Jacki for the tip).
2.0 - 2013-02-16
- NEW: now you can show a note only to user of a specific role, hiding that note to higher roles.
- Added uninstall.php to delete the new custom capabilities.
1.2 - 2013-01-20
- Now the inline style appears only if necessary.
1.1 - 2012-12-12
- Upon request, added the possibility to align the text left, right, centered and justified.
1.0 - 2012-11-24
- First release of the plugin.