All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- set-post-translations-fix: Check the correct id for post translations.
- Multisite related db creation
- Not detecting all languages if importing from backend
- Initial release.
- Settings are now used with a shorter lower case format and thus separated from the constants.
- Code documentation updates and fixes.
- All plugin data including the plugin version is loaded automatically from the plugin file comments and stored into plugin settings.
- Errors are back under the Post class. Other classes may access the errors via an object reference of the Post class.
- The
Polylang
class usesApi::get_prop()
fori18n
data handling to prevent errors. - Fixed the
master
property handling in thePolylang
class to match the original specification.
- If
_thumbnail_id
is trying to be saved before attachments are saved, an error is produced and the meta key-value pair is not saved. - If the Post object contains time information, add them into the post data array in
wp_insert_post_data
hook to save them into the database. - A custom database table that stores all the imports made.
- If errors are found, revert the current post to the last successful import. If it is the first import, set post status as
draft
. - Added a
force_save
flag for thesave()
functions. This forces saving even if the importer object has errors.
- Check for exif_read_data() function errors.
- New composer name wp-geniem-importer in composer.json
- Attachment documentation
- insert_attachment_from_url response strict comparison
- Added CHANGELOG.MD
- post_meta straight from key value pair. No more associative array with "meta_key" : "key_1", "meta_value" : "value_1" refactored structure to "key_1" : "value_1"
- gi_id isn't anymore in post_meta block refactored to the ground level of post object in json. {... "gi_id" : 12345 }
- Better Localization class structure.
- Moved Localization to own folder
- Error messages for localization
- Better comments
- Errors:set changed to public from private