[wp-trac] [WordPress Trac] #5736: Merge profile.php and
user-edit.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 30 22:14:18 GMT 2008
#5736: Merge profile.php and user-edit.php
----------------------------+-----------------------------------------------
Reporter: nbachiyski | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Inspired by #5508, this patch tries to merge {{{wp-admin/profile.php}}}
and {{{wp-admin/user-edit.php}}}, since these files contain much common
code.
Some details:
* Both files are retained in order all old links to work.
{{{profile.php}}} is almost empty and just sets a variable and loads
{{{user-edit.php}}}
* Password strength meter and pluggable personal options are still
available only on the profile page.
* The capability system was modified (with great help from Ryan) so that
{{{current_user_can('edit_user', $uid)}}} returns true if the current user
has id {{{$uid}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/5736>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list