Releases
4.5.5
Compare
Sorry, something went wrong.
No results found
[4.5.5] - 2025-02-28
Updated
Updated stable tag and version numbers to 4.5.5.
Updated required and tested WordPress versions in readme.txt for compatibility with the latest WordPress release.
Enhanced Security
Replaced strip_tags() with wp_strip_all_tags() in:
SWP_Click_To_Tweet.php
SWP_Pinterest.php
Added esc_html() to sanitize output in:
SWP_Column.php
swp_system_checker.php
SWP_Buttons_Panel.php
Replaced htmlspecialchars_decode() with wp_kses() for improved security in:
SWP_Buttons_Panel_Ajax.php
SWP_Options_Page.php
Applied esc_js() to wp_create_nonce() in SWP_Script.php for enhanced JavaScript security.
Replaced json_encode() with wp_json_encode() for secure JSON output in:
SWP_Script.php
SWP_Option_Abstract.php
Refactoring and Code Improvements
Standardized spacing and formatting for better readability and maintainability across all modified JavaScript files.
Improved variable declarations by replacing var with let and const for better scoping.
Refactored redundant jQuery selectors to optimize DOM manipulation and improve performance.
Consolidated multiple event bindings into a single event handler where applicable.
Improved code consistency by normalizing object property syntax and method chaining.
Enhanced User Experience (UX)
Enhanced file upload UI:
Added real-time progress bars with percentage display in file-upload.js.
Improved error handling and messaging for failed uploads.
Ensured consistent display across all supported browsers.
Enhanced modal UI:
Added fade-in and fade-out animations for a smoother user experience.
Standardized modal sizing with the new size option for better responsiveness.
Improved accessibility:
Added aria attributes for better screen reader support in modals and file uploads.
Compatibility
Updated jQuery and JavaScript methods for compatibility with the latest WordPress version.
Ensured backward compatibility with older WordPress versions while maintaining modern coding standards.
Performance Enhancements
Optimized event delegation for better performance in:
file-upload.js
input-list.js
range.js
Reduced redundant DOM queries and optimized $.each() loops for better efficiency.
Improved load times by deferring certain JavaScript functionalities until necessary.
Removed
Deleted unused JavaScript modules and redundant files:
notification.js
image-select.js
validation.min.js
Removed outdated CSS classes and replaced them with modern, consistent class names.
Miscellaneous
Minor CSS adjustments for better UI consistency across different screen sizes.
Fixed minor typos and improved inline comments for better code readability.
General cleanup and refactoring for better maintainability.
Note
This version enhances security, performance, and user experience while maintaining backward compatibility.
It introduces modern JavaScript practices and optimizes DOM manipulation for better efficiency.
You can’t perform that action at this time.