Week in Core, Feb. 2-9 2016

Hi everybody! Welcome back to 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 from February 2nd [36471] – February 9th [36504], changesets [36471-36504]. Here are the highlights:

  • 34 commits
  • 19 contributors with props
  • 114 tickets created
  • 13 tickets reopened
  • 52 tickets closed

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers based on trac timeline for the period above.

Note: If you want to help write the next WordPress Core Weekly summary, check out the schedule over at make/docs and get in touch in the #core-weekly-update SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. channel.

Code Updates

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)

  • Simplify the Plugins and Themes tables on the Updates screen. [36477] #34780


  • In login_header(), use correct separator for RTL locales. [36487] #35737


  • Restore the ability to bypass post_id 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. using 0 or ‘0’. Reverts [36381], [36387]. [36480] #35090
  • Add parent__in and parent__not_in to query var defaults. [36479] #35677
  • Allow comments to be queried by ‘any’ post_type or post_status. [36486] #35512


  • Use the new wpdb::close() method for closing the DB connection. [36478] #34903


  • Fix a variety of phpDocPHPDoc (docblock, inline docs) issues [36471] [36472] [36473] [36474] [36475] [36476] [36493] [36494] [36495] [36496] [36499] [36500] [36501] #32246
  • Revert unintended changes in wp-includes/post.php, mistakenly included in [36497]. [36498] #34988, #33701
  • Add a missing version to the file 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. for wp-admin/term.php, introduced in [36308]. [36497] #34988, #33701
  • Add a note to the DocBlockdocblock (phpdoc, xref, inline docs) for current_user_can() to explain that it will always return true for super admins, unless specifically denied. [36492] #35551
  • Fix two notations in the DocBlocks for show_admin_bar() and is_admin_bar_showing() to reflect use of the $show_admin_bar global rather than $wp_admin_bar. [36491] #35686
  • Use the correct parameter name in the DocBlock for wp_kses_post_deep(), introduced in [36429]. [36489] #35700, #35316
  • Add a missing type to the return description for map_deep(). [36488] #35700


  • Make the $post param optional in get_post_field(). When $post is null, the current post object will be returned. [36481] #35683

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.

  • Allow get_terms() results to ordered by metadata. […] This brings order-by-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. support for terms in line with post, comment, and user queries. [36485] #34996
  • WP_Query taxonomy query vars should be set to first of multiple taxonomies […] for better parity with get_queried_object(), which will return the first taxonomy/term matched by the current query. [36484] #35619


  • Pass information about the old theme in the form of a WP_Theme object when the switch_theme action is fired. [36502] #22401



  • Display the new user email notice in user adminadmin (and super admin) too. Also […], use the global $pagenow and add a translators comment for the placeholder. [36504] #35767
  • Use self_admin_url() for the email change confirmation link – prevents sending users to wp-admin/profile.php if they only have access to wp-admin/user/profile.php. [36503] #35766
  • When updating a user, invalidate its ‘userslugs’ cache. [36482] #35750


Thanks to @afercia, @azaozz, @boonebgorges, @Chouby, @danielbachhuber, @DrewAPicture, @eherman24, @finnj, @Frozzare, @jadpm, @kouratoras, @markoheijnen, @MikeHansenMe, @ocean90, @pento, @ramiy, @sebastianpisula, @SergeyBiryukov, and @thebrandonallen for their contributions!

#4-5, #week-in-core