== Description ==
Ultimate Member is a versatile WordPress plugin that elevates the user experience by offering robust tools for creating and managing user profiles and memberships. It allows site owners to design bespoke user profiles, integrating seamlessly with WordPress themes to maintain aesthetic harmony. The plugin caters to various membership models, enabling access, registration processes, and member-exclusive content customisation. One of its standout features is the enhancement of social interactions on the site, promoting community engagement through user directories, social media integrations, and communication tools. Furthermore, Ultimate Member provides comprehensive administrative controls, allowing site managers to fine-tune user roles, permissions, and access with precision.
== Changelog ==
= 2.8.0: December 11, 2023 =
* Enhancements:
- Refactored: wp-admin assets. Separated or merged some file based on the wp-admin screens
- Tweak: SASS pre-processor is used for wp-admin styles.
- Tweak: Using minified JS and CSS in wp-admin and frontend assets
- Tweak: Added PHP class UM()->admin()->screen() for screen control in wp-admin
- Updated: jquery-ui styles to 1.13.2 version. Prefixed with .um class.
- Updated: Cropper.JS to 1.6.1 version
- Note: Select2.JS version 4.0.13
- Refreshed: Tipsy.JS to 1.0.0a version. Removed custom changes and restored library base code
- Refreshed: Raty.JS to 2.6.0 version. Restored library base code
- Refreshed: Pickadate.JS to 3.6.2 version. Restored library base code
- Updated: Used `um-tip-{x}` classes to make Tipsy.JS initialization commonly for wp-admin and frontend.
- Updated: wp-admin forms class and render icon type field
- Updated: Using `custom_submitdiv` on the UM Form and UM Member Directory screen to avoid custom styling for unnecessary metabox functionality. Just to render the necessary metabox content with only submission tools.
* Bugfixes:
- Fixed: Using fields with numeric keys in Form Builder
- Fixed: Pickadate.JS (datetime picker) localizations using
- Fixed: PHP notices on the SiteHealth and Form Builder pages
- Fixed: Using 'um_user_permissions_filter' hook and it's arguments.
* Deprecated:
- Removed Simplebar.JS library in Ultimate Member core. It's used only in extensions.
- Removed outdated styles and scripts for 1.3.x first install page
- `UM()->admin()->enqueue()->js_url` param. Please use `UM()->admin()->enqueue()::get_url( 'js' );` or `self::get_url( 'js' );` instead
- `UM()->admin()->enqueue()->css_url` param. Please use `UM()->admin()->enqueue()::get_url( 'css' );` or `self::get_url( 'js' );` instead
- `UM()->frontend()->enqueue()->js_url` param. Please use `UM()->frontend()->enqueue()::get_url( 'js' );` or `self::get_url( 'js' );` instead
- `UM()->frontend()->enqueue()->css_url` param. Please use `UM()->frontend()->enqueue()::get_url( 'css' );` or `self::get_url( 'js' );` instead
- Fully `UM()->permalinks()->um_rel_canonical_()` function. Because since version 2.1.7 there is used `um_profile_remove_wpseo();` alternative
- Fully `UM()->permalinks()->admin_act_url()` function. Since update for wp-admin links when there is nonce this function isn't used
- Fully `UM()->admin()->enqueue()->front_js_baseurl` param.
- Fully `UM()->admin()->enqueue()->front_css_baseurl` param.
- Fully `UM()->admin()->enqueue()->post_page` param.
- Fully `UM()->frontend()->enqueue()->load_google_charts()` function. Outdated.
- Fully `UM()->frontend()->enqueue()->load_fileupload()` function. Used scripts/styles dependencies to load script in the necessary place.
- Fully `UM()->frontend()->enqueue()->load_datetimepicker()` function. Used scripts/styles dependencies to load script in the necessary place.
- Fully `UM()->frontend()->enqueue()->load_scrollbar()` function. Outdated
- Fully `UM()->frontend()->enqueue()->load_imagecrop()` function. Used scripts/styles dependencies to load script in the necessary place.
- `UM()->is_um_screen()` function. Please use `UM()->admin()->screen()->is_own_screen()` instead
- `UM()->is_plugin_post_type()` function. Please use `UM()->admin()->screen()->is_own_post_type()` instead
- `UM()->is_restricted_entity()` function. Please use `UM()->admin()->screen()->is_restricted_entity()` instead
- `UM()->cpt_list()` function. Please use `UM()->common()->cpt()->get_list()` instead
- `um-admin-clear` CSS class. It duplicates WordPress native `clear`. Using WordPress native instead.
- `um-admin-tipsy-{x}` classes to make Tipsy.JS initialization commonly for wp-admin and frontend by `um-tip-{x}` class.
* Cached and optimized/minified assets(JS/CSS) must be flushed/re-generated after upgrade