From 0bb3e243f600b00231ae6c57dabee03f5d68f922 Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Thu, 16 Nov 2023 04:10:20 +0200 Subject: [PATCH] - updated changelog --- includes/common/class-enqueue.php | 16 +++++++------- readme.txt | 36 ++++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 11 deletions(-) diff --git a/includes/common/class-enqueue.php b/includes/common/class-enqueue.php index 9c44014d..931815af 100644 --- a/includes/common/class-enqueue.php +++ b/includes/common/class-enqueue.php @@ -194,9 +194,9 @@ class Enqueue { wp_register_style( 'select2', $libs_url . 'select2/select2' . $suffix . '.css', array(), '4.0.13' ); // Date-time picker (Pickadate.JS) - wp_register_script( 'um_datetime', $libs_url . 'pickadate/picker' . $suffix . '.js', array( 'jquery' ), UM_VERSION, true ); - wp_register_script( 'um_datetime_date', $libs_url . 'pickadate/picker.date' . $suffix . '.js', array( 'um_datetime' ), UM_VERSION, true ); - wp_register_script( 'um_datetime_time', $libs_url . 'pickadate/picker.time' . $suffix . '.js', array( 'um_datetime' ), UM_VERSION, true ); + wp_register_script( 'um_datetime', $libs_url . 'pickadate/picker' . $suffix . '.js', array( 'jquery' ), '3.6.2', true ); + wp_register_script( 'um_datetime_date', $libs_url . 'pickadate/picker.date' . $suffix . '.js', array( 'um_datetime' ), '3.6.2', true ); + wp_register_script( 'um_datetime_time', $libs_url . 'pickadate/picker.time' . $suffix . '.js', array( 'um_datetime' ), '3.6.2', true ); $common_js_deps = array( 'jquery', 'wp-util', 'wp-hooks', 'wp-i18n', 'um_tipsy', 'um_datetime_date', 'um_datetime_time' ); @@ -204,17 +204,17 @@ class Enqueue { $locale = $this->get_pickadate_locale(); if ( $locale ) { if ( file_exists( WP_LANG_DIR . '/plugins/ultimate-member/assets/js/pickadate/' . $locale . $suffix . '.js' ) ) { - wp_register_script( 'um_datetime_locale', content_url() . '/languages/plugins/ultimate-member/assets/js/pickadate/' . $locale . $suffix . '.js', array( 'jquery', 'um_datetime' ), UM_VERSION, true ); + wp_register_script( 'um_datetime_locale', content_url() . '/languages/plugins/ultimate-member/assets/js/pickadate/' . $locale . $suffix . '.js', array( 'jquery', 'um_datetime' ), '3.6.2', true ); $common_js_deps[] = 'um_datetime_locale'; } elseif ( file_exists( UM_PATH . 'assets/libs/pickadate/translations/' . $locale . $suffix . '.js' ) ) { - wp_register_script( 'um_datetime_locale', $libs_url . 'pickadate/translations/' . $locale . $suffix . '.js', array( 'jquery', 'um_datetime' ), UM_VERSION, true ); + wp_register_script( 'um_datetime_locale', $libs_url . 'pickadate/translations/' . $locale . $suffix . '.js', array( 'jquery', 'um_datetime' ), '3.6.2', true ); $common_js_deps[] = 'um_datetime_locale'; } } - wp_register_style( 'um_datetime', $libs_url . 'pickadate/default' . $suffix . '.css', array(), UM_VERSION ); - wp_register_style( 'um_datetime_date', $libs_url . 'pickadate/default.date' . $suffix . '.css', array( 'um_datetime' ), UM_VERSION ); - wp_register_style( 'um_datetime_time', $libs_url . 'pickadate/default.time' . $suffix . '.css', array( 'um_datetime' ), UM_VERSION ); + wp_register_style( 'um_datetime', $libs_url . 'pickadate/default' . $suffix . '.css', array(), '3.6.2' ); + wp_register_style( 'um_datetime_date', $libs_url . 'pickadate/default.date' . $suffix . '.css', array( 'um_datetime' ), '3.6.2' ); + wp_register_style( 'um_datetime_time', $libs_url . 'pickadate/default.time' . $suffix . '.css', array( 'um_datetime' ), '3.6.2' ); wp_register_script( 'um_common', $js_url . 'common' . $suffix . '.js', $common_js_deps, UM_VERSION, true ); $um_common_variables = array( diff --git a/readme.txt b/readme.txt index 5ed6aafa..acd29637 100644 --- a/readme.txt +++ b/readme.txt @@ -6,8 +6,8 @@ Donate link: Tags: community, member, membership, user-profile, user-registration Requires PHP: 5.6 Requires at least: 5.5 -Tested up to: 6.3 -Stable tag: 2.7.0 +Tested up to: 6.4 +Stable tag: 2.8.0 License: GNU Version 2 or Any Later Version License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -166,9 +166,39 @@ No specific extensions are needed. But we highly recommended keep active these P IMPORTANT: PLEASE UPDATE THE PLUGIN TO AT LEAST VERSION 2.6.7 IMMEDIATELY. VERSION 2.6.7 PATCHES SECURITY PRIVILEGE ESCALATION VULNERABILITY. PLEASE SEE [THIS ARTICLE](https://docs.ultimatemember.com/article/1866-security-incident-update-and-recommended-actions) FOR MORE INFORMATION -= 2.7.1: October xx, 2023 = += 2.8.0: November 30, 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 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 screen to avoid custom styling for unnecessary metabox functionality. Just to render the necessary metabox content with only submission tools. + +* Bugfixes: + + - Fixed: Pickadate.JS (datetime picker) localizations using + - Fixed: PHP notices on the SiteHealth page + - Fixed: Using 'um_user_permissions_filter' hook and it's arguments. + +* Deprecated: + + - 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()->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. = 2.7.0: October 11, 2023 =