Make WordPress Core

Opened 10 years ago

Last modified 5 years ago

#26788 reopened enhancement

Improve dbDelta fields match

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


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 10 years ago.
dbDelta allow multiple spaces

Download all attachments as: .zip

Change History (3)

10 years ago

dbDelta allow multiple spaces

#1 @chriscct7
9 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
9 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.