Welcome back the latest issue of Week in Core 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
Ticket 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
Accessibility 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
- Customizer 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
- Set a defined line-height for number type inputs to fix display issue in Safari. [37693] #37024
Bootstrap/Load
Bundled Theme
- Twenty Ten: Revert pot changes after update test.[37715]
Canonical
- Do not flag a comment as a duplicate if the
comment_author_email
is 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
MediaControl
fetches the necessary attachment data for rendering when dynamically added via JS 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 tag 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 sidebar 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
- Docs: Add extensive documentation to the
remove_accents()
DocBlock (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()
and wp_convert_bytes_to_hr()
, replace kB
with KB
for consistency with other units. [37702] #37037
- Docs: Replace HTTP 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 HTTPS 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 by add_theme_support()
. [37672] #37067
- Docs: Improve documentation for the
$feature
parameter in the DocBlock for add_theme_support()
. [37671] #32246, #37067
HTTP API 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.
I18N 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 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 %s
strings. [37703] #37095
- In
remove_accents()
, add support for de_CH
and de_CH_informal
. [37698] #37076
- Simplify the WordPress update notice for translators. [37675] #35721
Login and Registration
- Fire
wp_no_robots()
in wp_die()
only if function exists. This covers cases where wp_die()
is used before general-template.php
is loaded. [37689] #34401
Networks and Sites
- Docs: Update the documentation for
get_site()
and the get_site
filter 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 $output
parameter in [37652]. [37699] #35791
- Use
to_array()
method on WP_Site
objects in wp_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 PHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 7.4 or higher notice in
get_permalink()
if default category 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_DIR
in 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_Query
fetch them from the database. [37692] #36687
- Docs: Improve first-order clause documentation for the
$meta_query
parameter in the constructor for WP_Meta_Query
. [37688] #32659
Taxonomy 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_location
filter 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_id
parameter for WP_Term_Query
. [37683] #37074
- Tests: Move
WP_Tax_Query
tests to a more appropriate file. [37682] #37074
Text Changes
- Text Changes: Simplify two strings in
wp_password_change_notification()
. [37704] #35736
Themes
TinyMCE
Upgrade/Install
- Shiny Updates v2. [37714] #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032
- Skip certificate verification when upgrading a network (versus site, blog)’s sites. This avoids issues with self-signed certificates or otherwise invalid 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_complete
action for translation 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()
and WP_oEmbed::get_html()
, parse the $args
string to an array, as we treat it as an array later. [37720] #37071
wp_signon()
expects an array as the $credentials
argument, 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!
#4-6, #week-in-core