A Week in Core – January 8, 2024

Welcome back to a new issue of Week in CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress..
Yes, the Week in Core blogposts are back! 🎉

Well, let’s take a look at what changed on TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between January 1 and January 8, 2024.

  • 19 commits
  • 20 contributors
  • 26 tickets created
  • 2 tickets reopened
  • 21 tickets closed

Ticketticket 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

Build/Test Tools

  • Increase the max old space size in Node – #59805
  • Remove svn debug command – #59805
  • Add a @ticket reference for WP_Customize_Manager::trash_changeset_post() test – #60183
  • 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 post 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. hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. executed when trashing a changeset – #60183
  • Use assertSame() in some newly introduced tests – #59655
  • Use more specific assertions in wp_scheduled_delete() tests – #59938

Customize

  • Pass the previous status to post trash hooks when trashing a changeset – #60183

Docs

  • Add a mention of appearance-tools as a possible value for add_theme_support()#60118
  • Fix typo in twentyten_header_image_height 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.’s docblockdocblock (phpdoc, xref, inline docs)#59651
  • Replace “sanity” with “confidence” for inclusive language – #60187

Editor

  • add CSSCSS Cascading Style Sheets. var parsing for fontSize and fontFamily – #59982
  • add layout classes to legacy Group inner container – #60130
  • add setting to disable layout content and wide size controls – #60133
  • add size and repeat to background image support – #60175

Fonts

  • Fix font_style typo in wp_print_font_faces() – #59858

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. 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.

  • Add explicit handling or failure for all tags – #60092

Site Health

  • Include site ID in debug data on 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 installations – #60081

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.

  • Check for empty term after DB sanitization in wp_insert_term()#59995

Themes

  • Add theme support for appearance tools – #60118

Upgrade/Install

  • Check theme compatibility during bulk upgrades – #59758

Props

Thanks to the 339 people who contributed to WordPress Core on Trac: @mukesh27 (7), @andrewserong (3), @dmsnell (2), @hellofromTonya (2), @noisysocks (1), @ramonopoly (1), @salcode (1), @lakshmananphp (1), @fgiannar (1), @kraftbj (1), @joemcgill (1), @isabel_brison (1), @jonsurrell (1), @flixos90 (1), @sebastienserre (1), @tmatsuur (1), @rajinsharwar (1), @audrasjb (1), @dartiss (1), and @joelcj91 (1).

Congrats and welcome to our new contributor of the week: @lakshmananphp.

Core committers: @sergeybiryukov (8), @isabel_brison (5), @desrosj (2), @jorbin (1), @bernhard-reiter (1), @costdev (1), and @hellofromtonya (1).

#6-5, #core, #week-in-core