A Week in Core – May 8, 2023

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.. 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 May 1 and May 8, 2023.

  • 24 commits
  • 56 contributors
  • 46 tickets created
  • 9 tickets reopened
  • 49 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

  • Fix the permissions that are granted to the SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notifications workflow – #57865
  • Restrict the permissions granted to jobs on GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Actions – #57865

Cache 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 helper function wp_cache_set_last_changed#57905

Code Modernization

  • Replace usage of strpos() with str_starts_with()#58012

Coding Standards

  • Bring more consistency to PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.0 string function polyfills – #57839
  • Remove unnecessary variable escapement in Bookmark Administration API – #58239

Docs

  • Correct and improve inline docsinline docs (phpdoc, docblock, xref) relating to the style engine – #57840
  • Correct the placement of @see tags in WP_HTML_Tag_Processor class – #58254
  • Corrections and improvements to docblocks for global styles, global settings, theme.jsonJSON 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. parsing, and shortcodes – #57840
  • Improve formatting of markup in the docs for WP_HTML_Tag_Processor#57840
  • Miscellaneous formatting corrections to inline docs and whitespace – #57840
  • Remove @return void from various DocBlocks – #57840
  • Update code examples formatting in WP_HTML_Tag_Processor documentation – #58028
  • Various improvements in Bookmark Administration API function descriptions, as per docblocks standards – #57840

Filesystem API

  • Correct and improve the return type documentation for the dirlist() method in WP_Filesystem_Base and its extending classes – #58229, #57840

General

  • Restore strpos() check in wp-admin/load-styles.php#58244, #58012

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API

  • Accumulate shift for internal parsing pointer – #58179
  • Adjust coding style to pass GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ linter – #58250
  • Restore mistakenly-removed content in documentation – #58256, #57840

Help/About

  • Left-align 6.2 about page subheading – #57387

Post Types

  • Add the view_items label to the wp_block post type – #58209

Script Loader

  • Update jQuery version to 3.6.4 to match the current version – #58203, #57324

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.

  • Remove redundant call to get_term in wp_queue_posts_for_term_meta_lazyload#57966

Upgrade/Install

  • Create a temporary backup of plugins and themes before updating – #51857

Props

Thanks to the 56 people who contributed to WordPress Core on Trac last week: @costdev (5), @dmsnell (5), @johnbillion (5), @audrasjb (5), @sergeybiryukov (4), @mukesh27 (4), @desrosj (3), @TobiasBg (3), @spacedmonkey (3), @peterwilsoncc (2), @sabernhardt (2), @dd32 (2), @azaozz (2), @ayeshrajans (1), @mat-lipe (1), @ignatggeorgiev (1), @shagors (1), @johnjamesjacoby (1), @tillkruess (1), @amin7 (1), @pavanpatil1 (1), @szepeviktor (1), @jorbin (1), @nickpap (1), @dhrumilk (1), @flixos90 (1), @DigTek (1), @zieladam (1), @jrf (1), @utsav72640 (1), @lgadzhev (1), @thisisyeasin (1), @juanmaguitar (1), @davidbaumwald (1), @mikeschroder (1), @afragen (1), @pbiron (1), @hellofromTonya (1), @aristath (1), @TJNowell (1), @bronsonquick (1), @Clorith (1), @poena (1), @TimothyBlynJacobs (1), @a2hosting (1), @chaion07 (1), @KZeni (1), @galbaras (1), @richards1052 (1), @Boniu91 (1), @mai21 (1), @francina (1), @coffee2code (1), @noisysocks (1), @dlh (1), @joemcgill (1).

Congrats and welcome to our 5 new contributors of the week: @shagors, @nickpap, @DigTek, @lgadzhev, @thisisyeasin ♥️

Core committers: @sergeybiryukov (7), @johnbillion (7), @audrasjb (5), @bernhard-reiter (2), @spacedmonkey (2), @afercia (1).

#6-3, #core, #week-in-core

A Week in Core – May 1, 2023

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.. 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 April 24 and May 1, 2023.

  • 7 commits
  • 21 contributors
  • 50 tickets created
  • 3 tickets reopened
  • 38 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

Coding Standards

  • Remove an empty else statement in dbDelta()#56982

Editor

  • Improve the 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.) field loading spinner alignment – #58136

General

  • Don’t pass $action to wp_get_session_token() in wp_create_nonce()#58181

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.

  • Use correct translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. function in wp-admin/includes/media.php#58138

Text Changes

  • Typo fix in README.md#58177

Themes

  • Improve performance of get_block_templates()#57756
  • Remove unused parameter in query for get_block_templates()#57736

Props

Thanks to the 21 people who contributed to WordPress Core on Trac last week: @audrasjb (3), @mukesh27 (2), @sergeybiryukov (2), @hellofromTonya (2), @neychok (1), @vladytimy (1), @mujuonly (1), @dd32 (1), @hztyfoon (1), @malavvasita (1), @davidbaumwald (1), @draganescu (1), @youknowriad (1), @flixos90 (1), @Presskopp (1), @jorgefilipecosta (1), @spacedmonkey (1), @brookedot (1), @krunal265 (1), @costdev (1), and @krupalpanchal (1).

Core committers: @audrasjb (3), @sergeybiryukov (2), and @oandregal (2).

#6-3, #core, #week-in-core

A Week in Core – April 24, 2023

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.. 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 April 17 and April 24, 2023.

  • 27 commits
  • 36 contributors
  • 51 tickets created
  • 6 tickets reopened
  • 53 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/Tests Tools

  • Correct the expected quotes in get_comment_author_url_link() tests – #57839

Bundled Themes

  • Twenty Nineteen: Fix a translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. issue in Comments navigation text – #58149

Coding Standards

  • Escape edit profile URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in default_password_nag()#58182
  • Remove unused $key variable in wp-admin/network/sites.php#57839
  • Update code layout in default_password_nag() for readability – #57839
  • Use more meaningful variable names in various comment functions – #57839
  • Use strict comparison in wp-admin/includes/class-wp-ms-sites-list-table.php#58139
  • Use strict comparison in wp-admin/includes/class-wp-site-icon.php#57839
  • Use strict comparison where strtolower() is involved – #57839
  • Use strict comparison where trim() is involved – #57839

Docs

  • Use third-person singular verbs for WP_Importer related function descriptions, as per docblocks standards – #57840
  • Use third-person singular verbs in various function descriptions, as per docblocks standards – #57840

Editor

  • Add selectors field to blockBlock 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. type definition – #57585

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 support for a few 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. HTML comment forms – #58007
  • Ensure attribute updates happen only once for case variants – #58146
  • Fix a case where updates are overlooked when seeking to earlier locations – #58160
  • Update code style so it passes when backported into GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/#58170

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.

  • Use correct translation function in wp-admin/includes/media.php#58138

Networks and Sites

  • Simplify the check for main site on Networknetwork (versus site, blog) Adminadmin (and super admin) → Sites screen – #58150
  • Use is_main_site() in a few more places – #58150

Script Loader

  • Improve code style and readability in _wp_normalize_relative_css_links()#58069
  • Optimize performance of _wp_normalize_relative_css_links() by more than 2x – #58069, #54243

Security

  • Update GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ security policy to refer to H1 – #57937

Site Health

  • Bump the recommended MariaDB version to 10.4 – #58158

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.

  • Always lazily load term metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress.#57645

Users

  • Cache database queries within WP_User_Query class – #40613
  • Change cache group from users-queries to user-queries#40613

Props

Thanks to the 36 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (6), @mukesh27 (4), @dmsnell (4), @spacedmonkey (4), @peterwilsoncc (3), @audrasjb (3), @afercia (3), @poena (3), @aristath (3), @mujuonly (2), @costdev (2), @hellofromTonya (2), @krupalpanchal (2), @pouicpouic (2), @jbcouton (1), @jankyz (1), @flixos90 (1), @rjasdfiii (1), @khoipro (1), @OllieJones (1), @srikanthmeenakshi (1), @strategio (1), @dd32 (1), @westi (1), @zieladam (1), @johnjamesjacoby (1), @JavierCasares (1), @ecorica (1), @westonruter (1), @vladytimy (1), @desrosj (1), @aaronrobertshaw (1), @ntsekouras (1), @utsav72640 (1), @laurentmagnin (1), and @sabernhardt (1).

Congrats and welcome to our 4 new contributors of the week: @pouicpouic, @jbcouton, @ecorica, @laurentmagnin ♥️

Core committers: @sergeybiryukov (11), @audrasjb (5), @spacedmonkey (3), @zieladam (2), @bernhard-reiter (2), @gziolo (1), @peterwilsoncc (1), @azaozz (1), and @westonruter (1).

#6-3, #core, #week-in-core

Dev Chat Summary, April 19, 2023

The WordPress Developers Chat meeting took place on April 19, 2023 at 20:00 UTC in the core channel of Make WordPress Slack.

Key Links

Announcements

  • What’s new in Gutenberg 15.6? (19 April): Check out the post for details on what’s new in this latest GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ release.

Highlighted Posts

Here’s the activity in TracTrac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between April 10 and April 17, 2023:

  • 13 commits
  • 33 contributors
  • 39 tickets created
  • 4 tickets reopened
  • 27 tickets closed
  • and 6 new contributors 🎉

Maintainers: Component Help Requests

For the Upgrade/Install component, @costdev provided the following updates:

  • Rollback: Waiting on confirmation from @azaozz that there are no blockers for alpha commit.
  • PluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party Dependencies: Waiting on @dd32 / @otto42 to confirm that the current PR for Plugin Dependencies contains nothing of concern for WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/, and that Plugin Dependencies Part 2 is the bit that still needs more discussion/investigation.

Open Floor

6.2.1 Planning

@jeffpaul asked if there had been discussion on timing and focus for the 6.2.1 minor releaseMinor Release A set of releases or versions having the same minor version number may be collectively referred to as .x , for example version 5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (five dot two) branch of that software. Minor Releases often make improvements to existing features and functionality.. @costdev provided a couple of links (1, 2) from the #6-2-release-leads channel that called for a small squad of volunteers to lead the release. In the comment, @audrasjb suggested 6.2.1 RC1 on May 9, followed by final release on May 16, and asked for input. @ironprogrammer directed volunteers to reply in the #6-2-release-leads channel.

There were no further topics raised, so the meeting wrapped up early.

Next Meeting

The next meeting will be on April 26, 2023 at 20:00 UTC.

Are you interested in helping draft Dev Chat summaries? Volunteer at the start of the next meeting on the #core Slack channel.

Props @costdev for peer review of this summary, and to everyone who contributed in today’s Dev Chat.

#6-3, #6-2, #dev-chat, #meeting, #summary

A Week in Core – April 17, 2023

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.. 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 April 10 and April 17, 2023.

  • 13 commits
  • 33 contributors
  • 39 tickets created
  • 4 tickets reopened
  • 27 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

Bundled Themes

  • Twenty Nineteen: Fix a translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. issue in Comments navigation text – #58149

Coding Standards

  • Rename the $myHTML parameter to $text in htmlentities2()#58129
  • Rename the $qtInit and $mceInit variables in _WP_Editors#57839
  • Use strict comparison in wp-admin/includes/class-wp-ms-sites-list-table.php#58139
  • Use strict comparison in wp-admin/maint/repair.php#57839
  • Use strict comparison in wp-includes/http.php#57839
  • Use strict comparison where strlen() is involved – #57839
  • Use strict comparison where substr() is involved – #57839
  • Use strict comparison where trim() is involved – #57839

Docs

  • Revise comments using “we” in various docblocks – #57052

Media

Users

  • Cache database queries within WP_User_Query class – #40613

Props

Thanks to the 33 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (7), @aristath (5), @afercia (5), @poena (5), @audrasjb (3), @jrf (2), @annebovelett (1), @leamcaleese (1), @majaloncar (1), @antpb (1), @costdev (1), @kebbet (1), @joedolson (1), @adamsilverstein (1), @trepmal (1), @victoranto (1), @johnjamesjacoby (1), @sabernhardt (1), @spacedmonkey (1), @krupalpanchal (1), @jankyz (1), @mujuonly (1), @peterwilsoncc (1), @mukesh27 (1), @flixos90 (1), @rjasdfiii (1), @khoipro (1), @OllieJones (1), @srikanthmeenakshi (1), @strategio (1), @dd32 (1), @westi (1), and @azouamauriac (1).

Congrats and welcome to our 6 new contributors of the week: @annebovelett, @leamcaleese, @majaloncar, @victoranto, @jankyz, @srikanthmeenakshi ♥️

Core committers: @sergeybiryukov (8), @audrasjb (3), @spacedmonkey (1), and @joedolson (1).

#6-3, #core, #week-in-core

Two Weeks in Core – April 3, 2023

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.. 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 March 20 and April 3, 2023. Sorry for not being able to publish a post last week, this one will cover two weeks!

  • 38 commits
  • 76 contributors
  • 120 tickets created
  • 19 tickets reopened
  • 86 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

Administration

  • Update dashboard welcome panel colors, remove broken link – #57759

Build/Test Tools

  • Fix issue with add method in object-cache.php – #57963
  • Add a@ticketreference forwp_list_pages()CSSCSS Cascading Style Sheets. classes test – #57841
  • Consistently sanitize expiration in the test suite’s Memcached implementation – #57841, #57963
  • Fix tests introduced in [55612]#57814
  • Improveget_pages()tests organization – #57841
  • Movewp_dropdown_pages()tests to their own file – #57841
  • Move thewp_list_pages()test for CSS classes to a more appropriate place – #57841
  • Rename test class and improve tests for wp_get_global_stylesheet() – #57841, #57958
  • Split the tests frompost/template.phpinto individual test classes – #57841

Code Modernization

Coding Standards

  • Apply various alignment corrections fromcomposer format#57994
  • Correct the closing PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 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.) placement in some adminadmin (and super admin) files – #58053
  • Escape some variables inwp-admin/includes/nav-menu.php#57110
  • Escape the whole attributes inwp-admin/includes/nav-menu.php#57110
  • Remove unused variable inWP_Plugins_List_Table::single_row()#55132
  • Use strict comparison inwp-admin/includes/nav-menu.php#57318
  • Use strict comparison inwp-admin/includes/user.php#57317
  • Use the correct variable – #57318

Comments

  • Use correct escaping function inget_cancel_comment_reply_link()#58025
  • Use wp_cache_get_multiple inWP_Comment_Query#57803

Date/Time

Docs

  • Add missing@returntag forWP_Automatic_Updater::is_disabled()#57680
  • Clarify the::hide_process_failed()return value in pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party and theme installer – #57680
  • Document default values for optional parameters inwp_insert_attachment()#58043
  • Use typed array notation forsearch_columnsinWP_Query::parse_query()#57996

Editor

General

  • Remove Windows Live Writer manifest file – #41404

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.

  • Addhas_self_closing_flag()to Tag Processor – #58009

Help/About

  • Add Field GuideField guide The field guide is a type of blogpost published on Make/Core during the release candidate phase of the WordPress release cycle. The field guide generally lists all the dev notes published during the beta cycle. This guide is linked in the about page of the corresponding version of WordPress, in the release post and in the HelpHub version page. link – #57998
  • Make Field Guide link translatable – #57477
  • Updates to About page – #57477

Login and Registration

Options, MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs

  • Improve the lazy loading meta API to include current object id – #57901

Posts, Post Types

  • Use WP_Query internally in get_pages – #12821

Script Loader

  • Return early in _wp_theme_json_webfonts_handler if theme.jsonJSON 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. not present – #57814

Upgrade/Install

  • Include the removed Windows Live Writer manifest in$_old_files#41404

Props

Thanks to the 76 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (9), @spacedmonkey (6), @costdev (6), @hellofromTonya (6), @jrf (5), @mukesh27 (4), @flixos90 (4), @peterwilsoncc (4), @audrasjb (3), @desrosj (3), @ocean90 (3), @patelmohip (2), @jenilk (2), @johnbillion (2), @sabernhardt (2), @davidbaumwald (2), @laurlittle (2), @richtabor (2), @akmelias (2), @sakibmd (2), @ankitmaru (1), @wlindley (1), @ayeshrajans (1), @azouamauriac (1), @mikeschinkel (1), @nacin (1), @scribu (1), @filosofo (1), @jane (1), @garyc40 (1), @markoheijnen (1), @grandslambert (1), @kevinB (1), @dbernar1 (1), @ryokuhi (1), @atimmer (1), @mdawaffe (1), @helen (1), @benjibee (1), @joemcgill (1), @andraganescu (1), @get_dave (1), @mamaduka (1), @ntsekouras (1), @scruffian (1), @talldanwp (1), @jhabdas (1), @ironprogrammer (1), @tillkruess (1), @francina (1), @chintan1896 (1), @zenaulislam (1), @javiercasares (1), @oglekler (1), @clorith (1), @eboxnet (1), @wpfy (1), @vladytimy (1), @reputeinfosystems (1), @Rarst (1), @priethor (1), @nekojonez (1), @markjaquith (1), @codingchicken (1), @cbringmann (1), @tmatsuur (1), @joostdevalk (1), @faisalahammad (1), @zieladam (1), @dmsnell (1), @wtranch (1), @polevaultweb (1), @azaozz (1), @Frank Klein (1), @antonvlasenko (1), and @thomask (1).

Congrats and welcome to our 8 new contributors of the week: @patelmohip, @akmelias, @wlindley, @grandslambert, @benjibee, @wpfy, @reputeinfosystems, @wtranch ♥️

Core committers: @sergeybiryukov (20), @spacedmonkey (6), @hellofromtonya (6), @audrasjb (2), @ryelle (2), @bernhard-reiter (1), and @dd32 (1).

#6-2, #core, #week-in-core

A Week in Core – March 20, 2023

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.. 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 March 13 and March 20, 2023.

  • 30 commits
  • 70 contributors
  • 51 tickets created
  • 4 tickets reopened
  • 46 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

Administration

  • Define the $title global on the Menus screen for classic themes – #57918
  • Update dashboard welcome panel colors, remove broken link – #57759

Build/Test Tools

  • Fix issue with add method in object-cache.php – #57963
  • Revert [55553]#57864
  • Add test class for wp_enqueue_stored_styles()#57841
  • Add test class for wp_script_is()#57841, #57958
  • Improve documentation and variable names in some formatting tests – #57841
  • Rename test class and improve tests for wp_get_global_stylesheet() – #57841, #57958
  • Use the data_ prefix for various data provider methods – #57841

Cache 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 a warning when calling _get_non_cached_ids with 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. ids – #57593
  • Correct the second parameter’s name in _get_non_cached_ids()#40420

Code Modernization

Coding Standards

  • Remove unused variable in WP_Plugins_List_Table::single_row()#55132
  • Remove unused variables in WP_Comment_Query#57482
  • Use single quotes for strings without variables in register_block_style_handle()#57903

Date/Time

  • Remove usage of mysql2date in generate_postdata method – #57683

Docs

  • Fix typo in _validate_cache_id() description – #57593

Editor

  • Correctly load RTL stylesheets for non-core blocks – #57903
  • Show scheduled text when changing to new future dates – #31040
  • Update wordpress packages for 6.2 RC2 – #57471#57895
  • Update wordpress packages for 6.2 RC3 – #57471, #57929

External Libraries

  • Upgrade PHPMailer to version 6.8.0 – #57873

Filesystem API

  • Return false for empty paths in FTPFTP FTP is an acronym for File Transfer Protocol which is a way of moving computer files from one computer to another via the Internet. You can use software, known as a FTP client, to upload files to a server for a WordPress website. https://codex.wordpress.org/FTP_Clients. ::exists() methods – #33058

HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API

  • Add bookmark invalidation logic – #57788

Help/About

  • Add CDN images to About page – #57477
  • Updates to About page – #57477

KSES

  • Allow filter property to accept a URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in safecss_filter_attr()#57780

Posts, Post Types

  • Use WP_Query internally in get_pages – #12821

Quick/Bulk Edit

  • Show scheduled in status for future drafts – #38834

Widgets

  • Defer register inline script in WP_Widget_Custom_HTML and WP_Widget_Text#57864

Props

Thanks to the 70 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (8), @costdev (7), @hellofromTonya (6), @spacedmonkey (6), @flixos90 (4), @richtabor (3), @peterwilsoncc (3), @antonvlasenko (2), @audrasjb (2), @azaozz (2), @scruffian (2), @mamaduka (2), @ironprogrammer (2), @laurlittle (2), @jrf (2), @sabernhardt (2), @mkox (1), @joedolson (1), @ipstenu (1), @MrFlannagan (1), @oglekler (1), @upadalavipul (1), @dingo_d (1), @Rarst (1), @ayeshrajans (1), @Synchro (1), @Zdrobau (1), @tyxla (1), @dd32 (1), @pbiron (1), @mukesh27 (1), @bernhard-reiter (1), @dmsnell (1), @zieladam (1), @sakibmd (1), @westonruter (1), @nendeb55 (1), @david.binda (1), @tillkruess (1), @tobifjellner (1), @sdavis2702 (1), @jeryj (1), @markjaquith (1), @dbernar1 (1), @azouamauriac (1), @mikeschinkel (1), @nacin (1), @scribu (1), @filosofo (1), @jane (1), @garyc40 (1), @markoheijnen (1), @grandslambert (1), @kevinB (1), @wlindley (1), @atimmer (1), @ryokuhi (1), @mdawaffe (1), @helen (1), @benjibee (1), @johnbillion (1), @joemcgill (1), @andraganescu (1), @get_dave (1), @ntsekouras (1), @desrosj (1), @talldanwp (1), @thomask (1), @johnjamesjacoby (1), and @davidbaumwald (1).

Congrats and welcome to our 6 new contributors of the week: @MrFlannagan, @Zdrobau, @grandslambert, @wlindley, @benjibee, @thomask ♥️

Core committers: @sergeybiryukov (12), @hellofromtonya (7), @spacedmonkey (6), @ryelle (3), and @joedolson (2).

#6-2, #core, #week-in-core

A Week in Core – February 27, 2023

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.. 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 February 20 and February 27, 2023.

  • 45 commits
  • 103 contributors
  • 50 tickets created
  • 7 tickets reopened
  • 64 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

Administration

  • Move wp-theme-plugin-editor script before – #57073

Bootstrap/Load

  • Check that either mysqli_connect() or mysql_connect() is available – #51988

Build/Test Tools

  • Add test coverage for the get_posts_navigation() function – #55751
  • Remove duplicate DocBlockdocblock (phpdoc, xref, inline docs) opening characters in tests/theme/wpTheme.php#56792

Bundled Themes

  • Twenty Seventeen: Mark one more screen reader string with a translator comment – #29748
  • Twenty Twenty: Avoid PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher warnings in 8.1 due to incorrect usage of wp_add_inline_style()#57777

Coding Standards

  • Use strict comparison in bundled themes’ PHP files – #56791

Comments

  • Prevent replying to unapproved comments – #53962
  • Restore global $comment assignment in comment_form_title() – #53962

Database

  • Remove the check for sitecategories table on Database Repair screen – #57762

Docs

  • Correct duplicate hook reference for notify_moderator#57808
  • Document default values for optional parameters in various DocBlocks – #56792
  • Fix erroneous since mention in wp_internal_hosts hook – #57796

Editor

  • Fix ‘wp-blockBlock 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.-library-theme’ style enqueue conditions – #57561
  • Fix 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. parameters being passed to wp_register_style()#57771, #56990, #57688
  • Update the WP packages with fixes prior to WP 6.2 betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. 3 – #57471

Formatting

  • Add aspect-ratio tests for safecss_filter_attr()#57664

General

  • Add more error checking to WP_List_Util::pluck()#56650

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.

  • Fix finding bookmarks set on closing 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.) WP_HTML_Tag_Processor – #57787, #57575
  • Set $this->html to protected to support subclassing – #57575
  • Add fragment support to WP_Http::make_absolute_url()#56231

Help/About

  • Avoid extra redirections on HelpHub Links – #57726
  • Avoid extra redirections on HelpHub Links – #57726
  • Restore the correct URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for Editing Files article on Edit Themes screen – #57726
  • Use a consistent capitalization for “Support forums” links across WP Adminadmin (and super admin)#57726
  • Use a consistent capitalization for “Support forums” links across WP Admin – #57726
  • Use the new /documentation/ URLs for HelpHub links in Bundled Themes – #57726
  • Use the new /documentation/ URLs for HelpHub links in WordPress Admin – #57726

Mail

  • Fix character encoding issues in PluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party/Theme background update emails – #56964

Media

  • Add WP_Image_Editor_Imagick::set_imagick_time_limit() method – #52569

Networks and Sites

  • Fix the attributes for the email input field on the new networknetwork (versus site, blog) user screen – #38460
  • Remove confusing upper case for option names on Edit Site: Settings screen – #50572
  • Use consistent markup for admin notices – #39213

Posts, Post Types

  • Pass the post object to _update_posts_count_on_delete()#57023

RevisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.

  • Remove an unnecessary call to _doing_it_wrong() and corresponding new text string from the implementation of the new wp_save_post_revision_revisions_before_deletion 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.#57320

Site Health

  • Use PasswordHash API directly when validating keys – #56787

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.

  • Rename temporary variable in wp_queue_posts_for_term_meta_lazyload()#57150

Themes

  • Account for a numeric theme directory in WP_Theme::__construct()#54645
  • Add 3 and update 2 shadow presets in theme.json#57708, #57559

Toolbar

  • Update the URL for Documentation link in the admin bar – #57726

Upgrade/Install

  • Introduce WP_Automatic_Updater::is_allowed_dir() method – #42619

Users

  • Adjust the initialization of the $duplicated_keys array in wp_salt()#57121
  • Fix confirmation link for 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 users with no role – #57164

Widgets

  • Match variable types in rss feedRSS Feed RSS is an acronym for Real Simple Syndication which is a type of web feed which allows users to access updates to online content in a standardized, computer-readable format. This is the feed. link filter – #57594

Props

Thanks to the 103 (!) people who contributed to WordPress Core on Trac last week: @sergeybiryukov (15), @costdev (12), @audrasjb (11), @sabernhardt (9), @hellofromTonya (5), @flixos90 (4), @mukesh27 (4), @dhrupo (3), @poena (3), @desrosj (3), @Ankit-K-Gupta (2), @afragen (2), @hellofromtonya (2), @dmsnell (2), @hasanmisbah (2), @sakibmd (2), @jrf (2), @afercia (2), @dd32 (2), @robinwpdeveloper (2), @afrin29 (2), @mamaduka (2), @scruffian (2), @ipajen (2), @johnbillion (2), @richtabor (1), @drzraf (1), @fabiankaegy (1), @priethor (1), @ajlende (1), @jameskoster (1), @oandregal (1), @mtias (1), @kellychoffman (1), @joen (1), @beafialho (1), @antpb (1), @adityaarora010196 (1), @skithund (1), @boniu91 (1), @sc0ttkclark (1), @dimadin (1), @bgin (1), @sannevndrmeulen (1), @ndiego (1), @jffng (1), @glendaviesnz (1), @mikachan (1), @milana_cap (1), @fasuto (1), @Chouby (1), @schlessera (1), @dshanske (1), @ellatrix (1), @ntsekouras (1), @roytanck (1), @calvinalkan (1), @paulkevan (1), @ocean90 (1), @joemcgill (1), @madhudollu (1), @sanketchodavadiya (1), @franz00 (1), @swissspidy (1), @meyegui (1), @markjaquith (1), @spacedmonkey (1), @hugodevos (1), @winterpsv (1), @alvastar (1), @lopo (1), @simongomes02 (1), @robin-labadie (1), @wildworks (1), @chrisbaltazar (1), @sun (1), @geisthanen (1), @joyously (1), @michelmany (1), @jongycastillo (1), @rahmohn (1), @arnolp (1), @pbiron (1), @zieladam (1), @benjgrolleau (1), @afshanadiya (1), @Mista-Flo (1), @adeltahri (1), @stalukder03 (1), @dilipbheda (1), @itsnikhilpatel (1), @paulamit (1), @paulschreiber (1), @zevilz (1), @joedolson (1), @obayedmamur (1), @aryamaaru (1), @jeremyfelt (1), @stevenkword (1), @marksabbath (1), @aristath (1), @chiragrathod103 (1), and @azaozz (1).

Congrats and welcome to our 21 (!!) new contributors of the week: @hasanmisbah, @sakibmd, @adityaarora010196, @fasuto, @calvinalkan, @meyegui, @winterpsv, @alvastar, @simongomes02, @robin-labadie, @chrisbaltazar, @sun, @geisthanen, @michelmany, @jongycastillo, @arnolp, @itsnikhilpatel, @paulamit, @zevilz, @marksabbath, @chiragrathod103 ♥️

Core committers: @sergeybiryukov (15), @audrasjb (14), @hellofromtonya (4), @peterwilsoncc (3), @flixos90 (2), @joedolson (2), @johnbillion (2), @ocean90 (1), @timothyblynjacobs (1), and @gziolo (1).

#6-2, #core, #meta6545, #week-in-core

A Week in Core – February 13, 2023

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.. 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 February 6 and February 13, 2023.

  • 103 commits
  • 165 contributors
  • 71 tickets created
  • 13 tickets reopened
  • 99 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

Administration

  • Close adminadmin (and super admin) menu when focus moves to body – #53587
  • Define the $title global on privacy screens – #57578
  • Fix JavaScriptJavaScript 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/. test failure – #53587
  • Match title 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.) to menu item for Editor – #57654

Application Passwords

  • Allow plain 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. success and reject URLs when using a local environment type – #52617

Build/Test Tools

  • Add a devcontainer for Codespaces support – #57187
  • Add unit tests for wp_set_password hook – #57436
  • Cleanup change to package.jsonJSON 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.
  • Update json2php package – #57535
  • Update npm dependencies for bundled themes – #57535
  • Add missing @covers tag for a wp_update_comment() test – #56793
  • Declare the $post_id property in wp_comments_personal_data_exporter() tests – #56793
  • Move PasswordHash test file to a more appropriate place – #56340
  • Move wp_comments_personal_data_eraser() tests to their own file – #56793
  • Move wp_comments_personal_data_exporter() tests to their own file – #56793
  • Rename the html tests directory to html-api#56793
  • Use assertSameSets() in WP_Query tests for search_columns argument – #43867

Bundled Themes

  • Twenty Fifteen: Bundle Google Fonts locally – #55985
  • Twenty Fourteen: Bundle Google Fonts locally – #55985
  • Twenty Seventeen: Bundle Google Fonts locally – #55985
  • Twenty Sixteen: Bundle Google Fonts locally – #55985
  • Twenty Thirteen: Bundle Google Fonts locally – #55985
  • Twenty Twelve: Bundle Google Fonts locally – #55985
  • Twenty Twelve: Properly reflect text color changes in Table blockBlock 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.#56466
  • Twenty Twenty: Properly reflect text color changes in Quote and Pullquote block – #55990
  • Fix row variation nested in group block – #56226
  • Recommit generated files following [55329]#56226

Coding Standards

  • Add missing escaping function in Custom_Image_Header::show_header_selector()#57638
  • Pass correct value to get_delete_post_link() in attachment_submit_meta_box()#57690
  • Rename $comment_ID variable to $comment_id in various files – #57671, #56791
  • Rename the remaining $cat_ID variables to $cat_id#56754

Comments

  • Allow to pass $comment_ID parameter to comment_time()#52322
  • Allow to pass $comment_ID parameter to get_comment_time()#52322
  • Improve rel attribute usage in comments – #53290, #56444
  • Use correct orderby parameter name in personal data exporter and eraser – #57700

Docs

  • Add a @since note about Twenty Twenty-Three for WP_Theme::$default_themes#57714
  • Correct @since tag for WP_Locale_Switcher::$stack#57123
  • Document possible return values for wp_get_word_count_type()#56698
  • Miscellaneous improvements and corrections to docblocks – #56792
  • Replace short array syntax in WP_HTML_Tag_Processor documentation – #57691
  • Use third-person singular verbs for WP_Meta_Query related function descriptions, as per docblocks standards – #56792
  • Various improvements in XML-RPC Class function descriptions, as per docblocks standards – #56792

Editor

  • Updated the WordPress packages to include GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ 15.1.0 changes – #57471
  • Updates the WordPress packages with all the fixes targetted for WP 6.2 beta1 – #57471
  • Add frontend block-level settings to the core – #57651
  • Add layout controls to children of flex layout blocks – #57584
  • Introduce sticky position block support – #57618
  • Remove “betaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process.” label from Site Editor submenu item – #57654
  • Restores file block button styles for classic themes – #57688
  • Support the block_types and viewport_width props for remote patterns fetched from Pattern Directory – #57611
  • Update wordpress packages for 6.2 Beta 2 – #57471
  • Use WP_HTML_Tag_Processor in wp_render_elements_support()#57642
  • svn add new files missed in [55285]#57618
  • Backportbackport A port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. site editor intialization changes from Gutenberg 15.1 – #57480

Embeds

  • Update YouTube provider for live URLs – #57632
  • Use documented mixcloud.com oembed endpoint – #57376

Emoji

  • Fix emoji feature detection – #57301

External Libraries

  • Prevent a PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1 deprecation notice in PasswordHash::gensalt_blowfish()#56340
  • Update element-closest#52851
  • Update jQuery Migrate to version 3.4.0 – #56743
  • Update miscellaneous libraries to their latest versions – #57646

Feeds

  • Fix various typos in MagpieRSS – #57102

Filesystem 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 test for uncovered WP_Error in move_dir()#57375

Formatting

  • Add aspect-ratio as valid CSSCSS Cascading Style Sheets. property in KSES – #57664
  • Guard wp_strip_all_tags() against fatal errors – #56434
  • Treat math elements as block-level elements – #13340

General

  • Check that set_time_limit() function is available before using it in core – #55711

Help/About

  • Add info about the “View” row action link to the Users screen help tab – #57666

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.

  • Introduce word_count_type property to WP_Locale#56698
  • Mark screen reader strings as such with translator comments – #29748
  • Prevent fatal error in WP_Textdomain_Registry#57218

Login and Registration

  • Set correct default values in wp_signon()#56850

Mail

  • Check that set_time_limit() function is available before using it in class-pop3.php#57659

Media

  • Add test file missed in [55278]#57370
  • Bail early if image is already the requested size – #57370
  • Enable selective optout for video and audio shortcodes – #40144
  • Enhance logic to determine LCP image in block themes and avoid lazy-loading it – #56930
  • Fix focus loss updating custom fields in media modal – #40909
  • Introduce wp_get_attachment_link_attributes 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.#41574
  • Maintain the functionnality of the deprecated WP_Media_List_Table::column_desc() method – #39710
  • Remove unwanted quotation marks for playlist template – #50865
  • Use strict comparison in make_subsize()#57370

Menus

  • Test creating parent after a child doesn’t throw an error – #57122

Options, MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. APIs

  • Add a filter to allow the shortcut return to wp_load_alloptions function – #56045

Permalinks

  • Properly escape strings in Permalinks Settings screen – #57143

Privacy

  • Add rel="privacy-policy" to the Privacy Policy link – #56345

Query

  • Add a search_columns argument to control which fields are searched in a search query – #43867

Quick/Bulk Edit

  • Remove the bulk_edit_posts action for now – #28112

REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/.

  • Remove ‘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. user ID’ error in WP_REST_Users_Controller::update_item() – #56662
  • Support non-Latin characters in template route regex – #57329

RevisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.

  • Add a way to filter the revisions considered for deletion – #57320

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.

  • Implement wp_cache_get_multiple in wp_queue_posts_for_term_meta_lazyload#57150

Themes

  • Add caching to WP_Theme::is_block_theme()#57114
  • Remove local() from @font-face styles in _wp_theme_json_webfonts_handler() – #57430
  • Revert appearance tools theme support – #57649
  • Use add_action for pre_get_posts hook in _add_template_loader_filters()#57097

Toolbar

  • Prevent false positive on automated contrast testing – #56789

Upgrade/Install

  • Skip preloading Requests for WordPress versions before 4.6 – #57662

Users

  • Add support for RoboHash GravatarGravatar Is an acronym for Globally Recognized Avatar. It is the avatar system managed by WordPress.com, and used within the WordPress software. https://gravatar.com/. images in default user profile pics – #57493
  • Change parameters order in send_auth_cookies filter – #56971
  • Pass correct number of arguments to send_auth_cookies filter in wp_clear_auth_cookie()#56971
  • Pass the authentication scheme to the send_auth_cookies filter – #56971
  • Update get_avatar_url() and get_avatar() to include RoboHash support – #57493

Props

Thanks to the 165 (!!) people who contributed to WordPress Core on Trac last week: @costdev (33), @mukesh27 (22), @audrasjb (21), @sergeybiryukov (19), @desrosj (14), @sabernhardt (12), @poena (11), @hellofromTonya (10), @ocean90 (9), @aristath (8), @davidbaumwald (8), @peterwilsoncc (8), @flixos90 (8), @ntsekouras (8), @robinwpdeveloper (8), @paapst (7), @azaozz (7), @webcommsat (7), @JeffPaul (7), @jffng (6), @jhoffmann (6), @cbirdsong (6), @kau-boy (6), @MatthiasReinholz (6), @luminuu (6), @westonruter (6), @bedas (6), @jrf (6), @spacedmonkey (5), @garrett-eclipse (5), @mamaduka (5), @joedolson (5), @hellofromtonya (5), @kjellr (5), @adamsilverstein (4), @kebbet (4), @johnbillion (4), @ironprogrammer (3), @petitphp (3), @rudlinkon (2), @andrewserong (2), @Mamaduka (2), @antpb (2), @afragen (2), @afercia (2), @krunal265 (2), @nithins53 (2), @dmsnell (2), @swissspidy (2), @ryokuhi (2), @joemcgill (2), @antonvlasenko (2), @james-roberts (2), @jorgefilipecosta (1), @birgire (1), @gziolo (1), @hareesh-pillai (1), @jipmoors (1), @Chouby (1), @abidhasan112 (1), @pavelevap (1), @mercime (1), @dd32 (1), @chocofc1 (1), @Presskopp (1), @jeherve (1), @matclayton (1), @slieschke (1), @sergiomdgomes (1), @chintan1896 (1), @juliobox (1), @a4jpcom (1), @stalukder03 (1), @adeltahri (1), @arrasel403 (1), @10upsimon (1), @hvar (1), @aaroncampbell (1), @joyously (1), @jokerrs (1), @theode (1), @adamziel (1), @jhned (1), @kawserz (1), @faisal03 (1), @bookwyrm (1), @bhavz-10 (1), @dshanske (1), @NathanAtmoz (1), @oandregal (1), @ipajen (1), @obayedmamur (1), @bgoewert (1), @SteelWagstaff (1), @hughie.molloy (1), @ericlewis (1), @conner_bw (1), @hakre (1), @wojtek.szkutnik (1), @nicholaswilson (1), @pbearne (1), @galbaras (1), @danielbachhuber (1), @manfcarlo (1), @re_enter_rupok (1), @ajlende (1), @hanshenrik (1), @faguni22 (1), @nidhidhandhukiya (1), @wetah (1), @ehtmlu (1), @luehrsen (1), @rafinkhan (1), @sapayth (1), @devtanbir (1), @kmadhak (1), @kajalgohel (1), @reduanmasud (1), @samruddhikhandale (1), @shahidul95 (1), @scruffian (1), @wildworks (1), @kapilpaul (1), @smeunus (1), @thelovekesh (1), @dhusakovic (1), @kaneva (1), @abirhasandipu (1), @shraboni (1), @jaedm97 (1), @riccardodicurti (1), @anantajitjg (1), @mujuonly (1), @dinhtungdu (1), @wojtekn (1), @thomasplevy (1), @pedromendonca (1), @matveb (1), @priethor (1), @isabel_brison (1), @viralsampat (1), @cadic (1), @wppunk (1), @h4l9k (1), @d-signed (1), @travisaxton (1), @jorbin (1), @samiamnot (1), @benish74 (1), @mburridge (1), @helen (1), @antonyagrios (1), @afrin29 (1), @syhc (1), @teebee (1), @lucymtc (1), @bueltge (1), @lkraav (1), @TobiasBg (1), @lenasterg (1), @grl570810 (1), @wirecat (1), @sam1el (1), @craiglpeters (1), and @mahbubshovan (1).

Congrats and welcome to our 32 (!!) new contributors of the week: @jokerrs, @kawserz, @bookwyrm, @hughiemolloy, @nicholaswilson, @re_enter_rupok, @hanshenrik, @faguni22, @ehtmlu, @rafinkhan, @sapayth, @reduanmasud, @samruddhikhandale, @shahidul95, @smeunus, @abirhasandipu, @jaedm97, @riccardodicurti, @wojtekn, @h4l9k, @d-signed, @travisaxton, @samiamnot, @benish74, @antonyagrios, @afrin29, @syhc, @teebee, @grl570810, @wirecat, @sam1el, @craiglpeters ♥️

Core committers: @audrasjb (29), @sergeybiryukov (24), @peterwilsoncc (7), @davidbaumwald (6), @joedolson (6), @flixos90 (6), @hellofromtonya (5), @danielbachhuber (4), @desrosj (4), @youknowriad (3), @johnbillion (2), @jorbin (2), @spacedmonkey (2), @helen (1), @swissspidy (1), and @jorgefilipecosta (1).

#6-2, #core, #meta6545, #week-in-core

A Week in Core – February 6, 2023

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.. 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 30 and February 6, 2023.

  • 86 commits
  • 137 contributors
  • 66 tickets created
  • 14 tickets reopened
  • 91 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

  • Add unit tests for wp_set_password hook – #57436
  • Update json2php package – #57535
  • Update npm dependencies – #57535
  • Update npm dependencies for bundled themes – #57535

Bundled Themes

  • Twenty Fourteen: Correctly reflect text color changes in Pullquote blockBlock 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.#56006
  • Twenty Sixteen: Fix Gallery block images alignement – #56412
  • Twenty Twenty-Two: Improve spacing for the legacy Post Comments block – #57560

Code Modernization

  • Allow some parameters with reserved keywords in wp-includes/class-wp-text-diff-renderer-*.php#56788
  • Rename parameters that use reserved keywords in wp-includes/formatting.php#56788
  • Fix a PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8 deprecation warning in category-template.php uasort() helper – #57358, #56790

Coding Standards

  • Add missing escaping function in Custom_Image_Header::show_header_selector()#57638
  • Rename the $cat_ID variable to $cat_id in wp_update_category()#56754

Cron 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.

  • Improve the docs for some cron event and cron schedule related functions – #56792

Docs

  • Capitalize X-Pingback in discover_pingback_server_uri() DocBlockdocblock (phpdoc, xref, inline docs)#54225
  • Document directory support in FTP/SSH2 filesystem ::move() methods – #57604
  • Document the inserter property in WP_Block_Patterns_Registry::register()#56792
  • Fix couple of typos in inline docsinline docs (phpdoc, docblock, xref)#57575
  • Fix typo in the send_auth_cookies 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. DocBlock – #56971, #39367
  • Improve documentation for block pattern properties – #56792
  • Improve the DocBlock for get_attached_file()#51780, #56792
  • Remove a duplicate line in the send_auth_cookies filter DocBlock – #56971, #39367
  • Use consistent format for the @return tags in _wp_object_name_sort_cb() and _wp_object_count_sort_cb()#57358, #56792

Editor

  • Add ID support to block wrapper attributes – #56852
  • Update WP_Theme_JSON_Resolver and improve its performance – #57545
  • Add ‘wp-polyfill’ to _wp_get_iframed_editor_assets() for inert attribute in Firefox – #57552
  • Add Template types to the patterns API
  • Add missing WP_Theme_JSON::process_blocks_custom_css() method – #57621
  • Add missing controls to flex layouts in wp_get_layout_style()#57602
  • Add support for custom CSSCSS Cascading Style Sheets. in global styles – #57536
  • Add support for editing block style variations in global styles – #57583
  • Backportbackport A port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. site editor intialization changes from GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ 15.1 – #57480
  • Improve performance of gutenberg_render_layout_support_flag
  • Introduce minimum height dimensions block support – #57582
  • Remove need for template prefix in get_template_hierarchy – #57614
  • Remove unnecessary CSS comments from compiled styles – #56388
  • Separate content styles for iframeiframe iFrame is an acronym for an inline frame. An iFrame is used inside a webpage to load another HTML document and render it. This HTML document may also contain JavaScript and/or CSS which is loaded at the time when iframe tag is parsed by the user’s browser. in __wp_get_iframed_editor_assets() and wp_default_styles() – #57550
  • Support the block_types and viewport_width props for remote patterns fetched from Pattern Directory – #57611
  • Updated the WordPress packages to include Gutenberg 15.1.0 changes – #57471
  • Use WP_HTML_Tag_Processor in wp_render_elements_support()#57642
  • Use a non-persistent object cache instead of transient in wp_get_global_stylesheet()#57568
  • Introduce HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API with HTML Tag Processor – #57575

Embeds

  • Add oEmbed support for crowdsignal.net surveys – #57543
  • Update YouTube provider for live URLs – #57632
  • Use documented mixcloud.com oembed endpoint – #57376

Emoji

  • Always skip nodes with the wp-exclude-emoji CSS class – #52219
  • Fix emoji feature detection – #57301

External Libraries

  • Update jQuery Migrate to version 3.4.0 – #56743

Filesystem API

  • Add directory support to WP_Filesystem_Direct::move()#57375
  • Add test for uncovered WP_Error in move_dir()#57375
  • Prevent fatal error in move_dir()#57375
  • Simplify two conditionals in move_dir()#57375
  • Update move_dir() to better handle the differences in the WP_Filesystem::move() methods – #57375

Formatting

  • Guard wp_strip_all_tags() against fatal errors – #56434

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. API

  • Fix 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. failure found after [55210]#54225
  • Fix request headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes. inconsistencies – #54225
  • Restore one instance of the X-Pingback header capitalization – #54225

Help/About

  • Update help tab texts to consistently describe button labels – #57608

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.

  • Improve method names in WP_Locale_Switcher()#57123
  • I18N: Pass $locale parameter to override_load_textdomain filter – #57056

KSES

  • Allow position-related CSS properties – #57504

Media

  • Add a Download row action to the Media List Table – #57574
  • Add argument to get_attached_file() for subsizes – #51780
  • Allow to omit decoding="async" on tags from wp_get_attachment_image()#57086
  • Ensure media IDs are type int in bulk editing – #56170
  • Fix inconsistent font weight in media detail views – #54509
  • Fix upload not visible if added after deleting media – #49178
  • Hide ‘view’ link if empty string passed to attachment_link – #54824
  • Maintain the functionnality of the deprecated WP_Media_List_Table::column_desc() method – #39710
  • Pass $size argument to get_attached_file filter – #51780
  • Properly escape Download row action link in Media List Table – #57574
  • Remove metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. data after restoring w/IMAGE_EDIT_OVERWRITE – #55150
  • Remove unwanted quotation marks for playlist template – #50865
  • Replace consecutive periods in sanitize_file_name()#57242

Plugins

  • Rephrase Add Plugins screen description for better clarity – #57155

Posts, Post Types

  • Add test coverage for _truncate_post_slug()#56868, #56793
  • Deprecate get_page_by_title() in favour of WP_Query#57041

Query

  • Add a search_columns argument to control which fields are searched in a search query – #43867
  • Revert [55169]#56689
  • Use WP_Query in get_page_by_path#56689

REST APIREST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/.

  • Declare ‘edit_css’ capability in links within WP_REST_Global_Styles_Controller#57526

RevisionsRevisions The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision by dragging a slider (or using the Next/Previous buttons). The display indicates what has changed in each revision.

  • Add a way to filter the revisions considered for deletion – #57320

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.

  • Implement wp_cache_get_multiple in wp_queue_posts_for_term_meta_lazyload#57150

Themes

  • Add caching to WP_Theme::is_block_theme()#57114
  • Add shadow presets support for theme.jsonJSON 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.#57559
  • Increase HTTP timeout for Theme API requests – #57315

Upgrade/Install

  • Send language pack updates to copy_dir()#57557
  • Silence Requests deprecations before preloading – #54504
  • Use move_dir() instead of copy_dir() in WP_Upgrader::install_package() when possible – #57557

Users

  • Add context to the send_auth_cookies filter – #56971, #39367
  • Add support for RoboHash GravatarGravatar Is an acronym for Globally Recognized Avatar. It is the avatar system managed by WordPress.com, and used within the WordPress software. https://gravatar.com/. images in default user profile pics – #57493
  • Change parameters order in send_auth_cookies filter – #56971
  • Update get_avatar_url() and get_avatar() to include RoboHash support – #57493

Widgets

  • Preserve classic sidebars when switching to a block theme – #57531

Props

Thanks to the 137 (!) people who contributed to WordPress Core on Trac last week: @costdev (36), @mukesh27 (22), @audrasjb (20), @sergeybiryukov (15), @peterwilsoncc (13), @flixos90 (13), @ntsekouras (9), @afragen (7), @spacedmonkey (7), @mamaduka (7), @oandregal (6), @hellofromtonya (6), @azaozz (6), @adamsilverstein (5), @desrosj (5), @joedolson (5), @robinwpdeveloper (5), @andrewserong (5), @aristath (5), @youknowriad (5), @swissspidy (4), @dd32 (4), @jrf (4), @ironprogrammer (4), @sabernhardt (4), @poena (4), @hellofromTonya (4), @scruffian (3), @joen (3), @ocean90 (3), @Mista-Flo (3), @Mamaduka (3), @joemcgill (3), @isabel_brison (3), @pbiron (3), @aaronrobertshaw (3), @bgoewert (2), @glendaviesnz (2), @jorgefilipecosta (2), @davidbaumwald (2), @kebbet (2), @felixarntz (2), @gziolo (2), @onemaggie (2), @jameskoster (2), @petitphp (2), @noisysocks (2), @johnjamesjacoby (2), @dmsnell (2), @matveb (1), @ryokuhi (1), @paulschreiber (1), @cadic (1), @ndiego (1), @naeemhaque (1), @amin7 (1), @tahmidulkarim (1), @krupalpanchal (1), @jhned (1), @hilayt24 (1), @ellatrix (1), @tellthemachines (1), @maximej (1), @ramonopoly (1), @paaljoachim (1), @madhudollu (1), @timothyblynjacobs (1), @talldanwp (1), @mmtr86 (1), @dsas (1), @antpb (1), @zebaafiashama (1), @rnitinb (1), @iapial (1), @viralsampat (1), @jeawhanlee (1), @mitogh (1), @wildworks (1), @donncha (1), @cbirdsong (1), @eherman24 (1), @ajlende (1), @szaqal21 (1), @ahortin (1), @miguelaxcar (1), @patelhitesh (1), @tanazmasaba (1), @revgeorge (1), @Webrocker (1), @soean (1), @matclayton (1), @Soean (1), @mahbubshovan (1), @adeltahri (1), @stalukder03 (1), @a4jpcom (1), @juliobox (1), @chintan1896 (1), @sergiomdgomes (1), @slieschke (1), @jeherve (1), @ruchirj (1), @chocofc1 (1), @birgire (1), @johnbillion (1), @abidhasan112 (1), @arrasel403 (1), @james-roberts (1), @Presskopp (1), @hvar (1), @10upsimon (1), @umesh84 (1), @amitbarai013 (1), @dlh (1), @arthurshlain (1), @andraganescu (1), @justlevine (1), @get_dave (1), @zieladam (1), @bernhard-reiter (1), @antonvlasenko (1), @bronsonquick (1), @TimothyBlynJacobs (1), @xknown (1), @ArtZ91 (1), @shamayel007 (1), @mhkuu (1), @jigar-bhanushali (1), @otto42 (1), @iandunn (1), @iqbalrony (1), @oh_hello (1), @tahminar27 (1), @ira2910 (1), @zoonini (1), @silicium23 (1), and @justinahinon (1).

Congrats and welcome to our 21 (!!) new contributors of the week: @zebaafiashama, @rnitinb, @iapial, @patelhitesh, @tanazmasaba, @mahbubshovan, @adeltahri, @stalukder03, @slieschke, @ruchirj, @chocofc1, @abidhasan112, @james-roberts, @amitbarai013, @ArtZ91, @shamayel007, @iqbalrony, @oh_hello, @tahminar27, @ira2910, @silicium23 ♥️

Core committers: @audrasjb (24), @sergeybiryukov (13), @flixos90 (9), @hellofromtonya (9), @peterwilsoncc (7), @azaozz (7), @joedolson (7), @jorgefilipecosta (5), @spacedmonkey (3), @desrosj (3), @youknowriad (2), @swissspidy (1), and @johnbillion (1).

#6-2, #core, #meta6545, #week-in-core