inpsyde / wpml2mlp

Convert posts from an existing WPML multilingual site via WXR Export/Import for MultilingualPress
https://wordpress.org/plugins/wpml-to-multilingualpress/
GNU General Public License v2.0
10 stars 6 forks source link

[Importer] Consolidate error action names and signatures in WpPostImporter #48

Open dnaber-de opened 8 years ago

dnaber-de commented 8 years ago

Currently there are several error actions for errors that may occur during one logical process (importing post, importing file, importing term).

I would like to see them combined to one action per entity:

The signature should follow the those of the other importers (described in #39 ): First parameter is an instance of WP_Error followed by the import object. Any other contextual data (response values, IDs, etc.) can be passed as data with the WP_Error object.

Subtask of this: #51