Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
- Remove project header (how to support the project, get help, post a review)
- Remove /img directory and WP Ultimate logo
- Update language files
- Change author back to churchthemes.com
- Update readme.txt links accordingly
- Start using "Requires PHP"
- Remove non-HTTPS and insecure PHP notices
We apologize to those who were bothered by the recently introduced security notices. This plugin is once again just for importing and exporting widgets - no more unrelated notices. While it is strongly recommended that all WordPress sites use HTTPS and a secure version of PHP, we'll leave it to higher authorities to warn users (Google, browsers, WordPress, hosts, etc.).
Thank you for using Widget Importer & Exporter.
- Adhere to WordPress Coding Standards on switch statement.
- Reduce possibility of false positive on https check for users not having updated URLs in Settings > General to reflect SSL use.
This is a maintenance and security hardening release.
- Improve WordPress Coding Standards with wpch/phpcs #19
- Add nonce for export action #15
- Remove use of deprecated screen_icon()
- Discontinue use of file_get_contents() when reading uploaded .wie file
- Use wp_json_encode instead of json_encode
- Switch to strict comparisons
- Improve data validation
- Add dismissable security notices for outdated PHP and non-HTTPS
- Improve translator comments
- Update language files
- Change author to WP Ultimate
- Replace donation link with WP Ultimate hosting offer
- Change license string to 'GPLv2 or later' so GPLv3 code can be used
Special thanks to @widoz for multiple contributions in this release.
- Make wie_disable_real_mime_check() always return $data, for versions not affected by bug
Thank you, @SergeyBiryukov
- Apply workaround for upload bug to WordPress 4.7.2 to resolve "You must upload a .wie file generated by this plugin"
WordPress 4.7.2 was rushed out to deal with a security issue before the upload bug introduced in 4.7.1 was fixed, so the problem has returned. The earlier workaround in this plugin was only applied for WordPress 4.7.1 since it was expected that 4.7.2 would fix the upload bug. It should be fixed permanently in WordPress 4.7.3 (barring another urgent security release).
The update to Widget Importer & Exporter will take care of it for WordPress 4.7.2 users in the meantime.
- Move support forum link higher up to make it easier to find
- Important: If you're not using at least 1.4.1, be sure to update. It resolved an upload issue.
1.4, 1.4.1 and 1.4.2 were released in quick succession on January 20.
- Correct version check for upload workaround (was not applying to 4.7.1, where it is needed)
See version 1.4 for improvements and details about the workaround for uploads failing due to the bug with WordPress 1.7.1. Uploads should work fine again after updating this plugin to 1.4.1.
- Implement temporary workaround for upload bug in WordPress 4.7.1
- Add 'Import/Export' button to Widgets screen to make tool easier to find
- Add 'Import/Export' action link to Plugins page to make tool easier to find
- Avoid rarely fatal error when the option is an empty string (PHP 7.1.x compat). Thank you @widoz #11
- Use wp_json_encode instead of json_encode. Thank you @widoz #9
- Change required capability from manage_options to edit_theme_options (more specific to widgets)
- Apply esc_url to various instances of admin_url
- Add "Support This Plugin" box with links for giving and reviews
- Add footer link for Support Forum
- Change "sidebar" to "widget area"
- Update POT file with new strings needing translation
- Update readme.txt description, instructions and contributors - and tested up to 4.7.1