[wp-trac] [WordPress Trac] #59000: Add a check for wp_get_current_user to current_user_can

WordPress Trac noreply at wordpress.org
Wed Sep 6 21:50:11 UTC 2023


#59000: Add a check for wp_get_current_user to current_user_can
-------------------------------------------------+-------------------------
 Reporter:  scruffian                            |       Owner:  azaozz
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.3.2
Component:  Users                                |     Version:  6.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing fixed-major                            |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 Uh, meant to add myself at the end of the props string, not repeat `okat`
 :)

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


More information about the wp-trac mailing list