From ca1235a7e8079a8f842fcb824d4efa6b7f592cd1 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Mon, 30 Mar 2026 13:51:33 +0530 Subject: [PATCH 1/2] AUI 0.2.45 --- .../wp-ayecode-ui/ayecode-ui-loader.php | 2 +- vendor/ayecode/wp-ayecode-ui/change-log.txt | 3 +++ .../ayecode/wp-ayecode-ui/example-plugin.php | 2 +- .../includes/ayecode-ui-settings.php | 2 +- .../wp-ayecode-ui/includes/inc/bs5-js.php | 23 ++++++++----------- vendor/composer/installed.json | 14 +++++------ vendor/composer/installed.php | 10 ++++---- 7 files changed, 28 insertions(+), 28 deletions(-) diff --git a/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php b/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php index e37bea84..f57ceb72 100644 --- a/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php +++ b/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php @@ -15,7 +15,7 @@ */ add_action('after_setup_theme', function () { global $ayecode_ui_version,$ayecode_ui_file_key; - $this_version = "0.2.44"; + $this_version = "0.2.45"; if(empty($ayecode_ui_version) || version_compare($this_version , $ayecode_ui_version, '>')){ $ayecode_ui_version = $this_version ; $ayecode_ui_file_key = wp_hash( __FILE__ ); diff --git a/vendor/ayecode/wp-ayecode-ui/change-log.txt b/vendor/ayecode/wp-ayecode-ui/change-log.txt index 95a086b5..e195b726 100644 --- a/vendor/ayecode/wp-ayecode-ui/change-log.txt +++ b/vendor/ayecode/wp-ayecode-ui/change-log.txt @@ -1,3 +1,6 @@ += 0.2.45 - 2026-03-26 = +* Comma in image srcset url may break image lightbox popup - FIXED + = 0.2.44 - 2026-03-05 = * BS5 conversion breaks inline padding and margin styles - FIXED * Checks for the tooltip & popover functions before using to prevent errors - FIXED diff --git a/vendor/ayecode/wp-ayecode-ui/example-plugin.php b/vendor/ayecode/wp-ayecode-ui/example-plugin.php index 29ff9d69..5e2c19d8 100644 --- a/vendor/ayecode/wp-ayecode-ui/example-plugin.php +++ b/vendor/ayecode/wp-ayecode-ui/example-plugin.php @@ -3,7 +3,7 @@ Plugin Name: AyeCode UI Plugin URI: https://ayecode.io/ Description: This is an example plugin to test AyeCode UI Quickly. -Version: 0.2.44 +Version: 0.2.45 Author: AyeCode Ltd Author URI: https://userswp.io License: GPL-2.0+ diff --git a/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php b/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php index d771edbd..0c0b623f 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php @@ -35,7 +35,7 @@ class AyeCode_UI_Settings { * * @var string */ - public $version = '0.2.44'; + public $version = '0.2.45'; /** * Class textdomain. diff --git a/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php b/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php index 9642616c..bc551c6f 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php @@ -599,10 +599,8 @@ function init_nav_sub_menus(){ } ); }); - } - /** * Open a lightbox when an embed item is clicked. */ @@ -665,8 +663,6 @@ function aui_lightbox_embed($link,ele){ $carousel += ''; } - - // items $i = 0; $rtl_class = ''; @@ -685,12 +681,17 @@ function aui_lightbox_embed($link,ele){ if (srcset) { var sources = srcset.split(',') .map(s => { - var parts = s.trim().split(' '); - return { - width: parseInt(parts[1].replace('w', '')), - descriptor: parts[1].replace('w', 'px') // Ensuring the descriptor is in pixels - }; + // Using regex /\s+/ handles multiple spaces between the URL and width + var parts = s.trim().split(/\s+/).filter(Boolean); + if (parts.length >= 2) { + return { + width: parseInt(parts[1].replace('w', '')), + descriptor: parts[1].replace('w', 'px') // Ensuring the descriptor is in pixels + }; + } + return null; }) + .filter(item => item !== null) // Remove any empty entries .sort((a, b) => b.width - a.width); // Sort from largest to smallest for proper descending order // Build the sizes string @@ -703,10 +704,8 @@ function aui_lightbox_embed($link,ele){ return `(max-width: ${source.width - 1}px) ${array[index - 1].descriptor}`; } }).reverse().join(', '); // Reverse to start from smallest to largest for logical order - } - var img = href ? jQuery(a).find('img').clone().attr('src', href ).attr('sizes', sizes ).removeClass().addClass('mx-auto d-block w-auto rounded').css({'max-height':css_height,'max-width':'98%'}).get(0).outerHTML : jQuery(a).find('img').clone().removeClass().addClass('mx-auto d-block w-auto rounded').css({'max-height':css_height,'max-width':'98%'}).get(0).outerHTML; $carousel += img; // captions @@ -736,11 +735,9 @@ function aui_lightbox_embed($link,ele){ $carousel += ''; $i++; - }); $carousel += ''; - // next/prev indicators if($images.length > 1) { $carousel += ''; diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 908f304c..46ea3e82 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -59,20 +59,20 @@ }, { "name": "ayecode/wp-ayecode-ui", - "version": "0.2.44", - "version_normalized": "0.2.44.0", + "version": "0.2.45", + "version_normalized": "0.2.45.0", "source": { "type": "git", "url": "https://github.com/AyeCode/wp-ayecode-ui.git", - "reference": "8a2cb97147c889473e611e8bb240c8b658b87237" + "reference": "a68d22a3bc87a85dd12a519dee52366b8a7e4321" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/8a2cb97147c889473e611e8bb240c8b658b87237", - "reference": "8a2cb97147c889473e611e8bb240c8b658b87237", + "url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/a68d22a3bc87a85dd12a519dee52366b8a7e4321", + "reference": "a68d22a3bc87a85dd12a519dee52366b8a7e4321", "shasum": "" }, - "time": "2026-03-05T14:06:58+00:00", + "time": "2026-03-26T12:08:53+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -101,7 +101,7 @@ ], "support": { "issues": "https://github.com/AyeCode/wp-ayecode-ui/issues", - "source": "https://github.com/AyeCode/wp-ayecode-ui/tree/0.2.44" + "source": "https://github.com/AyeCode/wp-ayecode-ui/tree/0.2.45" }, "install-path": "../ayecode/wp-ayecode-ui" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 49978ec3..65a10b7b 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'uswerwp/userswp', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'cb6b334724a429ae4a83490a46a5f3480fa82bd4', + 'reference' => 'cd9221d17db82a25422efb5dc6eb83ed42811a04', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -20,9 +20,9 @@ 'dev_requirement' => false, ), 'ayecode/wp-ayecode-ui' => array( - 'pretty_version' => '0.2.44', - 'version' => '0.2.44.0', - 'reference' => '8a2cb97147c889473e611e8bb240c8b658b87237', + 'pretty_version' => '0.2.45', + 'version' => '0.2.45.0', + 'reference' => 'a68d22a3bc87a85dd12a519dee52366b8a7e4321', 'type' => 'library', 'install_path' => __DIR__ . '/../ayecode/wp-ayecode-ui', 'aliases' => array(), @@ -79,7 +79,7 @@ 'uswerwp/userswp' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'cb6b334724a429ae4a83490a46a5f3480fa82bd4', + 'reference' => 'cd9221d17db82a25422efb5dc6eb83ed42811a04', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), From 9233975582a0f285919f8c728202147bfa8f4fa4 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Mon, 30 Mar 2026 13:54:47 +0530 Subject: [PATCH 2/2] 1.2.59 --- languages/userswp-en_US.mo | Bin 618 -> 616 bytes languages/userswp-en_US.po | 171 ++++++++++++++++++++++--------------- readme.txt | 4 +- userswp.php | 4 +- 4 files changed, 105 insertions(+), 74 deletions(-) diff --git a/languages/userswp-en_US.mo b/languages/userswp-en_US.mo index 1466df31f104acf045995ac0dc3707dd026f404e..45ac3e91738d8f78d7d0c457a05545029cd437f5 100755 GIT binary patch delta 35 rcmaFG@`7c83ZvdcRZ~XGiP1(J#s&(8##W{#8>dcWWHgazCx~2)B delta 41 xcmaFC@``1G3Zub9RZ~WbiP1(JMrI0zhE_&K8>dcWWH#0_n(V+NGTE9*7XbMC3g!R+ diff --git a/languages/userswp-en_US.po b/languages/userswp-en_US.po index 0757ce3f..302e6d3c 100644 --- a/languages/userswp-en_US.po +++ b/languages/userswp-en_US.po @@ -1,9 +1,9 @@ msgid "" msgstr "" -"Project-Id-Version: UsersWP 1.2.58\n" +"Project-Id-Version: UsersWP 1.2.59\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-03-26 11:22+0530\n" -"PO-Revision-Date: 2026-03-26 11:22+0530\n" +"POT-Creation-Date: 2026-03-30 13:53+0530\n" +"PO-Revision-Date: 2026-03-30 13:54+0530\n" "Last-Translator: \n" "Language-Team: AyeCode Ltd \n" "Language: en_US\n" @@ -15,7 +15,7 @@ msgstr "" "_nx:1,2;_x;_ex;esc_attr_e;esc_attr__\n" "X-Poedit-Basepath: ..\n" "X-Poedit-SourceCharset: UTF-8\n" -"X-Generator: Poedit 3.3.2\n" +"X-Generator: Poedit 3.5\n" "X-Poedit-SearchPath-0: .\n" "X-Poedit-SearchPathExcluded-0: vendor\n" @@ -1665,7 +1665,7 @@ msgstr "" #: admin/settings/class-uwp-settings-general.php:71 #: admin/settings/class-uwp-settings-general.php:340 -#: includes/class-emails.php:300 includes/class-forms.php:4792 +#: includes/class-emails.php:300 includes/class-forms.php:4836 #: includes/class-pages.php:325 templates/bootstrap/forgot.php:66 #: templates/bootstrap/login.php:11 templates/login.php:7 #: templates/login.php:19 widgets/login.php:50 widgets/login.php:141 @@ -2823,7 +2823,7 @@ msgid "New Password" msgstr "" #: includes/class-activator.php:530 includes/class-activator.php:572 -#: includes/class-forms.php:4526 +#: includes/class-forms.php:4570 msgid "Confirm Password" msgstr "" @@ -3040,16 +3040,23 @@ msgstr "" msgid "Banner reset successfully." msgstr "" -#: includes/class-forms.php:225 includes/class-forms.php:775 -#: includes/class-forms.php:2071 -msgid "Something went wrong. Please contact site admin." +#: includes/class-forms.php:211 +msgid "Upload valid image." +msgstr "" + +#: includes/class-forms.php:220 +msgid "Invalid image url." +msgstr "" + +#: includes/class-forms.php:226 +msgid "Invalid image type." msgstr "" -#: includes/class-forms.php:371 +#: includes/class-forms.php:380 msgid "Something went wrong. Please try again." msgstr "" -#: includes/class-forms.php:487 +#: includes/class-forms.php:496 #, php-format msgid "" "We have removed the system generated password warning for you. From this " @@ -3057,7 +3064,7 @@ msgid "" "page, click here." msgstr "" -#: includes/class-forms.php:496 +#: includes/class-forms.php:505 #, php-format msgid "" "Warning: It seems like you are using a system generated " @@ -3065,253 +3072,277 @@ msgid "" "for you, you can remove this warning by clicking here." msgstr "" -#: includes/class-forms.php:534 includes/class-forms.php:1124 -#: includes/class-forms.php:1608 +#: includes/class-forms.php:543 includes/class-forms.php:1133 +#: includes/class-forms.php:1617 msgid "Security verification failed. Try again." msgstr "" -#: includes/class-forms.php:551 +#: includes/class-forms.php:560 msgid "Security hash failed. Try again." msgstr "" -#: includes/class-forms.php:567 +#: includes/class-forms.php:576 msgid "" "User registration is currently not allowed. Please check settings of your " "site." msgstr "" -#: includes/class-forms.php:682 +#: includes/class-forms.php:691 msgid "Sorry, that username is not allowed." msgstr "" -#: includes/class-forms.php:818 includes/helpers/forms.php:273 +#: includes/class-forms.php:784 includes/class-forms.php:2080 +msgid "Something went wrong. Please contact site admin." +msgstr "" + +#: includes/class-forms.php:827 includes/helpers/forms.php:273 msgid "To activate your account, visit the following address:" msgstr "" -#: includes/class-forms.php:822 includes/helpers/forms.php:277 +#: includes/class-forms.php:831 includes/helpers/forms.php:277 msgid "Please activate your account :" msgstr "" -#: includes/class-forms.php:845 +#: includes/class-forms.php:854 msgid "Password you entered during registration." msgstr "" -#: includes/class-forms.php:848 includes/class-forms.php:1713 +#: includes/class-forms.php:857 includes/class-forms.php:1722 msgid "Your login Information :" msgstr "" -#: includes/class-forms.php:849 includes/class-forms.php:885 +#: includes/class-forms.php:858 includes/class-forms.php:894 msgid "Username:" msgstr "" -#: includes/class-forms.php:850 +#: includes/class-forms.php:859 msgid "Password:" msgstr "" -#: includes/class-forms.php:882 +#: includes/class-forms.php:891 msgid "User Information :" msgstr "" -#: includes/class-forms.php:883 +#: includes/class-forms.php:892 msgid "First Name:" msgstr "" -#: includes/class-forms.php:884 +#: includes/class-forms.php:893 msgid "Last Name:" msgstr "" -#: includes/class-forms.php:886 +#: includes/class-forms.php:895 msgid "Email:" msgstr "" -#: includes/class-forms.php:930 +#: includes/class-forms.php:939 msgid "Account registered successfully. Redirecting..." msgstr "" -#: includes/class-forms.php:958 +#: includes/class-forms.php:967 #, php-format msgid "" "An email has been sent to your registered email address. Please click the " "activation link to proceed. Resend." msgstr "" -#: includes/class-forms.php:971 +#: includes/class-forms.php:980 msgid "Your account is under moderation. We will email you once its approved." msgstr "" -#: includes/class-forms.php:979 +#: includes/class-forms.php:988 #, php-format msgid "" "Account registered successfully. A password has been generated and mailed to " "your registered Email ID. Please login %1$shere%2$s." msgstr "" -#: includes/class-forms.php:981 +#: includes/class-forms.php:990 #, php-format msgid "Account registered successfully. Please login %1$shere%2$s" msgstr "" -#: includes/class-forms.php:1225 +#: includes/class-forms.php:1234 msgid "Login successful. Redirecting..." msgstr "" -#: includes/class-forms.php:1270 +#: includes/class-forms.php:1279 msgid "Failed to create a login nonce." msgstr "" -#: includes/class-forms.php:1300 +#: includes/class-forms.php:1309 msgid "Authentication Code" msgstr "" -#: includes/class-forms.php:1329 +#: includes/class-forms.php:1338 msgid "Verification Code" msgstr "" -#: includes/class-forms.php:1383 +#: includes/class-forms.php:1392 msgid "Enter backup code" msgstr "" -#: includes/class-forms.php:1434 +#: includes/class-forms.php:1443 msgid "Invalid user data. Please try again." msgstr "" -#: includes/class-forms.php:1449 +#: includes/class-forms.php:1458 msgid "Invalid request! Please try again." msgstr "" -#: includes/class-forms.php:1481 includes/class-forms.php:1506 +#: includes/class-forms.php:1490 includes/class-forms.php:1515 msgid "Invalid verification code." msgstr "" -#: includes/class-forms.php:1497 +#: includes/class-forms.php:1506 msgid "A new code has been sent." msgstr "" -#: includes/class-forms.php:1522 +#: includes/class-forms.php:1531 msgid "Invalid backup code." msgstr "" -#: includes/class-forms.php:1544 +#: includes/class-forms.php:1553 msgid "Validation successful. Redirecting..." msgstr "" -#: includes/class-forms.php:1652 +#: includes/class-forms.php:1661 msgid "Invalid email or user doesn't exists." msgstr "" -#: includes/class-forms.php:1681 +#: includes/class-forms.php:1690 #, php-format msgid "" "Your account is not activated yet. Please activate your account first. Resend." msgstr "" -#: includes/class-forms.php:1714 includes/class-forms.php:1729 +#: includes/class-forms.php:1723 includes/class-forms.php:1738 #, php-format msgid "Username: %s" msgstr "" -#: includes/class-forms.php:1715 +#: includes/class-forms.php:1724 #, php-format msgid "Password: %s" msgstr "" -#: includes/class-forms.php:1727 +#: includes/class-forms.php:1736 msgid "You have requested to reset your password for the following account:" msgstr "" -#: includes/class-forms.php:1730 +#: includes/class-forms.php:1739 msgid "If this was by mistake, just ignore this email and nothing will happen." msgstr "" -#: includes/class-forms.php:1731 +#: includes/class-forms.php:1740 msgid "" "To reset your password, click the following link and follow the instructions." msgstr "" -#: includes/class-forms.php:1764 +#: includes/class-forms.php:1773 msgid "Please check your email." msgstr "" -#: includes/class-forms.php:1849 +#: includes/class-forms.php:1858 msgid "Password changed successfully." msgstr "" -#: includes/class-forms.php:1910 +#: includes/class-forms.php:1919 msgid "Invalid username." msgstr "" -#: includes/class-forms.php:1944 +#: includes/class-forms.php:1953 #, php-format msgid "" "Password updated successfully. Please login with your new " "password." msgstr "" -#: includes/class-forms.php:2057 +#: includes/class-forms.php:2066 #, php-format msgid "%s" msgstr "" -#: includes/class-forms.php:2098 +#: includes/class-forms.php:2107 msgid "This email is already registered, please choose another one." msgstr "" -#: includes/class-forms.php:2132 +#: includes/class-forms.php:2141 msgid "" "Account updated successfully. The new address will become active once you " "confirm via activation link sent to your new email." msgstr "" -#: includes/class-forms.php:2150 +#: includes/class-forms.php:2159 msgid "Account updated successfully." msgstr "" -#: includes/class-forms.php:2183 includes/class-forms.php:2213 +#: includes/class-forms.php:2192 includes/class-forms.php:2222 msgid "User Information:" msgstr "" -#: includes/class-forms.php:2262 includes/class-profile.php:1917 +#: includes/class-forms.php:2267 +msgid "Access denied!" +msgstr "" + +#: includes/class-forms.php:2275 +msgid "Invalid data!" +msgstr "" + +#: includes/class-forms.php:2281 includes/class-profile.php:1917 msgid "Invalid access!" msgstr "" -#: includes/class-forms.php:2537 +#: includes/class-forms.php:2300 +msgid "Invalid field!" +msgstr "" + +#: includes/class-forms.php:2306 +msgid "You are not allowed to perform this action!" +msgstr "" + +#: includes/class-forms.php:2311 +msgid "Invalid field type!" +msgstr "" + +#: includes/class-forms.php:2581 msgid "Clear field" msgstr "" -#: includes/class-forms.php:3298 +#: includes/class-forms.php:3342 msgid "Username or Email" msgstr "" -#: includes/class-forms.php:3659 +#: includes/class-forms.php:3703 msgid "Please enter a valid URL including https://" msgstr "" -#: includes/class-forms.php:3722 +#: includes/class-forms.php:3766 msgid "Please enter a valid URL including http://" msgstr "" -#: includes/class-forms.php:4069 +#: includes/class-forms.php:4113 #, php-format msgid "" "By using this form I agree to the storage and handling of my data by this " "website. View our %1$s %2$s %3$s." msgstr "" -#: includes/class-forms.php:4162 +#: includes/class-forms.php:4206 #, php-format msgid "I accept the %1$s %2$s %3$s." msgstr "" -#: includes/class-forms.php:4442 +#: includes/class-forms.php:4486 msgid "Site Default" msgstr "" -#: includes/class-forms.php:4614 +#: includes/class-forms.php:4658 msgid "Confirm Email" msgstr "" -#: includes/class-forms.php:4769 +#: includes/class-forms.php:4813 msgid "Privacy settings updated successfully." msgstr "" @@ -4447,7 +4478,7 @@ msgstr "" msgid "Note: Max upload image size: %s" msgstr "" -#: templates/bootstrap/profile-header.php:34 +#: templates/bootstrap/profile-header.php:36 #: templates/bootstrap/user-cover.php:30 templates/user-cover.php:31 msgid "User banner image" msgstr "" diff --git a/readme.txt b/readme.txt index fccf70cb..42f05530 100644 --- a/readme.txt +++ b/readme.txt @@ -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: 6.1 Tested up to: 6.9 -Stable tag: 1.2.58 +Stable tag: 1.2.59 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -152,7 +152,7 @@ Yes, you can customize it with Elementor, but also with Gutenberg, Divi, Beaver == Changelog == -= 1.2.59 - 2026-03-TBD = += 1.2.59 - 2026-03-30 = * Improve image validation during the cropping process - FIXED/SECURITY * Improper Access Control fixes - FIXED/SECURITY diff --git a/userswp.php b/userswp.php index 45a7e200..9c2c01e2 100644 --- a/userswp.php +++ b/userswp.php @@ -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.58 +Version: 1.2.59 Author: AyeCode Ltd Author URI: https://userswp.io License: GPL-2.0+ @@ -24,7 +24,7 @@ } if ( ! defined( 'USERSWP_VERSION' ) ) { - define( 'USERSWP_VERSION', '1.2.58' ); + define( 'USERSWP_VERSION', '1.2.59' ); } if ( ! defined( 'USERSWP_PATH' ) ) {