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 June 12 and June 19, 2023.
- 41 commits
- 61 contributors
- 66 tickets created
- 7 tickets reopened
- 40 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
Build/Test Tools
- Revert accidental change to .env – #50523
- Add
@covers
annotation to wp_set_object_terms()
tests – #57841
- Various term related test improvements – #57841
Bundled Themes
- Fix Twenty Fourteen button 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. line-height – #58444
- Remove
load_theme_textdomain()
calls from default themes – #58318
- Twenty Seventeen: Improve Grid View variation rendering in the editor for the Post List block – #58531
Cache 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.
- Remove unused
usermeta
global cache group – #58175
Coding Standards
- Use strict comparison in
wp-includes/class-wp-list-util.php
– #57839
- Use strict comparison in
wp-includes/class-wp-oembed.php
– #57839
- Use strict comparison in
wp-includes/pomo/entry.php
– #57839
- Use strict comparison in
wp-includes/pomo/mo.php
– #57839
- Use strict comparison in
wp-includes/pomo/streams.php
– #57839
- Use strict comparison in
wp-includes/pomo/translations.php
– #57839
Docs
- Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
- Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
- Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
- Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840
Editor
- Skip file_exist check for core blocks. – #58385
- use
layout.wideSize
as max viewport width – #58522
- use logarithmic scale for fluid typography – #58523
- Fix lint issues in WP_Theme_JSON::sanitize method – #58462
- Ignore unregistered block style variations from
theme.json
– #58462
Filesystem API
- Attempt to create directory in
copy_dir()
– #41855
Formatting
- Support aria content attributes – #55370
General
- Replace some instances of “blog (versus network, site)” with “site” in documentation, translator comments, and user-facing text strings – #58117
- fix
overridden
typos – #58464
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.
- Allow to short-circuit
load_textdomain()
– #58035
KSES
- Add support for CSS Cascading Style Sheets.
repeat()
function – #58551
Media
- Deprecate the ‘edit_custom_thumbnail_sizes’ 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. and disable the “Apply changes to [Thumbnail|All|All except thumbnail]” UI User interface in the image editor. Add a (boolean) filter to reenable that UI – #57685
- Display the “Copy URL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org” and “Download file” row actions when the “Unattached” filter is applied – #57890, #57893
- Redirect deprecated
wp-admin/media.php
file – #57612
- Remove duplicate
div
containers – #50523
- Update admin (and super admin) image editor design – #50523
Posts, Post Types
- Introduce
item_trashed
post type label – #51387
Script Loader
- Add a check to see in style is registered in wp_maybe_inline_styles – #58394
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.
- Prevent deprecation notices clearing terms – #57923
Themes
- Change the order of path check in is_block_theme method – #58520
- Fix caching issue in get_post_templates method in
WP_Theme
– #57886
- Inline render blocking CSS
classic-themes.css
– #58480
- add wp_get_remote_theme_patterns function – #58460
Upgrade/Install
- Log in link should look like a link – #40470
Props
Thanks to the 61 people who contributed to WordPress Core on Trac last week:
@costdev (12), @sergeybiryukov (11), @afercia (9), @poena (7), @audrasjb (7), @peterwilsoncc (6), @spacedmonkey (6), @aristath (6), @joedolson (5), @oglekler (4), @azaozz (4), @mukesh27 (3), @sabernhardt (3), @kebbet (3), @swissspidy (2), @joemcgill (2), @ntsekouras (2), @nrqsnchz (2), @NekoJonez (2), @antpb (2), @isabel_brison (2), @prashantbhivsane (2), @nihar007 (2), @piyushtekwani (1), @algorithmsunlocks (1), @mayur8991 (1), @flixos90 (1), @adamsilverstein (1), @nkeller15 (1), @drw158 (1), @chaion07 (1), @ocean90 (1), @chouby (1), @karmatosed (1), @james-roberts (1), @jrf (1), @talldanwp (1), @nidhidhandhukiya (1), @crs1138 (1), @johnbillion (1), @ignatggeorgiev (1), @pbiron (1), @ramonopoly (1), @ramonopoly.
(1), @Aristath (1), @kapilpaul (1), @oandregal (1), @krupalpanchal (1), @jorbin (1), @pamprn09 (1), @rianrietveld (1), @maniu (1), @hellofromTonya (1), @caraffande (1), @zunaid321 (1), @rsiddharth (1), @ryokuhi (1), @nataliat2004 (1), @xavortm (1), @menakas (1), @dd32 (1)
.
Congrats and welcome to our 9 new contributors of the week: @prashantbhivsane, @piyushtekwani, @algorithmsunlocks, @mayur8991, @nkeller15, @crs1138, @maniu, @caraffande, @nataliat2004 ♥️
Core committers: @sergeybiryukov (9), @peterwilsoncc (6), @joedolson (6), @spacedmonkey (5), @audrasjb (5), @isabel_brison (3), @oandregal (3), @swissspidy (2), @johnbillion (1), @azaozz (1).
#6-3, #core, #week-in-core