Last Week in WordPress Core

Hello there! This is Last Week in WordPress CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. for the week of April 15-April 23. Happy release week, everyone! WordPress 3.9 “Smith” was released last Wednesday! Due to that, fewer commits this week. With a 3.9.1 maintenance release expected this week, changes up to tonight are included below.


  • Ensure widgets stay with themes during a theme switch. See [28124]. [28161] #27897
  • Run WP_Editors::enqueue_scripts() on admin_print_footer_scripts priority 1 (later), instead of admin_footer. Fixes incompatibility with the customizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings.. [28187] #27853
  • Remove create_function() from the customizer class to improve HHVM compatibility. [28143] #27805

Theme Installer

  • Restore .zip theme installation by casting wp_count_attachments() before iterating it to avoid a notice when items exist without a mime type. [28139] #27802
  • Prevent customizer headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. image list from listing user images twice when no theme-specified images exist. [28152] #27839
  • Improved URLURL A specific web address of a website or web page on the Internet, such as a website’s URL routing. [28141] [28147] #27055
  • Proper redirection and action links post-install in multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site. [28163] #27869


  • Update the TinyMCE tests to [28138] #27744
  • Fix icons in IE7. [28142] #27829
  • Restore wordpress_adv_hidden editor parameter to enable force-showing the kitchen sinkKitchen Sink When using the WYSIWYG (What You See Is What You Get) editor in WordPress, you can expand the capabilities to allow more options. This expanded area is called the "Kitchen Sink.". [28181] #27963
  • Shrink the font size for the selected item in “Format” dropdown so that it fits in more locales. [28180] #27903
  • Fix the active state of the Link button when an image wrapped in a link is selected. [28185] #27847
  • Don’t trigger the drag-and-drop uploader when selected test is being dragged from one window to another. [28189] #27880
  • Correct positioning when adding a caption to an image that is in a paragraph with other text. [28190] #27922
  • Update the “paste” pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the Plugin Directory or can be cost-based plugin from a third-party to the latest development version to fix: [28192] #27909 #27771
    • Correct pasting of Excel tables.
    • Leave TOC Anchors intact during paste.


  • Improve styling and fix RTL for playlists. [28172] [28174] #27923; [28173] #27924
  • Alter the layout of the checkboxes in the modal view for Audio/Video Details to allow translations more room to breathe. [28184] #27893
  • Graceful failures for TinyMCE views of video/audio playlists. [28144] #27821
  • Add a compatibility layer in wp-playlist.js to avoid VM errors from MediaElement’s plugin bridge in the TinyMCE views to whitelist file types for native playback. [28171] #27892
  • Refinements for asynchronous rendering in [28182] #27899
  • Keep <tracks> from being filtered out when switching between visual and text editors. [28183] #27915
  • Hide extra tracks field in media modal when adding subtitles. [28169] #27915


  • Avoid a PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher warning during theme background-update checks when there are multiple theme directories registered. [28137] #27815
  • Properly gray out text fields when they are disabled or when they have the disabled class. [28179] #27906
  • Avoid counting all attachments when entering the post|page edit screens. [28191] #27985

Thanks to @avryl, @azaozz, @bobbingwide, @celloexpressions, @dimadin, @feedmeastraycat, @gcorne, @helen, @jjeaton, @johnbillion, @kworthington, @lancewillett, @mcsf, @melchoyce, @nacin, @netweb, @ocean90, @SergeyBiryukov, @smashcut, @westonruter and @wonderboymusic for their help this week!

For the complete list of commits to trunktrunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision., check out the log on Trac. We started talking about 4.0 plans this week in the weekly dev meeting. Come chat next Wednesday to continue the discussion, and note if you encounter issues with the new release on trac.

#3-9, #week-in-core