[wp-trac] [WordPress Trac] #18749: Remove "the hackiest hack that ever did hack" from add_user()
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 6 08:08:37 UTC 2012
#18749: Remove "the hackiest hack that ever did hack" from add_user()
-----------------------------------+-----------------------
Reporter: duck_ | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.4
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------
Changes (by scribu):
* status: closed => reopened
* resolution: fixed =>
Comment:
How about just doing the assignment separately:
{{{
$user_id = edit_user();
if ( !$user_id ) {
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18749#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list