Week In Core, May 11 – May 18 2016

Welcome back the latest issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress., covering changes [37417-37457]. Here are the highlights:

  • 40 commits
  • 31 contributors
  • 74 tickets created
  • 12 tickets reopened
  • 78 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers based on trac timeline for the period above. The following is a summary of commits, organized by component.

AccessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)

  • Make the tab order match the visual order in the Edit terms screens. [37439] #35664


  • System font: The stack does not work with the font shorthand property. [37442] #36753
  • Credits: Add a missing closing tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.). [37434] #35911
  • Adminadmin (and super admin) font: Remove a redundant sans-serif declaration. [37419] #36753


Build/Test Tools


  • Add $data parameter to include the comment data in the edit_comment action. [37423] #36427


  • Change attachment condition in the site icon control to prevent errors. [37456] #36749
  • Include shortcut button in Custom Menu widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. to edit the selected menu in 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.. [37437] #32683
  • Remove use of reserved word default in Underscore template which breaks IE8. Fixes #36793. [37450] [37417] #36793
  • Handle filtering sidebars_widgets when the underlying option is non-existent. Merge of [37352] to the 4.5 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch".. Fixes #36660. [37453] #36389, #36660
  • Clean up media control CSSCSS Cascading Style Sheets.. Removes unnecessary wrapper elements and refactors class names to eliminate duplication of rule selectors. [37426] #30618


  • TinyMCE: prevent showing the placeholder URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org when adding a link and clicking more than once on the Insert Link button. Merge of [37301] to the 4.5 branch. [37454] #36637
  • Editor: Merge two strings. [37441] #27756


Filesystem APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.

  • Don’t add '.' to the list of directories which need to be checked/created when extracting a file. [37421] #36570


  • Docs: Standardize on ‘backward compatibility/compatible’ nomenclature in core inline docsinline docs (phpdoc, docblock, xref). [37431] #36835

HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. API

  • Use prepared JSONJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. data correctly. This was modifying a variable that was never used. Oops. [37444] #36358
  • Pass array-like object to http_api_debug. This was mistakingly passing the Requests_Response object, which caused fatal errors with debugging tools. [37436] #33055
  • Fix compatibility with cURL < 7.22. [37430] #33055
  • Add browser compatibility hook for 3xx redirects. [37428] used the wrong method of adding this hook, now corrected. [37429] #33055
  • Replace internals with Requests library. [37428] #33055

I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.

  • In get_translations_for_domain() check if the global $l10n was set by _load_textdomain_just_in_time() before accessing it. [37440] #34114


Networks and Sites

  • Tests: Set public to 1 in the default blogblog (versus network, site) factory. [37418] #36566
  • Tests: Use factory method to generate fixtures for wp_unique_post_slug() tests. [37443] #20419

Posts, Post Types

  • Fire a post_action_{$action} action for a custom post action request. [37424] #27056



  • Add changelog entries for when the classes were moved to its own file. [37432] #36618


  • List Tables: Pass the $which parameter to restrict_manage_posts and restrict_manage_users. [37422] #35307


  • Create WP_Widget_Mock as a mock of WP_Widget which can be used for widget tests. You cannot instantiate an abstract class. Not even in WordPress world. [37427] #35981
  • Make WP_Widget a real abstract class. [37425] #35981

Thanks to @adamsilverstein, @afercia, @boonebgorges, @brianvan, @celloexpressions, @danielhuesken, @DrewAPicture, @dshanske, @helen, @iseulde, @jeremyfelt, @jfarthing84, @joemcgill, @johnbillion, @jorbin, @jrf, @martin.krcho, @mintindeed, @Mte90, @neverything, @ocean90, @pavelevap, @rachelbaker, @ramiy, @rmccue, @samantha-miller, @SergeyBiryukov, @sudar, @swissspidy, @tfrommen, and @westonruter for their contributions!

#4-6, #week-in-core