[wp-trac] [WordPress Trac] #32694: current_user_can function is able to take post_id as argument, but it is not documented in WordPress documentation.

WordPress Trac noreply at wordpress.org
Mon Aug 24 16:17:52 UTC 2015


#32694: current_user_can function is able to take post_id as argument, but it is
not documented in WordPress documentation.
--------------------------+-------------------
 Reporter:  jliman        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+-------------------
Changes (by DrewAPicture):

 * milestone:  Awaiting Review => 4.4


Comment:

 I would like to get this done in 4.4, along with better docs for
 `add_query_arg()` and others.

 @jliman, are you interested in trying your hand at
 [https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
 submitting a patch]?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32694#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list