Title: Week in Core, May 3rd &#8211; 9th 2017
Author: Andrew Rockwell
Published: May 13, 2017

---

 [  ](https://profiles.wordpress.org/rockwell15/) [Andrew Rockwell](https://profiles.wordpress.org/rockwell15/)
6:40 pm _on_ May 13, 2017      

# Week in Core, May 3rd – 9th 2017

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 
[[40569-40597]](https://core.trac.wordpress.org/log/?revs=40569-40597). Here are
the highlights:

 * 29 commits
 * 42 contributors
 * 64 tickets created
 * 8 tickets reopened
 * 52 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker.
numbers based on tracTrac An open source project by Edgewall Software that serves
as a bug tracker and project management tool for WordPress. [timeline](https://core.trac.wordpress.org/timeline?from=5%2F9%2F17&daysback=6&ticket=on)
for the period above. The following is a summary of commits, organized by component.

## Code Changes

### Administration

 * Restore missing spinner when installing a new language. [[40579]](https://core.trac.wordpress.org/changeset/40579)
   [#40478](https://core.trac.wordpress.org/ticket/40478)
 * Remove unit and prefixed version from a CSSCSS Cascading Style Sheets. declaration.
   [[40576]](https://core.trac.wordpress.org/changeset/40576) [#35358](https://core.trac.wordpress.org/ticket/35358)
 * 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): Improve the color contrast ratio of the dismiss notice
   buttons. [[40570]](https://core.trac.wordpress.org/changeset/40570) [#39970](https://core.trac.wordpress.org/ticket/39970)

### Cron 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.

 * Add a new `wp_doing_cron()` helper function. [[40575]](https://core.trac.wordpress.org/changeset/40575)
   [#39591](https://core.trac.wordpress.org/ticket/39591)

### Editor

 * Add `wp.editor.remove()` for editors that were dynamically instantiated from 
   JSJS JavaScript, a web scripting language typically executed in the browser. 
   Often used for advanced user interfaces and behaviors.. [[40588]](https://core.trac.wordpress.org/changeset/40588)
   [#35760](https://core.trac.wordpress.org/ticket/35760)
 * Accessibility: Make the Get Shortlink button be a real button. [[40578]](https://core.trac.wordpress.org/changeset/40578)
   [#26504](https://core.trac.wordpress.org/ticket/26504), [#40448](https://core.trac.wordpress.org/ticket/40448)

### Embeds

 * Add screencast.com to oEmbed provider whitelist. [[40574]](https://core.trac.wordpress.org/changeset/40574)
   [#38367](https://core.trac.wordpress.org/ticket/38367)

### Emoji

 * Make the UN flag test more accurate. [[40582]](https://core.trac.wordpress.org/changeset/40582)
   [#40616](https://core.trac.wordpress.org/ticket/40616)

### Media

 * Optionally return attachment id from `media_sideload_image()`. [[40597]](https://core.trac.wordpress.org/changeset/40597)
   [#19629](https://core.trac.wordpress.org/ticket/19629)
 * Accessibility: Improve the suggested image size text in the media views. [[40573]](https://core.trac.wordpress.org/changeset/40573)
   [#38932](https://core.trac.wordpress.org/ticket/38932)

### Networks and Sites

 * 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**: Fix filterFilter Filters are one of
   the two types of Hooks [https://codex.wordpress.org/Plugin_API/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. hooksHooks In WordPress theme and development, hooks are functions
   that can be applied to an action or a Filter in WordPress. Actions are functions
   performed when a certain event occurs in WordPress. Filters allow you to modify
   certain functions. Arguments used to hook both filters and actions look the same.
   for the updating networknetwork (versus site, blog) count functions. [[40596]](https://core.trac.wordpress.org/changeset/40596)
   [#40703](https://core.trac.wordpress.org/ticket/40703)
 * Multisite: Add `$network_id` parameter to `wp_maybe_update_network_user_counts()`.
   [[40591]](https://core.trac.wordpress.org/changeset/40591), [[40593]](https://core.trac.wordpress.org/changeset/40593)
   [#40385](https://core.trac.wordpress.org/ticket/40385), [#38699](https://core.trac.wordpress.org/ticket/38699)
 * Multisite: Add missing documentation for new `$network_id` parameter of `wp_maybe_update_network_site_counts()`.
   [[40592]](https://core.trac.wordpress.org/changeset/40592) [#40384](https://core.trac.wordpress.org/ticket/40384)
 * Multisite: Add `$network_id` parameter to `wp_is_large_network()`. [[40590]](https://core.trac.wordpress.org/changeset/40590)
   [#40489](https://core.trac.wordpress.org/ticket/40489)
 * Multisite: Introduce `minimum_site_name_length` filter. [[40589]](https://core.trac.wordpress.org/changeset/40589)
   [#39676](https://core.trac.wordpress.org/ticket/39676)

### 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/](https://developer.wordpress.org/rest-api/)󠁿

 * WP_REST_Request::remove_header() should canonicalize 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. names. [[40577]](https://core.trac.wordpress.org/changeset/40577) [#40347](https://core.trac.wordpress.org/ticket/40347)
 * Improve strings added after 4.7 string freeze. [[40571]](https://core.trac.wordpress.org/changeset/40571)
   [#39178](https://core.trac.wordpress.org/ticket/39178)

### Themes

 * Fix missing search field in the Theme Install screen after [[40572]](https://core.trac.wordpress.org/changeset/40572).
   [[40586]](https://core.trac.wordpress.org/changeset/40586) [#34881](https://core.trac.wordpress.org/ticket/34881)
 * Accessibility: Wrap the installed themes search field within a form element. 
   [[40572]](https://core.trac.wordpress.org/changeset/40572) [#34881](https://core.trac.wordpress.org/ticket/34881)

### TinyMCE

 * Improve adding of custom UIUI User interface to the MCE Factory. [[40587]](https://core.trac.wordpress.org/changeset/40587)
   [#40690](https://core.trac.wordpress.org/ticket/40690)
 * Fix linting errors in tinymce-obsolete.js. [[40585]](https://core.trac.wordpress.org/changeset/40585)
   [#40690](https://core.trac.wordpress.org/ticket/40690)
 * Remove the pre-4.6.0 tests. Move regressionregression A software bug that breaks
   or degrades something that previously worked. Regressions are often treated as
   critical bugs or [blockers](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?output_format=md#blocker).
   Recent regressions may be given higher priorities. A "3.6 regression" would be
   a bug in 3.6 that worked as intended in 3.5. testing for obsolete tags and attributes
   to the default QUnit tests. [[40584]](https://core.trac.wordpress.org/changeset/40584)
   [#40690](https://core.trac.wordpress.org/ticket/40690)
 * Update to 4.6.0. Has many new features and bugbug A bug is an error or unexpected
   result. Performance improvements, code optimization, and are considered enhancements,
   not defects. After feature freeze, only bugs are dealt with, with regressions(
   adverse changes from the previous version) being the highest priority. [[40583]](https://core.trac.wordpress.org/changeset/40583)
   [#40690](https://core.trac.wordpress.org/ticket/40690)

### Users

 * Multisite: Check only valid looking emails against banned domain list. [[40595]](https://core.trac.wordpress.org/changeset/40595)
   [#39915](https://core.trac.wordpress.org/ticket/39915)
 * Multisite: Validate email before checking against banned domains. [[40594]](https://core.trac.wordpress.org/changeset/40594)
   [#39915](https://core.trac.wordpress.org/ticket/39915)
 * Correct a permission check when showing the User item in the `+ New` adminadmin(
   and super admin) toolbar menu. [[40581]](https://core.trac.wordpress.org/changeset/40581)
   [#39252](https://core.trac.wordpress.org/ticket/39252)
 * Clear the user settings cookies when clearing auth cookies. [[40580]](https://core.trac.wordpress.org/changeset/40580)
   [#32567](https://core.trac.wordpress.org/ticket/32567)

### Widgets

 * Customize: Fix a visual glitch on the 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. control animation introduced in [[40480]](https://core.trac.wordpress.org/changeset/40480).
   [[40569]](https://core.trac.wordpress.org/changeset/40569) [#27112](https://core.trac.wordpress.org/ticket/27112),
   [#31476](https://core.trac.wordpress.org/ticket/31476)

Thanks to [@adamsilverstein](https://profiles.wordpress.org/adamsilverstein/), [@afercia](https://profiles.wordpress.org/afercia/),
[@alexkingorg](https://profiles.wordpress.org/alexkingorg/), [@aryamaaru](https://profiles.wordpress.org/aryamaaru/),
[@azaozz](https://profiles.wordpress.org/azaozz/), [@Cheffheid](https://profiles.wordpress.org/cheffheid/),
[@chris_dev](https://profiles.wordpress.org/chris_dev/), [@cristianozanca](https://profiles.wordpress.org/cristianozanca/),
[@danielbachhuber](https://profiles.wordpress.org/danielbachhuber/), [@desrosj](https://profiles.wordpress.org/desrosj/),
[@dl](https://profiles.wordpress.org/dl/), [@dotancohen](https://profiles.wordpress.org/dotancohen/),
[@DrewAPicture](https://profiles.wordpress.org/drewapicture/), @ENDif Media, [@flixos90](https://profiles.wordpress.org/flixos90/),
[@georgestephanis](https://profiles.wordpress.org/georgestephanis/), [@iseulde](https://profiles.wordpress.org/iseulde/),
[@jeremyfelt](https://profiles.wordpress.org/jeremyfelt/), [@joehoyle](https://profiles.wordpress.org/joehoyle/),
[@johnbillion](https://profiles.wordpress.org/johnbillion/), [@kawauso](https://profiles.wordpress.org/kawauso/),
[@kraftbj](https://profiles.wordpress.org/kraftbj/), [@MatheusFD](https://profiles.wordpress.org/matheusfd/),
[@mattheu](https://profiles.wordpress.org/mattheu/), [@mikeschroder](https://profiles.wordpress.org/mikeschroder/),
[@MrGregWaugh](https://profiles.wordpress.org/mrgregwaugh/), [@nacin](https://profiles.wordpress.org/nacin/),
[@ocean90](https://profiles.wordpress.org/ocean90/), [@pento](https://profiles.wordpress.org/pento/),
[@PranaliPatel](https://profiles.wordpress.org/pranalipatel/), [@Presskopp](https://profiles.wordpress.org/presskopp/),
[@SergeyBiryukov](https://profiles.wordpress.org/sergeybiryukov/), [@shane](https://profiles.wordpress.org/shane/),
[@slbmeh](https://profiles.wordpress.org/slbmeh/), [@soulseekah](https://profiles.wordpress.org/soulseekah/),
[@stormrockwell](https://profiles.wordpress.org/stormrockwell/), [@swissspidy](https://profiles.wordpress.org/swissspidy/),
[@takayukister](https://profiles.wordpress.org/takayukister/), [@tfrommen](https://profiles.wordpress.org/tfrommen/),
[@TimothyBlynJacobs](https://profiles.wordpress.org/timothyblynjacobs/), [@trepmal](https://profiles.wordpress.org/trepmal/),
and [@whyisjake](https://profiles.wordpress.org/whyisjake/) for their contributions!

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2017/05/13/week-in-core-may-3rd-9th-2017/?share=linkedin)

# Post navigation

[← Dev Chat Summary: May 10th (4.8 week 2)](https://make.wordpress.org/core/2017/05/12/dev-chat-summary-may-10th-4-8-week-2/)

[JavaScript Chat Agenda for May 16th →](https://make.wordpress.org/core/2017/05/15/javascript-chat-agenda-for-may-16th/)