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:
- WordPress 4.5 Beta 3 released!
- 111 commits
- 42 contributors
- 87 tickets created
- 12 tickets reopened
- 86 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 Changes
About
- Run
w-logo-white.pngthroughimagemin. [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 inwp-admin/users.php. [36902] #36186 - Use
admin_url()for “Add New” links inwp-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:coretask toprecommit:basefor 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 precommitunit 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
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.jsto 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
fullas the default custom logo size. [36950] #33755
Database
Docs
- The
$update_resultparameter passed toWP_Automatic_Updater::after_core_update()is never aWP_Error. If an error is returned, the error object lives in theresultproperty of the paramter. [36995] #32246 - Re-add a
@paramthat went missing in [36993]. [36994] #32246 - Improvements and corrections for the
$verparameter 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_linkfilterFilter 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_idparameter description in the DocBlock forthe_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_cacheaction, introduced in [36405]. [36922] #35610, #35986 - Improve syntax for the
$lengthsparameter in the hook doc for thewp_get_comment_fields_max_lengthsfilter, 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_argsfilter, introduced in [36235]. [36918] #34442, #35986 - Add a missing DocBlock summary for the
WP_Scripts->print_html_beforeproperty, 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_termanddelete_{$taxonomy}actions in [36080] and a third entry added for theclean_term_cacheaction 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_localesandthemes_update_check_localesfilters, 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
$sizevalue forget_custom_logofilter 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 aWP_Siteobject. [36895] #32450 - Update param/return types for
WP_Siteinms-blogs.php,get_blog_details()now returns aWP_Siteobject.clean_blog_cache()is now called with aWP_Siteobject. [36894] #32450 - Update the return type for
get_current_site()This is now aWP_Networkobject. [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.lyembeds 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
- Upgrade twemoji.js to version 2. [36928] #36059
- Twemoji replacements weren’t working in TinyMCE after [36816]. [36927] #35300
- Fix typo in wp-emoji.js. [36981] #35977
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
Query
Rewrite Rules
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
@returnannotation forwp_set_object_terms()and related functions. [36896] #36182 - After [36874], rename
$term_idto$tag_IDinwp-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
- Twenty Thirteen, Twenty Fourteen and Twenty Fifteen: Fixes #34033 [36999] #34033
- Twenty Fifteen: Simplify
twentyfifteen_the_custom_logo(). [36943] #35944 - Twenty Fifteen: add support for site logos [36913] #35944
- Twenty Thirteen: Removes title attribute from footer [36956] #35843
- Twenty Eleven: Captioned image fix for editor [36957] #33153
- Support second argument in theme support for custom logo. [36909] #33755
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
@sinceentries towp_authenticate()and its filters now that the$usernameparameter 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!