Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d98b9f1
Add GitHub Actions workflows for everything currently handled in Trav…
desrosj Oct 12, 2020
6e546ab
Indicate that JS standards are also checked in this workflow.
desrosj Oct 12, 2020
d10a9a9
Continuing to refine:
desrosj Oct 13, 2020
bb92995
Be more explicit within `on` and use human readable part of `check_na…
desrosj Oct 13, 2020
690dc97
Merge branch 'master' into trac/50401-add-github-actions
desrosj Oct 14, 2020
c8d9481
Admin Menu: Better wrapping for long menu item names.
helen Oct 14, 2020
e72f248
Merge updates.
desrosj Oct 14, 2020
0aa3ade
Updates: Reduce secondary buttons for less visual complexity.
helen Oct 14, 2020
d0ec93f
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/dashboar…
ocean90 Oct 14, 2020
52f2d0d
Community Events: Update timezone-related `@since` tags to `5.5.2`.
iandunn Oct 14, 2020
50fa352
Docs: Improve description of the `$email` parameter in `email_exists()`.
SergeyBiryukov Oct 15, 2020
efe06cd
Site Health, REST API: Move async tests to REST API endpoints.
TimothyBJacobs Oct 15, 2020
73fb2c1
REST API: Grant super admin to site health test user.
TimothyBJacobs Oct 15, 2020
701dee2
REST API: Exclude custom site health capability check on multisite.
TimothyBJacobs Oct 15, 2020
46a598a
Limit push runs to master and version branches.
desrosj Oct 15, 2020
ed611d8
Limit when actions run.
desrosj Oct 15, 2020
8e53b26
Improve language of welcome message.
desrosj Oct 15, 2020
c978c99
Let's stay on PHP 7.4 for PHPCS testing until we verify our tooling i…
desrosj Oct 15, 2020
2092637
Node needs to be installed before caching.
desrosj Oct 15, 2020
277c3eb
Make the version of Node dynamic based on the `.nvmrc` file.
desrosj Oct 15, 2020
7b73653
Detect the desired NodeJS version dynamically.
desrosj Oct 15, 2020
d009960
`actions/setup-node` does not currently support aliases like LTS
desrosj Oct 15, 2020
b0c0739
Remove stray nvmrc reference.
desrosj Oct 15, 2020
8bf847b
Comments: Remove extra space from the comment link in `Walker_Comment`.
SergeyBiryukov Oct 15, 2020
7bfe507
Twenty Twenty: Remove extra space from the comment link in `TwentyTwe…
SergeyBiryukov Oct 15, 2020
fee906a
Twenty Nineteen: Remove extra space from the comment link in `TwentyN…
SergeyBiryukov Oct 15, 2020
c0f41b5
Comments: Further remove unnecessary context switch in `Walker_Comment`.
SergeyBiryukov Oct 15, 2020
ec260b0
Merge branch 'master' into trac/50401-add-github-actions
desrosj Oct 15, 2020
f138386
Introduce a jshint warning.
desrosj Oct 15, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
REST API: Grant super admin to site health test user.
The current user needs to be a super admin to access Site Health on multisite.

Follow up to [49154].
See #48105.


git-svn-id: https://develop.svn.wordpress.org/trunk@49155 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
TimothyBJacobs committed Oct 15, 2020
commit 73fb2c137a7b3cca96e7e6400a9837386580eee4
4 changes: 4 additions & 0 deletions tests/phpunit/tests/rest-api/rest-site-health-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public static function wpSetUpBeforeClass( $factory ) {
'role' => 'administrator',
)
);

if ( is_multisite() ) {
grant_super_admin( self::$admin );
}
}

/**
Expand Down