Skip to content
This repository was archived by the owner on Nov 28, 2019. It is now read-only.
This repository was archived by the owner on Nov 28, 2019. It is now read-only.

[Importer] Refactor WpPostImporter #57

@dnaber-de

Description

@dnaber-de

Main goal is: Separation of concerns. That leads to a separation to independent classes of the following features:

  • Meta-data importing
  • term linking
  • sicking post
  • file downloading and
  • attachment handling

After the refactoring, the one concern of the existing WpPostImporter class will be to fetch data from the Type\ImportPostInterface and pass it to wp_instert_post() and handling errors within this process. The action w2m_post_imported persists as part of this with the current signature.

The interfaces of the newly provided actors will follow the signature of this action as they'll be registered to this hook.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions