WordPress Release: 3.8.6

Tag Name: 3.8.6

Release Date: 4/21/2015

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 3.8.6 is a security and maintenance release that addresses several important security vulnerabilities and includes various bug fixes. This update focuses on improving database query security, fixing multisite issues, and enhancing content escaping to prevent potential exploits. The release also includes PHPUnit test improvements and TinyMCE cleanup.

Highlight of the Release

    • Security improvements for database queries to prevent SQL injection vulnerabilities
    • Fixed multisite issue preventing plugins from unintentionally switching sites
    • Enhanced dashboard security with proper post title escaping
    • Improved PHPUnit test framework
    • Removed legacy TinyMCE compatibility code

Migration Guide

No specific migration steps are required when updating to WordPress 3.8.6. This is a maintenance and security release that should be compatible with all existing plugins and themes that work with WordPress 3.8.x.

It is recommended to backup your site before updating, as with any WordPress update. After updating, test your site functionality to ensure everything is working as expected.

Upgrade Recommendations

This update is highly recommended for all WordPress 3.8.x users due to the security fixes included. The release addresses several security vulnerabilities that could potentially be exploited if left unpatched.

If you're running an older version of WordPress 3.8.x, you should update to 3.8.6 as soon as possible to ensure your site remains secure. For those on even older versions of WordPress, consider updating to the latest major release for the most comprehensive security and feature improvements.

Bug Fixes

  • Fixed issues with database query handling and improved sanitize_sql_orderby() function to handle edge cases
  • Addressed a multisite bug where plugins could unintentionally switch sites
  • Fixed improper escaping of post titles on the Dashboard
  • Resolved PHPUnit test framework issues
  • Improved database query collation checks with early returns when possible
  • Removed outdated backwards compatibility code from TinyMCE that could cause issues

New Features

No significant new features were added in this maintenance release. WordPress 3.8.6 focuses primarily on security enhancements and bug fixes to improve the stability and security of existing functionality.

Security Updates

  • Implemented query sanity checks to prevent potential SQL injection vulnerabilities
  • Enhanced sanitize_sql_orderby() function to better handle edge cases that could lead to security issues
  • Fixed improper escaping of post titles on the Dashboard that could potentially allow XSS attacks
  • Improved multisite security by preventing plugins from unintentionally switching sites
  • Added additional database query collation checks to prevent potential SQL injection vectors

Performance Improvements

  • Optimized database query handling with improved sanity checks
  • Enhanced WPDB performance by implementing early returns when deciding if a query needs extra sanity checking based on collation
  • Removed unnecessary legacy code from TinyMCE, potentially improving editor performance

Impact Summary

WordPress 3.8.6 is primarily a security-focused release that addresses several important vulnerabilities. The most significant changes involve improvements to database query handling to prevent SQL injection attacks, fixing multisite issues where plugins could unintentionally switch sites, and ensuring proper escaping of content on the dashboard.

The security enhancements in this release are critical for maintaining site integrity and protecting against potential exploits. While this update doesn't introduce new features, it significantly improves the security posture of WordPress 3.8.x installations.

For developers, the improvements to the PHPUnit test framework and database query handling provide a more robust development environment. The removal of legacy TinyMCE compatibility code also helps clean up the codebase and potentially improves editor performance.

This release demonstrates WordPress's ongoing commitment to security and stability, even for older branch versions of the CMS.

Statistics:

File Changed34
Line Additions1,931
Line Deletions131
Line Changes2,062
Total Commits13

User Affected:

  • Enhanced security for database queries protects sites from potential SQL injection attacks
  • Fixed multisite issues that could cause unintentional site switching
  • Improved dashboard security with proper post title escaping

Contributors:

pentonacin