Releases: modfin/mfn-wp-plugin
Releases · modfin/mfn-wp-plugin
Major release: Plugin Admin and Subscription Rework
- Updated Frontend code, reworking Subscription logic and refactoring
- Removed Plugin URL from settings, to instead fetch it automatically with plugins_url(, FILE)
- Subscription is now saved in its own option
- Added meta box and is_dirty property to handle restoring of modified news items
- Sync All will now upsert (update imported posts)
- Added support for deleting posts from Trash
- Now you can also delete all tags in Danger Zone
- Status box in Admin now updates dynamically
- Improved check for language support, WPML, Polylang in admin
- Improved UI, updated CSS and JS, major refurbishments
- Refactored Settings/Admin code
- Added function to fetch subscription, now supporting several subscriptions on different installations/platforms
- Added Modal to handle actions in Danger Zone and other sections
- Admin settings are now locked by default, introduced an Unlock button
- Improved logic for Syncing, Subscription and Deleting (posts/tags/settings)
- Now Hub URL and Plugin URL are determined automatically, removed options
- Introduced Subscription verification logic
- And many other smaller fixes
MFN Feed: Hotfix
- Added fix for escaping the attachment JSON data upon adding post meta, to prevent issues with for example double (") quotes in the file_title
Report Archive widget: Minor fixes
- Fixed so the boolean options works correctly with true/false 1/0 values
MFN WP Plugin - Archive Widget v2 API support
- MFN Archive Widget: Added option 'v2api' to widget shortcode to instead use our new report API as the datasource
- MFN News Feed Widget: Added a require for wp-styles to prevent issues if it's not available by default
MFN WP Plugin: Changes and fixes
- Changing rewrite settings: It's now no longer possible to rewrite the slug (mfn_news) per different languages. This change was needed to ensure compatibility with language plugins, for example WPML.
- Fixed issue for filter where
filtertype=buttons
click event only worked if showfilter was true - Minor refactoring
MFN WP Plugin - Minor features/changes
- Now we also upsert news id and slug to wp_postmeta
- Added forward functionality (from news id or slug to permalink) to enable forwarding to a particular MFN post externally
- Small CSS change for attachment list of single MFN post
Hotfixes: MFN WP Plugin
- MFN News Feed Widget: Refactoring of widget form function due to issues from using php short open tags
- MFN News Feed Widget: Added Regulatory/Non-regulatory Finnish translation
- MFN News Feed Widget: Added new l10nlang setting to shortcode, to enable enforcing language of elements despite of current lang
- MFN WP Plugin: Moved flush_rewrite_rules() to just plugin activation/deactivation and settings save
- Various minor fixes
MFN News Feed Widget: Filter dropdown/buttons
- Implemented Filter for category and year selector for News feed
- Category filter type option: dropdown or buttons
- Years filter type option: dropdown or links
- Adds "active" filter CSS class to selected button or link
- Minor fixes in regards to PHP 8 and various updates
MFN WP Plugin - Minor fix
- Update to use the correct primary image tag (image:primary)
MFN WP Plugin: Archive (V2) widget support
- Added new Archive (v2) widget
- Updated code for more generic implementation of Datablocks widgets overall
- Changed to V4 JS Loader as default
- Hiding MFN Before Widget and MFN After Widget from general view