[wp-trac] [WordPress Trac] #40348: Option to enable User Dashboard on single-site installations
WordPress Trac
noreply at wordpress.org
Mon Apr 3 19:46:00 UTC 2017
#40348: Option to enable User Dashboard on single-site installations
-----------------------------+-----------------------------------
Reporter: johnjamesjacoby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.0
Severity: normal | Keywords: has-patch 2nd-opinion
Focuses: administration |
-----------------------------+-----------------------------------
Since WordPress 3.0, the User Dashboard located at `/wp-admin/user/` has
only been exposed to multisite installations. I would like the option to
use this dashboard as a replacement for `profile.php`, even on single-site
installations.
----
'''Why?'''
Because `profile.php` is just 1 page, and plugins (like BuddyPress &
bbPress) cannot user-centric data management without overriding the
profile screen completely, which has the adverse affect of abandoning
other plugins that have hooked into this screen. If we have to do that, we
may as well invest more in the User Dashboard that already comes with
WordPress core.
My WP User Profiles plugin helps to re-imagine how the WordPress User
experience might work & look, and comes with full integration into the
User Dashboard. I'd like to bring that experience to single-site
installations, and the core code currently explicitly prevents this
behavior.
----
'''How?'''
I believe, today, the User Dashboard should be off-by-default for single-
site installations, and work as-is for multi-site installations. Plugins
should be allowed to enable access to the User Dashboard, and plugins can
then opt-into supporting that new dashboard in new & creative ways.
I'm proposing that we simply enable this feature to function, and not that
we completely jump head-first into supporting it in core and/or replacing
`profile.php` entirely, at least not yet or my foreseeable future.
----
'''Caveats'''
There are zero caveats for all existing WordPress installations, though as
with any new feature, I can imagine the range of future scenarios from bad
to good on how this could be used and/or abused.
The one major bummer is that the Admin Settings API does not support
either the Network or User dashboards, so saving options is still a
completely custom affair. The theoretical Fields API could save us here,
or maybe not.
----
This functionality is relatively easily achieved, and I'll be attaching a
patch imminently.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40348>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list