Week in Core, September 28 – Oct 5, 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 [38673-38735]. Here are the highlights:

  • 62 commits
  • 48 contributors
  • 57 tickets created
  • 9 tickets reopened
  • 77 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.

Code Changes

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)

  • Remove target=_blank from the help tab links on several adminadmin (and super admin) screens. [38725] #38145, #23432
  • Remove target=_blank from the Users and Widgets screens help tabs links. [38723] #38217, #23432
  • Remove target=_blank from the Plugins, Themes, Media, Update, and Tools screens help tabs links. [38722] #38215, #23432
  • Remove target=_blank from the Networknetwork (versus site, blog) screens help tabs links. [38721] #38159, #23432
  • Remove target=_blank from the Settings screens help tabs links. [38720] #38143, #23432
  • Remove target=_blank from the old custom background/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. help tabs links. [38719] #38141, #23432
  • Remove target=_blank from the comment/edit-comments help tabs links. [38718] #38140, #23432
  • Editor, Publish metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. box: remove a stray label and redundant CSSCSS Cascading Style Sheets.. [38700] #28411

Admin Bar

  • Remove unused ID ab-awaiting-mod from comment count. [38683] #37901



  • Introduce the wp_update_comment_data filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output.. [38674] #36302






  • Improve description for term_exists() $term param. [38716] #37224
  • Correct default value for next_text in paginate_links(). [38701] #38212
  • Correct ‘Since’ version number for Cloudup in oembed_providers filter description. [38675] #38188

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.

  • Document that the return value of wp_remote_retrieve_headers() changed from a simple array to an object which implements ArrayAccess. [38730] #37722
  • Update Requests to master (0048f3c) which merges [38727] to the 4.6 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".. [38728] #38070, #37733, #37992, #37991, #37839, #38232
  • Update Requests to master (0048f3c) [38727] #38070, #37733, #37992, #37991, #37839, #38232

HTTP 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.

  • Simplify wp_parse_url() to ensure consistent results. [38726] #36356
  • Add a $component parameter to wp_parse_url() to give it parity with PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher’s parse_url() function. [38694] #36356

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.


  • Fix 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 WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party activation link after installing an importer on 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. [38704] #37943




  • Improve ID casting when getting, updating or deleting meta data. [38699] #37746




  • Display ‘Less Than 10’ active installs of a plugin rather than ‘0+’ active installs. [38729] #37509
  • Fix odd typo introduced in [38703]. [38706] #37973
  • Fix checkbox selection when searching for installed plugins. [38703] #37973


REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/.

  • Add filters to allow creating REST API middleware plugins. [38689] #35590


  • Add more complete capability and role assertions to existing user capability tests. Also reuses one more user account fixtures. [38732] #38236, #38235
  • Reuse some user account fixtures in the user capability tests. [38731] #38235
  • Introduce tests that assert the primitive and meta capability tests test the correct capabilities. [38697] #38191
  • Correct some meta capabilities that were incorrectly listed as primitive capabilities in the role and capability tests. [38696] #38191
  • Add explicit cases to map_meta_cap() for various meta capabilities that are used in core. This will allow more complete meta and primitive capability unit tests in #38191. [38695] #38191, #38201


TaxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.

  • Remove the popular 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.) cloud from edit-tags.php. [38735] #36964
  • Introduce more fine grained capabilities for managing taxonomy terms. [38698] #35614
  • Use WP_Term_Query in get_term_by(). [38677] #21760



  • Account for uppercase chars when managing themes. [38710] #37924


  • Be more strict about adding a ‘View Posts’ link to the toolbar. [38708] #34113

Unit Tests

  • Remove unused variable in Tests_oEmbed::dataShouldNotMatchOembedRegex(). [38714] #38187


  • Pass the current element to process() to properly register event handlers. [38711] #38174
  • Add ‘urn’ to the list of URI protocols whitelisted by default. [38686] #37300
  • Add test for each whitelisted URI protocol in wp_allowed_protocols(). Move test from [25301] to the new file. [38685] #38198


Thanks to @adamsilverstein, @afercia, @boonebgorges, @chrisjean, @dd32, @dlh, @DrewAPicture, @dshanske, @earnjam, @feedback, @flixos90, @for, @frankiet, @geekysoft, @gma992, @helen, @ipm-frommen, @iseulde, @jeremyfelt, @jnylen0, @joehoyle, @joelcj91, @joemcgill, @johnbillion, @johnjamesjacoby, @jorbin, @jrf, @Kenshino, @melchoyce, @mrahmadawais, @obenland, @ocean90, @ovann86, @pento, @peterwilsoncc, @Presskopp, @rachelbaker, @ramiy, @rianrietveld, @rmccue, @ryankienstra, @ryanplas, @SergeyBiryukov, @spacedmonkey, @sudar, @swissspidy, @truongwp, and @westonruter for their contributions!