2.4.0
Latest6 new12 improvements3 fixes7 removed12 changes
New
- New filter hooks `um_activity_insert_post_args` and `um_activity_update_post_args` for parsing mentions in the activity posts. Deprecated old `um_activity_insert_post_content_filter` and `um_activity_update_post_content_filter` filter hooks.
- New filter hooks `um_activity_insert_comment_args` and `um_activity_update_comment_args` for parsing mentions in the activity post comments.
- New action hook `um_activity_new_mention` is used for sending Real-time Notification after users mention. Deprecated `um_followers_new_mention` and `um_following_new_mention` and `um_friends_new_mention` action hooks they were merged to the new one for better performance.
- Edit Activity Post Edit link to wp-admin.
- Background DB upgrade for the old posts/comments. Since update to 2.4.0 version all your old posts/comments will be upgraded to the new content displaying but keep their original content in the postmeta/commentmeta.
- Site Health information.
Improved
- Enhancements
- Updated posting Activity wall posts and comments.
- Updated hashtag parsing function to wrap the hashtags to proper UM links.
- Updated action hooks `um_activity_after_wall_post_published` arguments.
- Updated action hooks `um_activity_after_wall_post_updated` arguments.
- Updated action hooks `um_activity_after_wall_comment_published` arguments.
- Updated action hooks `um_activity_after_wall_comment_reply_published` arguments.
- Updated action hooks `um_activity_after_wall_comment_updated` arguments.
- Updated action hooks `um_activity_after_wall_comment_reply_updated` arguments.
- Updated the friends/followers mention in the social activity wall.
- user-wall.php partially migrated to the new template single.php that has a legacy version for old activity posts in the `templates/legacy/single.php` path.
- WPCS enhancements.
Fixed
- Bugfixes
- Recalculate and assign/un-assign the hashtags during the activity post/comment update/deletion.
- `shorten_string` function to make the Activity post excerpt when words count truncation setting is enabled.
Removed
- Deprecated using unsecure HTML tags in the post content. It's only possible to use the tags allowed via `wp_kses_post` function.
- Deprecated
- Displaying activity post content in wp-admin for better performance.
- `um_activity_insert_post_content_filter` and `um_activity_update_post_content_filter` filter hooks.
- Using unsecure HTML tags in the post content. It's only possible to use the tags allowed via `wp_kses_post` function.
- Obsolete scripts and functions.
- Old functions to handle the post/comments content, but they are still there to handle the old posts that until upgrade to the new content displaying in DB.
Changes
- IMPORTANT: THIS VERSION HAS BACKGROUND DB UPGRADE. PLEASE MAKE SITE'S BACKUP BEFORE UPDATE
- Using WordPress native oEmbed providers for the link that can be embedded. Deprecated `_shared_link`, `_video_url`, `_oembed`, `_video_oembed_data` postmeta for the activity posts.
- Using WordPress native `the_content`, `the_excerpt` and `comment_text` filter hooks to prepare content for displaying.
- Using UM core function `UM->shortcodes->emotize` to convert old-style emoji, but for another use WordPress native `convert_smiles` on the hooks above.
- Templates required update
- clone.php
- comment.php
- comment-reply.php
- comments.php
- user-wall.php
- Finally deprecated: Obsolete 'safe_style_css' because requires at least >= 6.2.
- Cached and optimized/minified assets(JS/CSS) must be flushed/re-generated after upgrade