[wp-trac] [WordPress Trac] #10285: remove_role not working / code needs change
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 13 10:42:31 UTC 2009
#10285: remove_role not working / code needs change
-----------------------------+----------------------------------------------
Reporter: 5ubliminal | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 2.9
Component: Role/Capability | Version: 2.8
Severity: normal | Keywords: roles close
-----------------------------+----------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: roles needs-testing => roles close
Comment:
seems invalid.
{{{
// var_dump new WP_User(1)...
["caps"]=>
&array(1) {
["administrator"]=>
bool(true)
}
["cap_key"]=>
string(15) "wp_capabilities"
["roles"]=>
array(1) {
[0]=>
string(13) "administrator"
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10285#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list