Week In Core, July 6 – July 12 2016

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

  • 59 commits
  • 39 contributors
  • 61 tickets created
  • 3 tickets reopened
  • 20 tickets closed

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

Code Changes

Administration

  • Add aria-button-if-js class to links in the media list table that behave like buttons when JavaScript is on. [38031] #26504, #36555

Bootstrap

Comments

Customize

  • Fix panel indentation in Firefox. [37984] #34622
  • Ensure that WP_Customize_Setting::value() can return a previewed value for aggregated multidimensionals. [37982] #37294
  • Ensure that WP_Customize_Nav_Menu_Section is able to represent a placeholder nav menu. [37981] #37293

Docs

  • The $labels property in WP_Post_Type is of type object as returned from get_post_type_labels(), not an array. [38030] #36217
  • Standardize references to “meta box” or “meta boxes” as two distinct words throughout core documentation per the core spelling guide. [38029] #32246
  • Standardize capitalization of Ajax throughout core documentation per the core spelling guide. [38028] #32246
  • Link the 4.6 changelog entry in the DocBlock for register_meta() to its corresponding dev note on make/core. [38027] #35658, #37318
  • Fix a typo in the DocBlock for themes_api(), themes_api, plugins_api(), and plugins_api. [38025] #32246
  • Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6. [38024] #37318
  • Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 [38023] #36618, #37318
  • Improve usefulness of DocBlocks for ajax-actions.php functions introduced in 4.6. [38022] #37318
  • Fix a typo in the hook doc description for the enable_loading_advanced_cache_dropin run-time filter. [38021] #34936, #37318
  • Fix a typo in an inline hook reference in the DocBlock for comment_form(). [38018] #32246
  • Fix typo in a comment in Core_Upgrader::upgrade(). [38014] #37314
  • Correct the description of the $network_id in WP_Site_Query. [38008] #35791
  • Fix an incorrect @since comment. [37994] #36495
  • Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core. [37985] #36495

Embeds

  • Include locale stylesheets after default styles. [38010] #36839
  • Don’t print the HTML for a featured image if a post has no featured image. [37988] #37288

HTTP API

I18N

  • I18N: Introduce an on/off switch for locales where comment number needs to be declined. [37987] #13651

Media

  • Don’t use ‘full’ as array key in wp_calculate_image_srcset(). [37986] #36345

Meta

  • Add a missing @since param for wp_object_type_exists(). [38038] #35658
  • Don’t pass an empty $meta_key to get_metadata(). [37996] #35658
  • Introduce an initial set of tests for register_meta(). [37995] #35658
  • Make registration error conditions return consistently. [37991] #
  • Ensure $object_subtype is available before use in register_meta(). [37990] #35658

Multisite

  • Use hash_equals() when comparing hashes to mitigate timing attacks. [38032] #37324
  • Correct logic used to display an Edit User link after adding a user. [38007] #37223
  • Add a nonce to the “Cancel” URL when changing a site’s admin email. [38006] #36954
  • Don’t store max_num_pages in WP_Network_Query query cache. [38003] #32504
  • Don’t store max_num_pages in WP_Site_Query query cache. [38002] #35791

Plugins

  • Improve Ajax search of installed plugins. [38033] #37230
  • In plugin_basename() sort plugin paths before resolving symlinks. [37983] #28441

Resource Hints

  • Remove schemes from dns-prefetch resource hint outputs. [38036] #37240

Revisions

Taxonomy

  • Remove an unnecessary double assignment in WP_Term_Query::get_terms(). [38020] #37254

Tests

  • Don’t change the memory_limit setting during tests. See #32075. [38016] #32075
  • Ensure that test for invalid user ID actually uses an invalid user ID. [38005] #37308
  • Add description for data_get_comments_number_text_declension(). [37997] #13651

Text Changes

Themes

  • PHP 7 compatibility issues fixed in Twenty Thirteen and Twenty Fourteen [38026] #37227

TinyMCE

  • preserve and tags inside the editor. Uses image placeholders for the tags and makes then visible. [38039] #32923
  • update to 4.4.0, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt. [38034] #36434, #37327

Toolbar

  • Allow 0 as a value for the tabindex property of a menu item. [38035] #32495

Upgrade/Install

  • Do not remove event handlers when trying to update a theme. [38019] #37285

Widgets

  • After [37972], ensure that $box['args'] is an array before trying to access __widget_basename. [38004] #35021

Props

Thanks to @A5hleyRich, @adamsilverstein, @afercia, @azaozz, @birgire, @boonebgorges, @DrewAPicture, @elrae, @ericlewis, @Faison, @helen, @iseulde, @jaspermdegroot, @jdgrimes, @jeremyfelt, @joedolson, @joemcgill, @johnbillion, @jrf, @karmatosed, @metodiew, @niallkennedy, @ocean90, @pento, @peterwilsoncc, @rachelbaker, @ramiy, @rmccue, @sc0ttkclark, @scottbasgaard, @SergeyBiryukov, @spacedmonkey, @stubgo, @swissspidy, @valendesigns, @westonruter, @wpfo, @xknown, and @Zuige for their contributions!

#4-6, #week-in-core