Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing 'order' column in CSV import command #220

Merged
merged 1 commit into from
Nov 18, 2020
Merged

Fix missing 'order' column in CSV import command #220

merged 1 commit into from
Nov 18, 2020

Conversation

barryceelen
Copy link
Contributor

The CSV import command expects an 'order' column but does not set one in its default mapping, causing a PHP warning when the CLI importing command calls the srm_import_file() function.

This update adds the 'order' column to the default columns array.

The CSV import command expects an 'order' column but does not set one in its default mapping, causing a PHP warning when importing each row.
@jeffpaul jeffpaul added this to the 2.0.0 milestone Nov 16, 2020
@jeffpaul jeffpaul mentioned this pull request Nov 17, 2020
18 tasks
@dinhtungdu dinhtungdu merged commit ab708bc into 10up:develop Nov 18, 2020
@barryceelen barryceelen deleted the patch-1 branch November 18, 2020 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants