[wp-hackers] Person tagging?
emoya at tribune.com
Fri Jan 22 16:44:03 UTC 2010
I agree, I think the reason there is so little use of the roles and
capabilities API is because it is so poorly (read: "not") documented. There
is this: http://codex.wordpress.org/Roles_and_Capabilities but that meerly
lists the existing setup of roles/caps, not how to use the API to modify the
I don't think the lack of use of this by plugin developers is a sign that it
is any less necessary.
On 1/22/10 10:31 AM, "Ken Newman" <Ken at adcSTUDIO.com> wrote:
> Just FYI, Justin Tadlock has a plugin and tutorial on Custom
> Capabilities at that might be helpful:
> On 1/22/2010 11:23 AM, Andrew Nacin wrote:
>>> The ability for users to have individual capabilities was removed because
>>> nobody really used it, no?
>> Actually, that still exists.
>> The current system allows for a single user to have multiple roles and
>> overriding individual capabilities as well. What has been proposed is
>> limiting users to a single role with no opportunity for individual
>> capabilities on top of that.
>> This could significantly increase performance in many situations, as
>> currently the system can result in a lot of overhead. (For example, if you
>> wanted to get a list of all users with a certain capability, and you have X
>> number of users you have to calculate capabilities for...)
>> We may need to introduce role management as either a feature or a
>> core/canonical plugin at that point, that way roles can be cloned and
>> See also: http://core.trac.wordpress.org/ticket/10201.
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers