WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 2 years ago

#26788 reopened enhancement

Improve dbDelta fields match

Reported by: pollett Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.8
Component: Database Keywords: has-patch needs-refresh
Focuses: Cc:

Description

Sometimes plugin authors use multiple spaces between the field name and type rather than a single space when using dbDelta, small change to the regex to stop this producing unnecessary alter queries.

Attachments (1)

dbdelta.diff (734 bytes) - added by pollett 4 years ago.
dbDelta allow multiple spaces

Download all attachments as: .zip

Change History (3)

@pollett
4 years ago

dbDelta allow multiple spaces

#1 @chriscct7
2 years ago

  • Keywords has-patch needs-refresh added
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Closing as wontfix. Complete lack of interest on the feature on the ticket over the last 2 years.

#2 @johnbillion
2 years ago

  • Component changed from Upgrade/Install to Database
  • Milestone set to Future Release
  • Resolution wontfix deleted
  • Status changed from closed to reopened
Note: See TracTickets for help on using tickets.