[wp-trac] [WordPress Trac] #10805: Mark user levels as Deprecated

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 30 18:37:26 UTC 2009


#10805: Mark user levels as Deprecated
-----------------------------+----------------------------------------------
 Reporter:  dd32             |        Owner:  westi 
     Type:  enhancement      |       Status:  closed
 Priority:  normal           |    Milestone:  3.0   
Component:  Role/Capability  |      Version:  2.9   
 Severity:  normal           |   Resolution:  fixed 
 Keywords:  has-patch        |  
-----------------------------+----------------------------------------------

Comment(by nacin):

 Replying to [comment:10 westi]:
 > I think one call in {{{has_cap}}} where the mapping happens is better
 than putting the calls into {{{current_user_can}}} and {{{author_can}}}.

 Fine by me. I only patched it the other way just to pass to
 {{{_deprecated_argument}}} the names of the function a developer would
 call, but they're already getting good feedback in the message anyway.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10805#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list