Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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:

Description

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 6 years ago.
Patch.

Download all attachments as: .zip

Change History (5)

@mukesh27
6 years ago

Patch.

#1 @johnbillion
6 years ago

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

#2 @SergeyBiryukov
6 years ago

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

#3 @SergeyBiryukov
6 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
6 years ago

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