Skip to content

Commit

Permalink
Merge pull request #763 from kprajapatii/master
Browse files Browse the repository at this point in the history
1.2.19
  • Loading branch information
kprajapatii authored Sep 6, 2024
2 parents 9dfeabd + 95cb978 commit 1333bb2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.ko-fi.com/stiofan
Tags: login form, registration, registration form, user profile, user registration, members, membership
Requires at least: 4.9
Tested up to: 6.6
Stable tag: 1.2.18
Stable tag: 1.2.19
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -146,6 +146,9 @@ Yes, you can customize it with Elementor, but also with Gutenberg, Divi, Beaver

== Changelog ==

= 1.2.19 - 2024-09-06 =
* Theme customize AyeCode UI colors settings not working after update - FIXED

= 1.2.18 - 2024-09-05 =
* PHP 8.2 compatibility changes in Emogrifier class to prevent encoding issues - CHANGED

Expand Down
4 changes: 2 additions & 2 deletions userswp.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: UsersWP
Plugin URI: https://userswp.io/
Description: The only lightweight user profile plugin for WordPress. UsersWP features front end user profile, users directory, a registration and a login form.
Version: 1.2.18
Version: 1.2.19
Author: AyeCode Ltd
Author URI: https://userswp.io
License: GPL-2.0+
Expand All @@ -24,7 +24,7 @@
}

if ( ! defined( 'USERSWP_VERSION' ) ) {
define( 'USERSWP_VERSION', '1.2.18' );
define( 'USERSWP_VERSION', '1.2.19' );
}

if ( ! defined( 'USERSWP_PATH' ) ) {
Expand Down
8 changes: 2 additions & 6 deletions vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1138,12 +1138,8 @@ public static function custom_css($compatibility = true) {
$is_fse = true;
}

$custom_admin = $is_fse ? true : apply_filters('ayecode_ui_custom_admin', false );


if(!empty($colors) && $custom_admin ){
if(!empty($colors)){
$d_colors = self::get_colors(true);
//print_r($d_colors);exit;

// $is_fse = !empty($_REQUEST['postType']) && $_REQUEST['postType']=='wp_template';
foreach($colors as $key => $color ){
Expand All @@ -1163,7 +1159,7 @@ public static function custom_css($compatibility = true) {
echo ' body.modal-open #adminmenuwrap{z-index:999} body.modal-open #wpadminbar{z-index:1025}';
}

if( $aui_bs5 && defined( 'BLOCKSTRAP_VERSION' ) && $custom_admin ){
if( $aui_bs5 && defined( 'BLOCKSTRAP_VERSION' ) ){
$css = '';
$theme_settings = wp_get_global_styles();

Expand Down

0 comments on commit 1333bb2

Please sign in to comment.