Opened 6 years ago
Last modified 9 months ago
#7898 new enhancement
Allow site admin to use the registration page
Reported by: | Venutius | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Contributions | Priority: | normal |
Severity: | normal | Version: | |
Component: | Registration | Keywords: | |
Cc: |
Description
I'd like for there to be a "debug mode" option that allowed site admin to use the register page for debugging purposes. I'm hoping this is a pretty simple change, a setting in the options menu and a new test in the code.
I've not found it yet but presumably there's a check if the user is logged in that prevents the register page from being viewed. This could have an additional conditional to check for site admin in debug mode.
This would allow this pages functions to be diagnosed with inline tools such as Debug Bar and Query Monitor.
Change History (7)
#2
@
6 years ago
Thanks for the tip, sorry for the delayed response, I got no notification of the update. So is this generally a bad idea? there are other admin only tools that I can think of that an admin would like to have running when they are viewing the register and activation pages.
I've had a look at it and I think the change would be a pretty simple one. Possibly one I could work out for myself.
#3
@
6 years ago
- Milestone changed from Awaiting Review to Under Consideration
@Venutius What exactly would you debug? Can you explain an example of what you have in mind? And why wouldn't an anonymous user/browser let you do this?
#4
@
6 years ago
@DJPaul One use case I can think of is an inline CSS editor I use. This allows the admin to make dynamic CSS changes to pages. In the case of debugging there are tools such as Debug Bar that would allow you to see any errors in page execution. I'm aware there are other ways to debug, but the register page comes in for a lot of scrutiny by site admin and I think giving them the option to display the page whilst being logged in as admin would be of benefit.
For debugging, Query Monitor has the ability to work even while you're logged out:
https://github.com/johnbillion/query-monitor#authentication