Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#46691 closed defect (bug) (fixed)

reponse should be response in site health wp_die function

Reported by: mukesh27's profile mukesh27 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.2 Priority: normal
Severity: normal Version: 5.2
Component: Site Health Keywords: has-patch site-health commit
Focuses: Cc:


Wrong reponse attribute passed in site health wp_die function it should be response instead of reponse

Attachments (1)

46691.diff (1.2 KB) - added by mukesh27 5 years ago.

Download all attachments as: .zip

Change History (5)

5 years ago


#1 @johnbillion
5 years ago

  • Keywords commit added; dev-feedback good-first-bug removed
  • Milestone changed from Awaiting Review to 5.2

#2 @SergeyBiryukov
5 years ago

Looks like we generally use "You are not allowed to" wording for messages like this, and a 403 error code.

#3 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 45050:

Site Health: Use a consistent wording and response code for capability checks.

Props mukesh27 for initial patch.
Fixes #46691.

#4 @spacedmonkey
5 years ago

  • Component changed from Administration to Site Health
Note: See TracTickets for help on using tickets.