WordPress.org

Make WordPress Core

Opened 18 months ago

Closed 18 months ago

Last modified 15 months ago

#46691 closed defect (bug) (fixed)

reponse should be response in site health wp_die function

Reported by: mukesh27 Owned by: 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 18 months ago.
Patch.

Download all attachments as: .zip

Change History (5)

@mukesh27
18 months ago

Patch.

#1 @johnbillion
18 months ago

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

#2 @SergeyBiryukov
18 months ago

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

#3 @SergeyBiryukov
18 months 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
15 months ago

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