[wp-trac] [WordPress Trac] #52076: Checking anonymous user's exist capability returns inconsistent results across functions.

WordPress Trac noreply at wordpress.org
Wed Mar 3 23:32:50 UTC 2021


#52076: Checking anonymous user's exist capability returns inconsistent results
across functions.
-------------------------------------------------+-------------------------
 Reporter:  peterwilsoncc                        |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.8
Component:  Role/Capability                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  early has-patch needs-dev-note has-  |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  early has-patch needs-unit-tests needs-dev-note needs-refresh
     => early has-patch needs-dev-note has-unit-tests


Comment:

 PR refreshed following @SergeyBiryukov's comment above. I've added the
 logged out user to the capability checks.

 @jjj has approved the PR so I reckon this is good to go in while it's
 still early.

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


More information about the wp-trac mailing list