Releases: trustedlogin/Remove-Dashboard-Access
Release list
1.3.1
This release adds the missing License headers that the wordpress.org plugin reviewer flagged during the 1.3.0 import. No functional change.
🐛 Fixed
- Added the
License: GPLv2 or laterandLicense URI: https://www.gnu.org/licenses/gpl-2.0.htmlheaders toreadme.txtand normalized the plugin file'sLicense:header to the same canonical form. The plugin has always been GPLv2-licensed; the headers were just missing from the locations wordpress.org's plugin directory parses.
1.3.0
This release adds an Allowed URLs setting with wildcard support, groups the more advanced options under their own section, and fixes several long-standing admin-page-access and translation issues.
🚀 Added
- Allowed URLs — A new textarea on the Dashboard Access settings page where you can paste any URLs that should skip the dashboard redirect, one per line. Useful for letting customers reach a specific admin page (like a payment confirmation or a TrustedLogin secret-share screen) without giving them the rest of the dashboard.
- Wildcards in Allowed URLs — Use
*inside a query value to match a group of pages at once. For example,?page=tl-*lets throughtl-secrets,tl-config, and any other page slug that starts withtl-. - Also block AJAX — A new checkbox in the Advanced section to extend the dashboard restriction to
admin-ajax.phprequests too. Most sites should leave this off; turn it on only if you know your AJAX endpoints rely on this plugin to keep them gated. - Advanced section — The settings page now has two clear groups: the everyday Dashboard Access Controls at the top, and an Advanced section below for AJAX blocking and the Allowed URLs list. Easier to scan, less intimidating for new users.
✨ Improved
- The settings page now validates the capability values you save. A typo, empty value, or unknown capability can no longer be saved and silently disable the dashboard restriction.
- The disallowed-user redirect uses WordPress's safer
wp_safe_redirect(). Your configured redirect URL still works, including external destinations — but accidental redirects to other hosts are now blocked. - When you add an
admin.php?page=…entry to the allow-list, the plugin now confirms the page is actually registered by another plugin before letting visitors through.
🐛 Fixed
admin-post.phpis now reachable as the 1.2.2 release notes promised. It had been quietly blocked despite the documentation saying it should be exempt.- Two-step admin flows on allow-listed pages — like Wordfence Login Security's 2FA OTP step — no longer get rejected just because the request carries extra query parameters.
- Translations from translate.wordpress.org will now actually load on your site. The plugin's text domain didn't match the WordPress.org slug, so community-submitted translations (including zh_TW) were silently being dropped. Thanks to Alex Lion (阿力獅) (@alexclassroom) for surfacing this and contributing the fix.
- A handful of strings that weren't translatable before — most notably the screen-reader hint on the Login Message link — are now translatable.
- The uninstall script only runs when WordPress is actually uninstalling the plugin, not on stray requests to its file.
💻 Developer Updates
- Text domain renamed from
remove_dashboard_accesstoremove-dashboard-access-for-non-adminsto match the WordPress.org slug. If you maintain custom.po/.mofiles in/languages/, rename them to use the new domain. - New
rda_strict_ajaxfilter mirrors the "Also block AJAX" setting for code-level control on a per-site basis. - The existing
rda_allowlistfilter still works; entries now support*wildcards inside query values. - New unit test suite using
@wordpress/scripts+wp-env+ PHPUnit. Run locally withnpm test.
Version 1.2
1.2 on January 29, 2024
- Confirmed compatibility with WordPress 6.4.2
- New: Added a new filter,
rda_allowlist, to configure pages that should be accessible to all users, regardless of their capabilities or roles (see FAQ for usage) - Improved: Added a description that clarifies that the Login Message is only displayed on the WordPress "Log In" screen
- Improved: The User Profile Access text is now a proper label for the checkbox
- Fixed: Allow access to the Wordfence 2FA configuration page (#33)
- Tweak: Prevent directly accessing PHP files by checking for
ABSPATH(#26) - Tweak: Prevent browsing directories on poorly-configured servers by adding
index.phpfiles in plugin directories
1.1.5 (unreleased)
- Add ABSPATH check on all PHP files (closes #26)
- Prevent directory sniffing by adding index.php files in plugin directories
Version 1.1.4
Remove Dashboard Access is now being maintained by TrustedLogin! Remove Dashboard Access aligns with what we do at TrustedLogin: simply making WordPress more secure. Email any questions to support@trustedlogin.com.
Bug Fix Release
Fixes a compatibility issue with bbPress that was preventing the media grid view from loading in some instances.
Bug Fix Release
Restores the separate Settings > Dashboard Access screen to resolve a conflcit with the page_on_front UI.