Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified languages/userswp-en_US.mo
Binary file not shown.
171 changes: 101 additions & 70 deletions languages/userswp-en_US.po

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 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: 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

Expand Down Expand Up @@ -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

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.58
Version: 1.2.59
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.58' );
define( 'USERSWP_VERSION', '1.2.59' );
}

if ( ! defined( 'USERSWP_PATH' ) ) {
Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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__ );
Expand Down
3 changes: 3 additions & 0 deletions vendor/ayecode/wp-ayecode-ui/change-log.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/example-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AyeCode_UI_Settings {
*
* @var string
*/
public $version = '0.2.44';
public $version = '0.2.45';

/**
* Class textdomain.
Expand Down
23 changes: 10 additions & 13 deletions vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,8 @@ function init_nav_sub_menus(){
} );

});

}


/**
* Open a lightbox when an embed item is clicked.
*/
Expand Down Expand Up @@ -665,8 +663,6 @@ function aui_lightbox_embed($link,ele){
$carousel += '</ol>';
}



// items
$i = 0;
$rtl_class = '<?php echo is_rtl() ? 'justify-content-end' : 'justify-content-start'; ?>';
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -736,11 +735,9 @@ function aui_lightbox_embed($link,ele){

$carousel += '</div></div>';
$i++;

});
$carousel += '</div>';


// next/prev indicators
if($images.length > 1) {
$carousel += '<a class="carousel-control-prev" href="#aui-embed-slider-modal" role="button" data-bs-slide="prev">';
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
},
Expand Down
10 changes: 5 additions & 5 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down