Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Update term/taxonomy import #13

Merged
merged 7 commits into from
Oct 17, 2024

Conversation

kevmarsden
Copy link
Contributor

Updates the term/taxonomy import functionality to make it compatible with Statamic 5.

The primary changes are:

  • Replaces $taxonomy->set($key, $value); with Taxonomy::make
  • Fixing the exists check in the WpImporter.php file

Closes #9

@jackmcdade
Copy link
Contributor

Thanks! @kevmarsden do you happen to have a dummy import file I could use for testing?

@kevmarsden
Copy link
Contributor Author

@jackmcdade attached is an export file with faker data. Let me know if you see any issues.

statamic_faker_export.json

@jackmcdade jackmcdade merged commit 88e5289 into statamic-rad-pack:main Oct 17, 2024
@jackmcdade
Copy link
Contributor

Perfect, thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Call to a member function collections() on null
2 participants