Welcome back to a new issue of Week in Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on Trac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between January 8 and January 15, 2024.
- 37 commits
- 64 contributors
- 51 tickets created
- 6 tickets reopened
- 58 tickets closed
Ticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.
Code changes
Administration
- 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): Improve color contrast of the Copy buttons success message – #60140
- Introduce
new_admin_email_subject
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. – #59250
- Remove 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. attribute
maxlength
on number
input – #40610
Bundled Themes
- Add missing text domain to various block Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. patterns. – #60245
- Twenty Seventeen: Fix wrong text-domain introduced in [57281] – #60245
- Twenty Seventeen: Revert usage of
str_contains()
in theme files – #60241
- Twenty Twenty-One: Revert usage of
str_contains()
in theme files – #60241
- Twenty Twenty: Revert usage of
str_contains()
in theme files – #60241
Comments
- Use
post_password_required()
for comment capability checks – #59929
Customize
- Correct a typo in a console warning message – #60222
Docs
- Add a mention of
appearance-tools
as a possible value for add_theme_support()
– #60118
- Correct some typos in docblocks and inline comments – #60069, #59651
- Fix wrong inline comment in
delete_theme()
– #60246, #59651
- Improve
wp_admin_notice()
function docblock (phpdoc, xref, inline docs) – #59887
Editor
- Allow default duotone styles if not explicitly disabled in theme.json JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. – #60136
- Clarify single post and page template descriptions – #60216
- add CSS Cascading Style Sheets. var parsing for fontSize and fontFamily – #59982
- add size and repeat to background image support – #60175
- fix inline comment formatting – #60134
- output palette presets when appearance tools or border are enabled – #60134
- update npm packages in trunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision. for 6.4.3 – #59943, #59943
HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. 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.
- Add support for list elements – #60215
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.
- Cache list of language file paths in
WP_Textdomain_Registry
– #58919
JavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/.
Media
- Fix handling of multibyte exif description metadata – #58082
- Fix inaccurate docs for
wp_attachment_is()
– #59698
Modules API
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.
- Check for empty term after DB sanitization in
wp_insert_term()
– #59995
Tests
- Add hook priority call order tests – #60193
- Correct the
@group
annotation in some tests – #59647
- Fix tests following r57265 – #60216
- Move
wp_parse_list()
tests to their own file – #59647
- Remove some leftover debugging in
WP_REST_Revisions_Controller
tests – #59875
Themes
- Add theme support for appearance tools – #60118
Upgrade/Install
- Check theme compatibility during bulk upgrades – #59758
Upgrade/Install
- Fix JavaScript localization on install page – #58696
Users
- Remove periods in checkbox labels for consistency – #43814
Props
Thanks to the 64 people who contributed to WordPress Core on Trac: @mukesh27 (7), @joedolson (5), @andrewserong (5), @poena (4), @sabernhardt (3), @swissspidy (2), @costdev (2), @audrasjb (2), @wildworks (2), @jonsurrell (2), @mikachan (2), @benniledl (2), @Presskopp (2), @noisysocks (2), @mreishus (1), @NekoJonez (1), @jornp (1), @MadtownLems (1), @johnbillion (1), @alexanderkoledov (1), @shooper (1), @Marc_J (1), @nikmeyer (1), @xlthlx (1), @devmuhib (1), @nuhel (1), @shailu25 (1), @tmatsuur (1), @pratikthink (1), @nirav7707 (1), @Arena94 (1), @afercia (1), @luisherranz (1), @idad5 (1), @neffff (1), @joemcgill (1), @jorbin (1), @flixos90 (1), @gziolo (1), @westonruter (1), @fotodrachen (1), @antpb (1), @mikinc860 (1), @azaozz (1), @nicolefurlan (1), @bernhard-reiter (1), @jayadevankbh (1), @alexstine (1), @isabel_brison (1), @czapla (1), @andraganescu (1), @joen (1), @ellatrix (1), @youknowriad (1), @ntsekouras (1), @hellofromTonya (1), @dd32 (1), @valendesigns (1), @drrobotnik (1), @ramonopoly (1), @salcode (1), @lakshmananphp (1), @fgiannar (1), and @kraftbj (1).
Congrats and welcome to our 8 new contributors of the week: @benniledl, @alexanderkoledov, @Marc_J, @nikmeyer, @xlthlx, @idad5, @fotodrachen, @jayadevankbh ♥️
Core committers: @sergeybiryukov (10), @isabel_brison (6), @audrasjb (5), @joedolson (5), @swissspidy (2), @bernhard-reiter (2), @costdev (2), @jorbin (2), @afercia (1), @dmsnell (1), and @hellofromtonya (1).
#6-5, #core, #week-in-core