WordPress Release: 4.7.9

Tag Name: 4.7.9

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.7.9 brings important file handling improvements and cleanup of MediaElement.js files

This maintenance release addresses two specific issues: improving the file deletion process during upgrades and removing unnecessary MediaElement.js files. The update enhances system stability by providing a fallback mechanism when file deletion fails during upgrades, and it cleans up obsolete media library files to improve security and reduce bloat. This release is recommended for all WordPress 4.7.x users.

Highlight of the Release

    • Improved file deletion handling during WordPress upgrades
    • Fallback mechanism to empty files when deletion fails due to permission issues
    • Removal of unnecessary and obsolete MediaElement.js files

Migration Guide

No specific migration steps are required for this update. This is a standard maintenance release that can be applied through the normal WordPress update process:

  1. Back up your WordPress site before updating
  2. Update through the WordPress admin dashboard or via your preferred method
  3. Verify your site functions correctly after the update

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

Upgrade Recommendations

This update is recommended for all WordPress 4.7.x users as it addresses important file handling issues during upgrades and removes unnecessary files that could potentially pose security risks.

The changes are focused and minimal, making this a low-risk update that improves system stability and security. Users should update at their earliest convenience through the standard WordPress update process.

Bug Fixes

Improved File Deletion Process

When upgrading WordPress, the system now attempts to empty files if deletion fails. This addresses issues where file permission restrictions could cause upgrade failures.

  • Fixed an issue where restricted file permissions could block the upgrade process
  • Added fallback mechanism to handle file deletion failures gracefully
  • Resolves WordPress issue #42963

MediaElement.js File Cleanup

  • Removed unnecessary and obsolete MediaElement.js files
  • Cleaned up redundant media library components
  • Resolves WordPress issue #42720

New Features

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

Security Updates

MediaElement.js Security Improvement

The removal of unnecessary and obsolete MediaElement.js files helps improve the security posture of WordPress installations by:

  • Reducing the attack surface by eliminating unused code
  • Removing potentially vulnerable legacy files from the codebase
  • Minimizing the risk associated with outdated media components

Performance Improvements

No specific performance improvements were highlighted in this release. The changes focus on stability and security rather than performance enhancements.

Impact Summary

WordPress 4.7.9 is a targeted maintenance release that improves the robustness of the WordPress upgrade process and enhances security by removing unnecessary files.

The file deletion improvement addresses a common issue where restricted file permissions could cause upgrade failures, providing a more resilient update process for all WordPress installations. By attempting to empty files when deletion fails, WordPress can now better handle environments with strict file permissions.

The removal of obsolete MediaElement.js files helps maintain a cleaner, more secure codebase by eliminating unused components that could potentially introduce vulnerabilities. This proactive cleanup reduces the WordPress attack surface.

While this release doesn't introduce new features or major changes, it represents WordPress's ongoing commitment to stability and security maintenance. The changes are minimal and focused, making this a low-risk update that all WordPress 4.7.x users should apply.

Statistics:

File Changed6
Line Additions13
Line Deletions3
Line Changes16
Total Commits4

User Affected:

  • Improved reliability during WordPress upgrades with better file deletion handling
  • Reduced risk of upgrade failures when file permissions are restricted

Contributors:

dd32aaroncampbell