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 [37659-37720]. Here are the highlights:
- 62 commits
- 67 contributors
- 61 tickets created
- 15 tickets reopened
- 80 tickets closed
Ticketticket Created for both bug reports and feature development on the bug tracker. numbers based on trac timeline for the period above. The following is a summary of commits, organized by component.
Code Changes
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)
- Help text improvements. [37680] #34761
- CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings., make the menu items “clear search results” a button. [37679] #36903
Administration
Bootstrap/Load
- Adjust filters added in [37626]. [37690] #34936
- Move
is_ssl()to wp-includes/load.php. [37677] #35844
Bundled Theme
- Twenty Ten: Revert pot changes after update test.[37715]
Canonical
Comments
- Do not flag a comment as a duplicate if the
comment_author_emailis provided but not a match. [37713] #37093 - Fix pagination totals in the response of the inline delete actions when filtering the List Table by comment_type. [37664] #36991
Customize
- Ensure
MediaControlfetches the necessary attachment data for rendering when dynamically added via JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors.. [37701] #36521 - Update server-sent setting validation notifications as changes are entered. [37700] #36944
Editor
- Prevent jumping when using the backspace button in the Text editor in Firefox and IE. [37684] #37072
- quickTags: when the user selects some text by triple-clicking, then wraps it in a tagtag A directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.), and the last selected char is
\n, insert the closing tag before the line break. [37661] #29571 - Adjust the sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. position when moving a postbox from one column to another. [37659] #35230
Embeds
- Fix tests after [37709]. Avoids using
assertNotFalse()which is only available in PHPUnit 4.0 and above. [37710] [37711] #36767 - Improve performance when embedding a post from the current site. [37708] [37709] #36767
Formatting
- Docs: Add extensive documentation to the
remove_accents()DocBlockdocblock (phpdoc, xref, inline docs) outlining the accented characters core replaces. 37669] #34677
General
- After [37702], correct the expected result in
test_size_format(). [37705] #37037 - In
size_format()andwp_convert_bytes_to_hr(), replacekBwithKBfor consistency with other units. [37702] #37037 - Docs: Replace HTTPHTTP HTTP is an acronym for Hyper Text Transfer Protocol. HTTP is the underlying protocol used by the World Wide Web and this protocol defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. links with 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.. [37674] #36993
- Docs: Improve the DocBlock summary for
add_theme_support(). [37673] #32246 - Docs: Add documentation for the variadic second parameter,
$args, accepted byadd_theme_support(). [37672] #37067 - Docs: Improve documentation for the
$featureparameter in the DocBlock foradd_theme_support(). [37671] #32246, #37067
HTTP 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.
I18Ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.
- Revert the test added in [37716], as it causes errors when running the full suite. [37718] #36790
- Adjust the regex in
wp_maybe_decline_date()to handle word boundaries correctly. [37717] #36790 - Add a 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. for
wp_maybe_decline_date(). [37716] #36790 - Add context and translator comments to
Back to %sstrings. [37703] #37095 - In
remove_accents(), add support forde_CHandde_CH_informal. [37698] #37076 - Simplify the WordPress update notice for translators. [37675] #35721
Login and Registration
- Fire
wp_no_robots()inwp_die()only if function exists. This covers cases wherewp_die()is used beforegeneral-template.phpis loaded. [37689] #34401
Media
- Fix rendering of incorrect toolbar in the Edit view. [37678] #36861
- Remove
_wp_upload_dir_baseurl().[37676] #36375
Networks and Sites
- Docs: Update the documentation for
get_site()and theget_sitefilterFilter 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. following the removal of the$outputparameter in [37652]. [37699] #35791 - Use
to_array()method onWP_Siteobjects inwp_get_sites(). [37667] #36717 - Introduce
get_current_network_id(). [37670] #33900 - Tests: Split
get_blog_details()test into individual tests [37666] #36566 - Tests: Move
get_blog_details()tests to their own file [37665] #36566 - Tests: User a data provider for
wp_get_sites()tests. [37662] #36566 - Tests: Move
wp_get_sites()tests to their own file [37660] #36566
Permalinks
- Avoid a PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher notice in
get_permalink()if default categoryCategory The ‘category’ taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging. is unavailable. [37707] #36529
Plugins
- Normalize
WP_PLUGIN_DIRin the test added in [37332], otherwise it fails on Windows. [37719] #29154 - Fix edge-case where the tab=upload page can be accessed directly. [37681] #35429
Posts, Post Types
- Docs: Improve the return description for
wp_get_post_categories()to include more information about possible return values. [37686] #37002
Query
- After [37692], don’t skip
set_found_posts()when no posts are found. [37712] #36687 - Allow plugins to supply post results instead of having
WP_Queryfetch them from the database. [37692] #36687 - Docs: Improve first-order clause documentation for the
$meta_queryparameter in the constructor forWP_Meta_Query. [37688] #32659
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.
- Introduce a
redirect_term_locationfilter to change the redirect on term editing. [37696] #36367 - More specific cap check when processing category data on post save. [37691] #36379
- Introduce
term_taxonomy_idparameter forWP_Term_Query. [37683] #37074 - Tests: Move
WP_Tax_Querytests to a more appropriate file. [37682] #37074
Text Changes
Themes
TinyMCE
Upgrade/Install
- Shiny Updates v2. [37714] #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032
- Skip certificate verification when upgrading a networknetwork (versus site, blog)’s sites. This avoids issues with self-signed certificates or otherwise invalidinvalid A resolution on the bug tracker (and generally common in software development, sometimes also notabug) that indicates the ticket is not a bug, is a support request, or is generally invalid. certificates. [37695] #36975
- Trigger the
upgrader_process_completeaction for translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. updates. [37687] #36872
Users
- Embeds: In
WP_oEmbed::get_provider()andWP_oEmbed::get_html(), parse the$argsstring to an array, as we treat it as an array later. [37720] #37071 wp_signon()expects an array as the$credentialsargument, not a string. [37697] #37071- Stop WP_List_Table notices from persisting on pagination navigation. [37663] #35620
Thanks to @flixos90, @adamsilverstein, @AdamSoucie, @afercia, @afragen, @alexvandervegt, @azaozz, @boonebgorges, @dashaluna, @dd32, @dlh, @DrewAPicture, @EFAREM, @ethitter, @flixos90, @grapplerulrich, @Ipstenu, @iseulde, @j-falk, @jeherve, @jeremyfelt, @jipmoors, @jnylen0, @joelwills, @joemcgill, @john_schlick, @johnbillion, @johnjamesjacoby, @johnpgreen, @joostdevalk, @jorbin, @JoshuaGoodwin, @azaozz, @jpdavoutian, @Kau-Boy, @khag7, @kraftbj, @mapk, @melchoyce, @michael-arestad, @obenland, @ocean90, @odysseygate, @pansotdev, @paulwilde, @pento, @peterwilsoncc, @Presskopp, @rachelbaker, @ramiy, @ramiy, @rmccue, @ronalfy, @ryelle, @semil, @SergeyBiryukov, @simonvik, @spacedmonkey, @stephdau, @svovaf, @swissspidy, @TimothyBlynJacobs, @tlovett1, @westonruter, and @zakb8 for their contributions!