[wp-trac] [WordPress Trac] #27205: Unit tests: super admin privledges leak to other tests
WordPress Trac
noreply at wordpress.org
Tue Feb 25 15:29:59 UTC 2014
#27205: Unit tests: super admin privledges leak to other tests
------------------------------+--------------------
Reporter: jdgrimes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+--------------------
Changes (by jdgrimes):
* keywords: has-patch dev-feedback =>
Comment:
Replying to [comment:3 SergeyBiryukov]:
> Replying to [comment:2 jdgrimes]:
> > Do you think [attachment:27205.diff] is the way to go?
>
> Per [14206] and #12815, `$super_admins` is meant to be set as an
override in `wp-config.php`.
>
> Looks like [attachment:27205.diff] would break `grant_super_admin()` and
`revoke_super_admin()`.
Ah, OK. I'll see if I can work up a patch for just the test framework
then.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27205#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list