Home

>

Tools

>

WordPress

>

Releases

>

4.2.19

WordPress Release: 4.2.19

Tag Name: 4.2.19

Release Date: 1/16/2018

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.19 brings important bug fixes and cleanup to improve system stability and security. This maintenance release addresses file deletion issues during upgrades and removes unnecessary MediaElement.js files, making the CMS more reliable and streamlined. Site administrators should update to ensure proper functionality during upgrades and to maintain a cleaner codebase.

Highlight of the Release

    • Enhanced file handling during WordPress upgrades
    • Improved system reliability when file permissions prevent deletion
    • Removal of unnecessary and obsolete MediaElement.js files
    • Fixes for issues #42963 and #42720

Migration Guide

No specific migration steps are required for this maintenance release. Standard WordPress update procedures apply:

  1. Back up your website files and database before updating
  2. Update through the WordPress dashboard or via manual update
  3. Test your site functionality after the update is complete

No database schema changes or template modifications are included in this release.

Upgrade Recommendations

This is a maintenance release that improves WordPress stability and addresses specific bugs in the upgrade process.

Recommendation: All sites running WordPress 4.2.x should update to version 4.2.19 at their earliest convenience.

While the changes are focused on specific areas (upgrade process and file cleanup), they contribute to overall system stability and maintenance. The risk of upgrade issues is minimal, but as always, backing up your site before updating is recommended.

Bug Fixes

Upgrade Process Improvements

  • Fixed file deletion issues during upgrades (fixes #42963): When WordPress attempts to delete old files during an upgrade and encounters permission issues, it will now attempt to empty the file contents instead of failing completely. This helps prevent upgrade failures in environments with restrictive file permissions.

External Libraries Cleanup

  • Removed unnecessary MediaElement.js files (fixes #42720): Obsolete and unnecessary files related to the MediaElement.js library have been removed, helping to clean up the codebase and slightly reduce the WordPress installation footprint.

New Features

No significant new features were introduced in this maintenance release. WordPress 4.2.19 focuses on bug fixes and system improvements rather than new functionality.

Security Updates

While this release doesn't explicitly address named security vulnerabilities, the improvements to file handling during upgrades help prevent potential issues that could arise from incomplete updates or lingering obsolete files. Keeping unnecessary files to a minimum is generally considered good security practice.

Performance Improvements

Codebase Optimization

  • Reduced installation footprint: By removing unnecessary MediaElement.js files, the WordPress installation is now slightly leaner.

  • More efficient upgrade process: The improved file handling during upgrades means less chance of stalled or failed updates, resulting in more efficient system maintenance.

Impact Summary

WordPress 4.2.19 is a targeted maintenance release that improves the reliability of the WordPress upgrade process and cleans up unnecessary files. The most significant impact is for administrators who may have previously experienced upgrade failures due to file permission issues - this release provides a fallback mechanism to help ensure smoother updates.

The removal of obsolete MediaElement.js files helps maintain a cleaner codebase and slightly reduces the WordPress footprint. While these changes may seem minor, they represent important "under the hood" improvements that contribute to WordPress's overall stability and maintainability.

This release demonstrates WordPress's ongoing commitment to refining existing functionality and addressing edge cases that affect real-world installations, particularly in environments with restrictive file permissions or specific server configurations.

Statistics:

File Changed6
Line Additions16
Line Deletions5
Line Changes21
Total Commits4

User Affected:

  • Improved reliability when upgrading WordPress as the system now attempts to empty files if deletion fails
  • Reduced risk of upgrade failures due to file permission issues
  • Cleaner installation with removal of unnecessary MediaElement.js files

Contributors:

dd32aaroncampbell