Home

>

Tools

>

WordPress

>

Releases

>

4.2.28

WordPress Release: 4.2.28

Tag Name: 4.2.28

Release Date: 6/10/2020

WordPress LogoWordPress

World's most popular open-source content management system powering over 40% of all websites. Offers extensive plugin ecosystem, themes, and robust community support for blogs, e-commerce, and corporate websites. Highly customizable and scalable platform suitable for beginners and advanced developers.

TL;DR

WordPress 4.2.28 is a maintenance release that addresses several important issues across different areas of the CMS. This update focuses on improving embed functionality, editor behavior, URL validation security, theme handling, and admin screen options. The changes are primarily bug fixes and security enhancements that improve the overall stability and security of WordPress 4.2.x installations.

Highlight of the Release

    • Fixed title attribute handling on embeds
    • Prevented incorrect HTML decoding in the editor
    • Enhanced URL validation security
    • Improved theme name handling
    • Added new filter for extending set-screen-option functionality

Migration Guide

No specific migration steps are required for this update. This is a maintenance release that focuses on bug fixes and security improvements without introducing breaking changes.

To update to WordPress 4.2.28:

  1. Back up your website files and database
  2. Update through the WordPress admin dashboard or download the update and install it manually
  3. Test your website functionality after the update

Upgrade Recommendations

This update is recommended for all WordPress 4.2.x users due to the security improvements and bug fixes included. The security enhancement to URL validation is particularly important for maintaining site security.

If you're running an older version of WordPress 4.2.x, you should update to 4.2.28 as soon as possible to ensure your site benefits from these security improvements and bug fixes.

However, it's important to note that WordPress 4.2.x is an older branch of WordPress. If possible, users should consider upgrading to the latest major version of WordPress for access to all current features, security updates, and performance improvements.

Bug Fixes

Embed Fixes

  • Fixed an issue where title attributes were not being set correctly on embeds, ensuring proper accessibility and tooltip functionality

Editor Improvements

  • Resolved a bug where HTML was being incorrectly decoded by setting the proper editor context, preventing potential content formatting issues

Theme Handling

  • Fixed theme name handling to ensure broken theme names are returned properly, improving error handling and theme management

Administration

  • Backported several commits from newer WordPress versions to improve stability

New Features

WordPress 4.2.28 introduces a new filter to extend the set-screen-option functionality in the administration area. This enhancement gives developers more control over screen options in the WordPress admin interface, allowing for greater customization of the admin experience.

Security Updates

URL Validation Enhancement

  • Improved the wp_validate_redirect() function to sanitize a wider variety of characters, enhancing security by preventing potential redirect vulnerabilities
  • This change helps protect against certain types of redirect attacks by ensuring more thorough validation of URLs

Performance Improvements

No specific performance improvements were highlighted in this maintenance release. The focus was primarily on bug fixes and security enhancements.

Impact Summary

WordPress 4.2.28 is a targeted maintenance release that addresses specific issues in several core areas of the CMS. The impact is primarily positive, with improved security through enhanced URL validation, better handling of embeds with proper title attributes, and fixes for HTML decoding in the editor.

For administrators and developers, the addition of a new filter to extend set-screen-option functionality provides more flexibility in customizing the admin experience. The improvements to theme name handling also enhance the reliability of theme management.

While this update doesn't introduce major new features or performance enhancements, it strengthens the security and stability of WordPress 4.2.x installations, making it an important update for sites still running this version of WordPress.

Statistics:

File Changed8
Line Additions61
Line Deletions15
Line Changes76
Total Commits3

User Affected:

  • Benefit from improved admin screen options with new filter for extension
  • Enhanced security with better URL validation

Contributors:

whyisjakedesrosj