WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#36919 closed enhancement (fixed)

dbDelta() DRY up the code for $tablefield handling

Reported by: ocean90 Owned by: ocean90
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Database Keywords: has-patch
Focuses: Cc:
PR Number:

Description

There are a lot of nested strtolower() calls which should only be done once.

Attachments (1)

36919.patch (3.5 KB) - added by ocean90 3 years ago.

Download all attachments as: .zip

Change History (3)

@ocean90
3 years ago

#1 @ocean90
3 years ago

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

In 37532:

Database: Reduce the number of strtolower() calls in dbDelta().

Fixes #36919.

This ticket was mentioned in Slack in #core-customize by celloexpressions. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.