Week in Core, September 28 – Oct 5, 2016

Welcome back the latest issue of Week in Core, covering changes [38673-38735]. Here are the highlights:

  • 62 commits
  • 48 contributors
  • 57 tickets created
  • 9 tickets reopened
  • 77 tickets closed

Ticket numbers based on trac timeline for the period above. The following is a summary of commits, organized by component.

Code Changes

Accessibility

  • Remove target=_blank from the help tab links on several 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 Network 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/header help tabs links. [38719] #38141, #23432
  • Remove target=_blank from the comment/edit-comments help tabs links. [38718] #38140, #23432
  • Editor, Publish meta box: remove a stray label and redundant CSS. [38700] #28411

Admin Bar

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

Build/Test

Comments

Customize

Editor

Embeds

Emoji

Docs

  • 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

HTTP

HTTP API

  • Simplify wp_parse_url() to ensure consistent results. [38726] #36356
  • Add a $component parameter to wp_parse_url() to give it parity with PHP’s parse_url() function. [38694] #36356

I18N

Import

  • Fix plugin activation link after installing an importer on multisite. [38704] #37943

Media

Meus

Meta

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

Multisite

Options

Plugins

  • 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

Query

REST API

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

Role/Capability

  • 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

Shortcodes

Taxonomy

  • Remove the popular tag 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

Tests

Themes

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

Toolbar

  • 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

wpLists

  • 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

Props

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!