Week in Core, Mar 8 – Mar 15 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 [36889-37000]. Here are the highlights:

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 Changes

About

  • Run w-logo-white.png through imagemin. [36929] #35661
  • Improve color contrast of WP Badge text, and update the logo to use the latest version. [36910] #35661

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 accessibility for the 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 details modal. [36964] #33305
  • Reduce the WordPress shades of grey, Episode 3. [36904] #35783
  • Improve the color contrast ratio of the expandable panel “handles”. [36959] #35923
  • wpLink: fix accessibility issues [36991] #30468

Administration

  • Use admin_url() for “Add New” links in wp-admin/users.php. [36902] #36186
  • Use admin_url() for “Add New” links in wp-admin/upload.php. [36901] #36186

Build/Test Tools

  • Add Automated Tests for custom logo support [36905] #36086, #33755
  • Let’s not reinvent wp_get_attachment_image(). [36914] #36086
  • Update grunt-rtlcss ~1.6.0 → ~2.0.1. [36935] #35104
  • Rename the precommit:core task to precommit:base for clarification. [36955] #35557
  • Introduce 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 unit tests. [36949] #33755, #36086
  • Account for expected attachemnt size in custom logo output. [36911] #36086
  • Update grunt-browserify ~4.0.1 → ~5.0.0 [36979] #35104
  • Update grunt-postcss ~0.7.1 → ~0.8.0 [36978] #35104
  • Revert r36978 [36980] #35104
  • Increase beautificatedness of language in grunt precommit unit testunit test Code written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression. messages. [36924] #35557
  • Improve grunt precommit task [36906] #35557
  • Add grunt prerelease task [36930] #35557

Comments

  • On the Edit Comment screen do not show the permalink for unapproved comments. [36958] #36161

Customize

  • Restore body class removed in [36837] for when custom logo is present. [36903] #33755, #35945
  • Fix persistence of toggles for displayed nav menu item properties. [36908] #35273
  • Reduce vertical space of site icon control. [36907] #35943
  • Only add custom logo’s 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. text control if needed. [36915] #33755
  • Update cropper.js to match changes in [36931] #32783
  • Use full URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org to image to prevent breakage if moved. See #33755. [36948] #33755
  • Rely on selective refresh exclusively for previewing custom logo changes. [36990] #27355, #33755, #36096
  • Bump down the priority custom logo’s control. [36912] #35942
  • Remove selective refresh error message from appearing inline within the preview. [36890] #27355, #36164
  • Remove unused JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. variable to fix jshint error introduced in [36890]. [36892] #36164
  • Correct a unit test for custom icon functionality. [36952] #36086
  • Explicitly set full as the default custom logo size. [36950] #33755

Database

  • Reset connection status variables when the connection is closed. [36997] #36240

Docs

  • The $update_result parameter passed to WP_Automatic_Updater::after_core_update() is never a WP_Error. If an error is returned, the error object lives in the result property of the paramter. [36995] #32246
  • Re-add a @param that went missing in [36993]. [36994] #32246
  • Improvements and corrections for the $ver parameter of the dependencies 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. functions. [36993] #32246
  • Use a third-person singular verb for the get_the_excerpt() DocBlockdocblock (phpdoc, xref, inline docs) summary. [36942] #32246
  • Improve the DocBlock summary for wp_metadata_lazyloader(), introduced in [36566]. [36941] #35816, #35986
  • Improve the usefulness of the DocBlock summary for get_edit_term_link(). [36940] #32246
  • Improve the 4.5.0 changelog entry in the hook doc for the get_archives_link 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., introduced in [36418]. [36939] #35573, #35986
  • Improve the $blog_id parameter description in the DocBlock for the_custom_logo(), introduced in [36698]. [36938] #33755, #35986
  • Improve inline documentation for has_custom_logo(), introduced in [36698]. [36936] #33755, #35986
  • Improve the DocBlock summary for the_embed_site_title(), introduced in [36693]. [36923] #34561, #35986
  • Improve the DocBlock summary for the clean_comment_cache action, introduced in [36405]. [36922] #35610, #35986
  • Improve syntax for the $lengths parameter in the hook doc for the wp_get_comment_fields_max_lengths filter, introduced in [36272]. [36921] #10377, #35986
  • Improve the DocBlock summary for wp_get_comment_fields_max_lengths(), introduced in [36514]. [36920] #10377, #35986
  • Improve the DocBlock summary for wp_queue_comments_for_comment_meta_lazyload(), introduced in [36566]. [36919] #35816, #35986
  • Improve the usefulness of associated reference info in the hook doc for the comments_template_query_args filter, introduced in [36235]. [36918] #34442, #35986
  • Add a missing DocBlock summary for the WP_Scripts->print_html_before property, added in [36633]. [36917] #14853, #35986
  • Improve syntax in the DocBlock for rest_get_server(), introduced in [36529]. [36947] #35329, #35986
  • Use a third-person singular verb in the summary for get_embed_template(), introduced in [36876]. [36963] #34561, #34278, #35986
  • Improve changelog entries added for the delete_term and delete_{$taxonomy} actions in [36080] and a third entry added for the clean_term_cache action in [36399] [36962] #35213, #35611, #35986
  • Improve the summary and return description in the DocBlock for unregister_taxonomy(), introduced in [36243]. [36961] #35227, #35986
  • Use a third-person singular verb for the DocBlock summary for remove_permastruct(), introduced in [36181]. [36960] #35235, #35986
  • Improve two 4.5.0 changelog entries added for the plugins_update_check_locales and themes_update_check_locales filters, introduced in [36630]. [36966] #34937, #35986
  • Correct a typo in the DocBlock summary for get_embed_template(), introduced in [36963]. [36965] #34561, #34278, #35986
  • Update default $size value for get_custom_logo filter after [36950]. [36975] #33755
  • Correct grammar when referring to “a URL” vs “an URL” in several places. [36970] #36218
  • Improve the DocBlock summary for wp_queue_posts_for_term_meta_lazyload(), introduced in [36566]. [36945] #35816, #35986
  • Improve the accuracy of the return description for unregister_post_type(), introduced in [36316]. [36944] #14761, #35986
  • Improve the DocBlock summary for WP::remove_query_var(), introduced in [36177]. [36900] #35234, #35986
  • Standardize file header summary for wp-includes/class-wp-metadata-lazyloader.php. [36899] #35986
  • Improve inline documentation syntax throughout WP_Metadata_Lazyloader, introduced in [36566]. [36898] #35816, #35986
  • Add a missing file header to wp-includes/class-wp-metadata-lazyloader.php, introduced in [36566]. [36897] #35816, #35986
  • Update the return type for get_active_blog_for_user() This is now a WP_Site object. [36895] #32450
  • Update param/return types for WP_Site in ms-blogs.php, get_blog_details() now returns a WP_Site object. clean_blog_cache() is now called with a WP_Site object. [36894] #32450
  • Update the return type for get_current_site() This is now a WP_Network object. [36893] #32246
  • Improve DocBlock syntax for wp_get_upload_dir(), introduced in [36565]. [36925] #34359, #35986

Editor

  • Fix size of the resize handle on RTL sites for HiDPI screens. [36934] #36193
  • Fix Mac keyboard shortcut for distraction free writing. [36973] #36214
  • Hide the Move to TrashTrash Trash in WordPress is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with the proper permission level (administrators and editors) have the ability to delete a post, page, and/or comments. When you delete the item, it is moved to the trash folder where it will remain for 30 days. link for auto-drafts until they are auto-saved. [36972] #16116
  • Correct and update the Visual and Text editors description in the screen help. [36971] #35479

Embeds

  • Update Twitter oEmbed URL. [36946] #36197
  • Extend the provider list to support moments and timelines from Twitter. [36954] #36197
  • Add support for dai.ly embeds over HTTPSHTTPS HTTPS is an acronym for Hyper Text Transfer Protocol Secure. HTTPS is the secure version of HTTP, the protocol over which data is sent between your browser and the website that you are connected to. The 'S' at the end of HTTPS stands for 'Secure'. It means all communications between your browser and the website are encrypted. This is especially helpful for protecting sensitive data like banking information.. [36951] #36189

Emoji

Media

  • Fix typo in test_image_preserves_alpha_on_rotate(). [36998] #30596
  • Media: Fall back to GD when loading URL in HHVM Imagick. [36996] #35973
  • Progressive enhancementenhancement Enhancements are simple improvements to WordPress, such as the addition of a hook, a new feature, or an improvement to an existing feature. for Imagick; add profiles to whitelist. [36891] #33642, #28634
  • Support Imagick in HHVM. [36916] #35973
  • Merge two error messages and use sprintf() for the method names. [36968] #33642
  • Fix typo introduced in [36887]. [36987] #36230, #36089

Posts, Post Types

  • Call set_url_scheme() consistently on URLs passed through preview_post_link [36926] #35407

Query

Rewrite Rules

  • Allow rewrite rules to work in nested WordPress installations on IIS. [36953] #35558

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.

  • Correct @return annotation for wp_set_object_terms() and related functions. [36896] #36182
  • After [36874], rename $term_id to $tag_ID in wp-admin/edit-tag-form.php. [36969] #34988
  • Fix test related to cap check in get_edit_term_link(). [36986] #35922
  • Improve error handling in get_categories(). [36988] #36227

Themes

Tiny MCE

  • Update to 4.3.8, changelog: https://www.tinymce.com/docs/changelog/#version438-march152016. [37000] #36254
  • Remove unused user setting for wpLink. Remove redundant text and variable from wp_link_dialog(). [36985] #33301
  • Add audible confirmation when a link has been selected or inserted in the editor for both the inline dialog and the modal. Do not auto-search when the URL field is empty or already contains an URL. Remove a few redundant tabindex. [36984] #33301
  • When dragging, prevent error when a range cannot be created at the drop location. [36983] #36229
  • When doing undo/redo with keyboard shortcut, do not focus the inline dialog. Cannot do consecutive undo/redo if the focus is moved away from the editor. [36982] #33301
  • Ensure the inline dialog is in preview mode after updating a link from the (advanced) modal. [36977] #33301
  • Tweak the small animation shown while waiting for wpView data to make it sell CPU intensive. [36976] #33525
  • When searching, do not empty the URL input field when using the arrow keys to highlight items. [36974] #33301

Users

  • Add @since entries to wp_authenticate() and its filters now that the $username parameter can also be an email address. [36992] #9568, #35986

 

Thanks to @celloexpressions, @davidakennedy, @drebbitsweb, @hugobaeta, @iamtakashi, @@iseulde, @adamsilverstein, @afercia, @ahockley, @arush, @azaozz, @boonebgorges, @celloexpressions, @Chouby, @claudiosanches, @danielbachhuber, @DrewAPicture, @DuckDagobert, @ericlewis, @iseulde, @jeremyfelt, @joemcgill, @johnbillion, @johnjamesjacoby, @jorbin, @juliobox, @karmatosed, @markoheijnen, @melchoyce, @mikeschroder, @netweb, @niallkennedy, @obenland, @ocean90, @pento, @programmin, @rachelbaker, @RomSocial, @sebastianpisula, @SergeyBiryukov, @swissspidy, @tywayne, @virgodesign, @westonruter, @wido, @WiZZarD_, and @wonderboymusic for their contributions!

#4-5, #week-in-core