We've released new version of WP All Export, WP All Import, and the WooCommerce add-on. This round of updates was focused on a few small features we've wanted to add for awhile along with some necessary bug fixes.
This is something that we've been wanting for a long time. Being able to pass data through custom functions is one of the features that makes WP All Import and WP All Export so powerful. But where do you put them? If you add them to your theme's functions.php file, well, this works, but it will be overwritten every time you update or change your theme. And really, this function is for WP All Export or WP All Import, it doesn't belong with your theme.
So, we've added a functions.php file - one for WP All Import and one for WP All Export. Functions added here will only be used while your import or export is processing, so if you make a mistake and forget a semicolon or something it's not going to crash your site.
To make things even easier, we've added a code editor to WP All Import and WP All Export. Now you can add functions to your site while you're editing your import or export template. And it's a pretty nice editor too, with syntax highlighting, the ability to save without reloading the page, even a linter that checks your code for errors.
The function editor is available on the 'Settings' page for WP All Import and WP All Export, as well as the 'Edit Import' and 'Edit Export' pages. You can also directly edit the functions.php file found in wp-content/uploads/wpallimport and wp-content/uploads/wpallexport.
Here's a full changelog for everything in these new releases:
We just updated the WP All Import plugin and a few of the other add-ons. This post will give you a quick rundown of all the updates.
There was a problem where a " " would automatically be inserted into the post content, when it was originally left blank.
Log files were not being created since version 3.3.6 because session initialization was changed. This issue has been fixed and log files are now being created correctly.
When an image import uses a script such as: http://images.com/generate.php?size=120x200, the plugin now correctly detects the extension (.jpg, .png, etc.)
The plugin now displays the terms hierarchy correctly after a cron job has been run.
Previously, "&" symbols were being converted to "&" symbols. Now when the "&" symbol is wrapped in CDATA, it will remain a "&" symbol.
When the product attribute names were imported via XPath, the add-on would only select the first attribute in the chunk. Now it imports all applicable product attribute names.
Attributes with special characters such as "&" now import correctly.
The add-on now trims whitespace when importing these products, which allows searching for products to link by SKU, to work correctly.
We have added an option in the Record Matching section that allows you to update the stock and prices of variation by unchecking this option.
Now when this option is enabled, the WooCommerce add-on will read all of the elements.
Instead of manually having to download and install add-on updates, you can now do it via the WordPress dashboard.
When WP_DEBUG is enabled or the webserver is configured with error_reporting E_ALL, PHP error messages do not appear.
They now translate correctly and their hierarchy is correct on the manage categories/taxonomies screen in wp-admin.