WordPress.org

Make WordPress Core

Opened 3 weeks ago

Closed 2 weeks ago

#47828 closed enhancement (fixed)

Two constants DB_CHARSET & DB_COLLATE in health site WordPress Constants

Reported by: sharaz Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version: 5.2.2
Component: Site Health Keywords: has-patch needs-testing
Focuses: Cc:

Description

These two constant provide metadata about the database. Also, these constants help us in debugging if your site is multi-language. We know every language has own characters.

I think it would be helpful for the users to takes support.

Attachments (1)

45345.patch (824 bytes) - added by sharaz 3 weeks ago.

Download all attachments as: .zip

Change History (4)

@sharaz
3 weeks ago

#1 @sharaz
3 weeks ago

  • Keywords has-patch needs-testing added

#2 @Clorith
2 weeks ago

  • Milestone changed from Awaiting Review to 5.3

This makes sense to me, would you mind making an updated patch where the debug line uses all lowercase undefined, just so it's consistent with the other tests?

#3 @SergeyBiryukov
2 weeks ago

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

In 45782:

Site Health: Add database charset and collation information to debug info.

Props sharaz, Clorith, SergeyBiryukov.
Fixes #47828.

Note: See TracTickets for help on using tickets.