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

  • 48 commits
  • 62 contributors
  • 47 tickets created
  • 8 tickets reopened
  • 68 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

  • Use assertSame() in Tests_Comment::test_update_comment_from_privileged_user_by_privileged_user() – #56800
  • Use assertSame() in WP_Date_Query tests – #56800
  • Add 6.2 branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch". to the workflow for testing branches
  • Add the workflow_dispatch event to the performance workflow – #57687
  • Check if the Docker is available when running npm run env:start#51898
  • Fix cleaning of old CSSCSS Cascading Style Sheets. files in wp-includes/blocks/*#57891
  • Remove all previously built files when running clean:files#47749
  • Test the new performance workflow regularly – #57687
  • Update several 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 – #57572
  • Update the URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for logging performance workflows – #57687
  • Prevent registering the same private 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/. 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. twice – #57795
  • 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 register_block_style_handle() with an RTL localeLocale A locale is a combination of language and regional dialect. Usually locales correspond to countries, as is the case with Portuguese (Portugal) and Portuguese (Brazil). Other examples of locales include Canadian English and U.S. English.#56797
  • Adjust the expected mime type for WOFF fonts on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1.12+ – #56817
  • Improve Tests_Media::test_wp_generate_attachment_metadata_doesnt_generate_sizes_for_150_square_image() – #56800, #57370
  • Move some data providers in Tests_Functions next to the tests they are used in – #56793
  • Use assertSame() in Tests_Theme_wpThemeJson – #56800, #57621
  • Add unit tests for Gallery blocks – #55571

Bundled Themes

  • Add missing trailing / in HelpHub links – #57689, #57726
  • Bump version numbers for WordPress 6.2 – #57689
  • Improve various globals documentation, as per docblockdocblock (phpdoc, xref, inline docs) standards – #56792, #57069

Cache API

  • Introduce new queries cache groups – #57625
  • Make network-queries and site-queries global cache groups – #57625

Coding Standards

  • Bring some consistency to wp_validate_redirect() existence checks – #57839
  • Use strict comparison in wp-admin/includes/taxonomy.php#57859

Comments

  • Prime post caches in WP_Comments_List_Table – #57802

Date/Time

  • Save a call to wp_timezone in mysql2date – #57705

Docs

  • Add missing 6.2.0 since mention in get_the_privacy_policy_link()#56792, #56345
  • Add security warning in remove_query_arg() docblock to make it consistent with add_query_arg()#57885, #56792
  • Improve some DocBlock formatting in wp-includes/class-wp-xmlrpc-server.php#57840

Editor

  • Add more details to template descriptions – #57892
  • Combine Date template description translations – #57892
  • Move variables to where used in wp_render_layout_support_flag – #57815
  • Update wordpress packages for 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. 5 – #57471
  • Update wordpress packages for 6.2 RC1 – #57471
  • Revert r54860#57630, #55437

External Libraries

  • Update jQuery to 3.6.4 – #57324

Filesystem API

  • Return correct error data from copy_dir() if the directory listing failed – #57907

Formatting

  • Restore consistent quotes in _make_web_ftp_clickable_cb()#53290, #56444

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

  • Document shorthand usage of the next_tag() – #57863, #57575
  • Fix finding RCData and Script 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.) closers – #57852, #57575

Help/About

  • Update copy & style for About page and subpages – #57477

Media

  • Revert wp_ajax_save_attachment_updated hook – #23148
  • Improve display of cropped image in media editor – #55070

Networks and Sites

  • Replace get_blog_details with get_site#57571

Props

Thanks to the 62 people who contributed to WordPress Core on Trac last week: @costdev (17), @peterwilsoncc (10), @hellofromTonya (10), @mukesh27 (9), @sergeybiryukov (7), @spacedmonkey (6), @audrasjb (6), @ankitmaru (5), @azaozz (4), @ironprogrammer (4), @flixos90 (4), @desrosj (3), @gziolo (3), @mamaduka (3), @robinwpdeveloper (3), @tillkruess (2), @isabel_brison (2), @antonvlasenko (2), @ntsekouras (2), @dmsnell (2), @sabernhardt (2), @zieladam (2), @mreishus (1), @TobiasBg (1), @thomasplevy (1), @roytanck (1), @mkox (1), @razthee007 (1), @poena (1), @cnspecialcolor (1), @pento (1), @hasanuzzamanshamim (1), @bgoewert (1), @viralsampat (1), @andy786 (1), @antpb (1), @petitphp (1), @annezazu (1), @kebbet (1), @bph (1), @afragen (1), @pravinparmar2404 (1), @owi (1), @skithund (1), @kapilpaul (1), @adarshposimyth (1), @dhrumilk (1), @joemcgill (1), @andrewserong (1), @davidbaumwald (1), @joen (1), @greenshady (1), @glendaviesnz (1), @jameskoster (1), @marybaum (1), @sereedmedia (1), @jpantani (1), @laurlittle (1), @richtabor (1), @markoserb (1), @fcoveram (1), and @sanketchodavadiya (1).

Congrats and welcome to our 5 new contributors of the week: @razthee007, @cnspecialcolor, @owi, @adarshposimyth, @dhrumilk ♥️

Core committers: @hellofromtonya (13), @sergeybiryukov (9), @audrasjb (6), @spacedmonkey (5), @desrosj (5), @azaozz (2), @davidbaumwald (2), @zieladam (1), @ryelle (1), @jorbin (1), @joemcgill (1), @peterwilsoncc (1), and @adamsilverstein (1).

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

A Week in Core – March 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 February 27 and March 6, 2023.

  • 45 commits
  • 79 contributors
  • 63 tickets created
  • 12 tickets reopened
  • 61 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

  • Use assertSame() in Tests_Comment::test_update_comment_from_privileged_user_by_privileged_user() – #56800
  • Use assertSame() in WP_Date_Query tests – #56800
  • Add a performance measurement workflow – #57687
  • Add test coverage for the get_posts_navigation() function – #55751
  • Add wp_check_filetype() unit tests – #57151
  • Add unit tests for Gallery blocks – #55571
  • Regenerate correctly the block-json.php file – #57471
  • Add unit tests for get_next_posts_link() and get_previous_posts_link()#55751
  • Adjust the expected mime type for WOFF fonts on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1.12+ – #56817
  • Ignore EOL differences in a wpautop() test for <math> 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. elements – #57718
  • Improve Tests_Media::test_wp_generate_attachment_metadata_doesnt_generate_sizes_for_150_square_image() – #56800, #57370
  • Make sure the correct query is tested for term limits in 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. queries – #57342
  • Move some data providers in Tests_Functions next to the tests they are used in – #56793
  • Second pass at merging file-level and class-level DocBlocks in various 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. files – #57723
  • Use assertSame() in Tests_Theme_wpThemeJson – #56800, #57621

Bundled Themes

  • Account for a numeric theme directory in WP_Theme::__construct()#54645
  • Twenty Nineteen: Update PostCSS to version 8.x – #57554
  • Twenty Twenty: Avoid PHP warnings in 8.1 due to incorrect usage of wp_add_inline_style()#57777

Docs

  • Fix erroneous since mention in wp_internal_hosts hook – #57796
  • Fix typo in wp_generate_password() description – #57847
  • Use the new /documentation/ URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for HelpHub link in readme.html#57726

Editor

  • Correctly merge custom CSSCSS Cascading Style Sheets. into global styles – #57833
  • Deprecate _resolve_home_block_template() – #57716
  • Ensure Global styles values are reset in the site editor – #57824, #56467
  • Exclude non-sticky posts in Query LoopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop. Block when set to “Only” – #57822
  • Only add layout classes to inner wrapper if block is a container – #55571, #57831
  • Partial revert of r55230#57830, #56852
  • Add ‘path’ query arg to Appearance > Template Parts menu – #57819
  • 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. 4 – #57471

Formatting

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

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 RCData and Script 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.) closers – #57852, #57575

Help/About

  • Avoid extra redirections on HelpHub Links – #57726
  • Improve help text about the WordPress URL and Site URL settings – #50886, #57759
  • Restore the correct URL for Editing Files article on Edit Themes screen – #57726
  • Update the About page for 6.2 – #57477
  • Use a consistent capitalization for “Support forums” links across WP Adminadmin (and super admin)#57726

Media

  • Rename the wp_ajax_save_attachment action hook to wp_ajax_save_attachment_updated#23148
  • Revert the addition of a $size parameter to get_attached_file()#51780
  • improve display of cropped image in media editor – #55070

Script Loader

  • Pass the asset path to the _doing_it_wrong() notice in register_block_script_handle()#53566

Users

  • Adjust the initialization of the $duplicated_keys array in wp_salt()#57121
  • Use a separate variable for the post counts query in wp_list_authors()#57011

Props

Thanks to the 79 people who contributed to WordPress Core on Trac last week: @costdev (13), @mukesh27 (12), @hellofromTonya (8), @sergeybiryukov (8), @peterwilsoncc (7), @audrasjb (7), @Mamaduka (5), @ankitmaru (4), @desrosj (4), @sabernhardt (4), @robinwpdeveloper (3), @sakibmd (3), @youknowriad (3), @flixos90 (3), @ntsekouras (3), @sc0ttkclark (3), @azaozz (2), @simongomes02 (2), @geisthanen (2), @poena (2), @wildworks (2), @johnbillion (2), @richtabor (2), @laurlittle (2), @swissspidy (2), @oandregal (2), @ironprogrammer (2), @isabel_brison (2), @lifeboat (1), @brookedot (1), @Toru (1), @thedaysse (1), @rahmohn (1), @dasnitesh780 (1), @joedolson (1), @fabiankaegy (1), @kevin940726 (1), @adityaarora010196 (1), @jongycastillo (1), @michelmany (1), @joyously (1), @sun (1), @chrisbaltazar (1), @lopo (1), @alvastar (1), @winterpsv (1), @hugodevos (1), @Ankit K Gupta (1), @ignatggeorgiev (1), @markoserb (1), @davidbaumwald (1), @jakariaistauk (1), @gziolo (1), @andy786 (1), @antpb (1), @sanketchodavadiya (1), @antonvlasenko (1), @zieladam (1), @dmsnell (1), @david.binda (1), @adamsilverstein (1), @fuadragib (1), @naeemhaque (1), @seakashdiu (1), @hasanmisbah (1), @mahbubshovan (1), @pbearne (1), @pyrobd (1), @pravinparmar2404 (1), @marybaum (1), @tobifjellner (1), @justinahinon (1), @webcommsat (1), @hellofromtonya (1), @jpantani (1), @RavanH (1), @ocean90 (1), @neychok (1), and @spacedmonkey (1).

Congrats and welcome to our 5 new contributors of the week: @lifeboat, @thedaysse, @dasnitesh780, @markoserb, @andy786 ♥️

Core committers: @sergeybiryukov (15), @hellofromtonya (10), @audrasjb (7), @gziolo (4), @peterwilsoncc (2), @ryelle (2), @adamsilverstein (1), @joemcgill (1), @desrosj (1), @azaozz (1), and @flixos90 (1).

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

  • 58 commits
  • 88 contributors
  • 74 tickets created
  • 10 tickets reopened
  • 69 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
  • 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

Bootstrap/Load

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

Build/Test Tools

  • Fix inaccurate coverage in Tests_Functions_wpListPluck::set_up() – #56706
  • 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. styles data type PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher Warning in REST_Block_Type_Controller_Test::test_get_item_invalid() – #57706
  • Improve devcontainer setup for non-Codespaces usage – #57187
  • Add missing @covers 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.) for a wp_update_comment() test – #56793
  • Declare the $post_id property in wp_comments_personal_data_exporter() tests – #56793
  • Merge file-level and class-level DocBlocks in various 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. files – #57099
  • 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

Bundled themes

  • Fix row variation nested in group 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.#56226
  • Recommit generated files following [55329]#56226
  • Twenty Twelve: Properly reflect text color changes in Table block – #56466
  • Twenty Twenty: Properly reflect text color changes in Quote and Pullquote block – #55990

Coding Standards

  • Improve variables names in post and comment page link functions – #57746
  • Rename $post_ID variable to $post_id in various files – #57692
  • Rename the remaining $cat_ID variables to $cat_id#56754
  • Replace strval() with (string) type casting in wp_nav_menu()#57169

Comments

  • Use correct orderby parameter name in personal data exporter and eraser – #57700

Date/Time

  • Revert mysql2date changes in [55343]#57705
  • Save a call to wp_timezone in mysql2date – #57705

Docs

  • Add www. prefix to some PHP manual links in code comments – #56792
  • Add a @since note about Twenty Twenty-Three for WP_Theme::$default_themes#57714
  • Improve code comments in some sanitizing functions – #57712
  • Replace 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. with HTTPSHTTPS 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. in PHP Manual links located in WP_Privacy_Policy_Content class – #56792, #57017
  • Replace HTTP with HTTPS in PHP Manual links located in wp-load.php#56792
  • Update the wording for the Update Services link on Writing Settings screen – #48987
  • Use correct 6.2.0 since version in multiple docblocks – #56792
  • 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

  • Fix ‘wp-block-library-theme’ style enqueue conditions – #57561
  • Prevent KSES stripping global layout style properties – #57321
  • Remove missing postType and postId query args Site Editor redirect – #57716
  • Restores file block button styles for classic themes – #57688
  • Update wordpress packages for 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. 2 – #57471

External Libraries

  • Prevent a PHP 8.1 deprecation notice in PasswordHash::gensalt_blowfish()#56340

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.

  • Use trailingslashit( $path ) instead of $path . '/'#57516

Formatting

  • Add aspect-ratio as valid CSSCSS Cascading Style Sheets. property in KSES – #57664

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.

  • Add new strings to about.php for use with end-of-life updates – #57216
  • Check that $wp_locale global is set before calling its methods – #56698

Login and Registration

  • prevent registering with username that matches previous user email – #57394

Media

  • Enhance logic to determine LCP image in block themes and avoid lazy-loading it – #56930

Menus

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

Permalinks

  • Properly escape strings in Permalinks Settings screen – #57143

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

  • Normalize WP_REST_Server::dispatch() to return a response object – #56566
  • Only use Latin characters in test filenames – #57329, #57761
  • Remove ‘Invalid user ID’ error in WP_REST_Users_Controller::update_item() – #56662

Themes

  • Remove local() from @font-face styles in _wp_theme_json_webfonts_handler() – #57430
  • Use add_action for pre_get_posts hook in _add_template_loader_filters()#57097

Upgrade/Install

  • Update available theme updates count when a theme si deleted – #57183

Users

  • Correct the error code in wp_insert_user() when login matches an existing email – #57394

Props

Thanks to the 88 (!) people who contributed to WordPress Core on Trac last week: @costdev (12), @sergeybiryukov (9), @mukesh27 (7), @robinwpdeveloper (6), @hellofromTonya (6), @audrasjb (5), @mamaduka (4), @poena (4), @ntsekouras (4), @sabernhardt (4), @peterwilsoncc (3), @tanjimtc71 (3), @desrosj (3), @jrf (3), @ironprogrammer (2), @riccardodicurti (2), @nithins53 (2), @antonvlasenko (2), @kapilpaul (2), @scruffian (2), @spacedmonkey (2), @hellofromtonya (2), @codemonksuvro (1), @petitphp (1), @swissspidy (1), @anantajitjg (1), @kebbet (1), @ace100 (1), @youknowriad (1), @jamilbd07 (1), @andrewserong (1), @wojtekn (1), @hztyfoon (1), @arafatjamil01 (1), @mmtr86 (1), @jaedm97 (1), @mikachan (1), @shraboni (1), @kmadhak (1), @hanshenrik (1), @faguni22 (1), @nidhidhandhukiya (1), @wetah (1), @ehtmlu (1), @aristath (1), @luehrsen (1), @rafinkhan (1), @sapayth (1), @james-roberts (1), @devtanbir (1), @kajalgohel (1), @abirhasandipu (1), @manfcarlo (1), @reduanmasud (1), @shahidul95 (1), @adamsilverstein (1), @flixos90 (1), @wildworks (1), @smeunus (1), @thelovekesh (1), @dhusakovic (1), @ryokuhi (1), @kaneva (1), @joedolson (1), @kraftbj (1), @dalirajab (1), @shamimmiashuhagh (1), @ajayver (1), @roytanck (1), @dunhakdis (1), @buutqn (1), @rahmantasnia (1), @nazmulhasan103 (1), @felipeelia (1), @DaveFX (1), @mahekkalola (1), @azaozz (1), @sc0ttkclark (1), @ipajen (1), @dimadin (1), @bgin (1), @sannevndrmeulen (1), @ndiego (1), @jffng (1), @glendaviesnz (1), @afragen (1), @samruddhikhandale (1), and @ajlende (1).

Congrats and welcome to our 14 new contributors of the week: @tanjimtc71, @codemonksuvro, @ace100, @jamilbd07, @arafatjamil01, @dalirajab, @shamimmiashuhagh, @ajayver, @dunhakdis, @buutqn, @rahmantasnia, @nazmulhasan103, @mahekkalola, @bgin.

Core committers: @sergeybiryukov (19), @audrasjb (15), @hellofromtonya (8), @peterwilsoncc (5), @joedolson (2), @gziolo (1), @danielbachhuber (1), @timothyblynjacobs (1), @adamsilverstein (1), @azaozz (1), @helen (1), @spacedmonkey (1), @davidbaumwald (1), and @flixos90 (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

A Week in Core – January 30, 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 23 and January 30, 2023.

  • 49 commits
  • 59 contributors
  • 62 tickets created
  • 6 tickets reopened
  • 62 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

Bootstrap/Load

  • Avoid initializing WP_Recovery_Mode when fatal error handler is disabled – #56848

Build/Test Tools

  • Back up and restore the $wp_filters global when running tests – #57236
  • Revert [55137]#57555
  • Update PostCSS to version 8 – #57554, #57555
  • Update caniuse-lite to the latest version – #57555
  • Update third-party 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 – #57572
  • Resolve some line endings issues in blocks/renderCommentTemplate.php on Windows machines – #56793
  • Use wp_recursive_ksort() in WP_Theme_JSON_Resolver tests – #56793

Bundled Themes

  • Twenty Twenty-One: Refine primary-navigation.js behavior for anchor links – #53331
  • Twenty Twenty-Two: Remove color reference from pattern names – #56720

Code Modernization

  • Allow some parameters with reserved keywords in wp-includes/class-wp-text-diff-renderer-*.php#56788
  • Fix a JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. error in wpdialog#56830
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpRefererField.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/kses.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/post.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/rest-api.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/shortcode.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/widgets/wpWidgetMedia.php#56788
  • Rename parameters that use reserved keywords in wp-includes/blocks.php#56788
  • Rename parameters that use reserved keywords in wp-includes/class-wp-theme-json-resolver.php#56788
  • Rename parameters that use reserved keywords in wp-includes/class-wp-theme-json.php#56788
  • Rename parameters that use reserved keywords in wp-includes/formatting.php#56788
  • Rename parameters that use reserved keywords in wp-includes/functions.php#56788

Coding Standards

  • Allow some parameters with reserved keywords in wp-includes/compat.php#56788, #56791
  • Bring some consistency to the order of attributes in password fields – #56791

Database

  • Add %i placeholder support to $wpdb->prepare to escape table and column names, take 2 – #52506
  • Replace str_ends_with() usage in wpdb::prepare()#52506
  • Replace substr_compare() usage with substr() in wpdb::prepare()#52506

Docs

  • Add missing @since 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.) for WP_Theme_JSON_Resolver::remove_json_comments()#56792
  • Update $types param for wp_get_global_stylesheet() – #57563, #56792
  • Various improvements in ms-blogs.php function descriptions, as per docblocks standards – #56792

Editor

  • Add is 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. theme setting to get_block_editor_settings() – #57549
  • Adds ‘settings.typography.fluid.minFontSize’ support to wp_get_typography_font_size_value() – #57529
  • Adds pagination and ordering support to WP_REST_Pattern_Directory_Controller#57501
  • Fix undefined variable following [54805]#56974, #57067
  • Migrate old to the new pattern categories – #57532
  • Remove WP_DEBUG defined check in wp_tinycolor_hue_to_rgb() – #57527
  • Use a non-persistent object cache in wp_get_global_settings()#57502
  • Use a non-persistent object cache instead of transient in wp_get_global_stylesheet()#56910
  • Use in/decrementors in wp_tinycolor_hue_to_rgb() – #57527

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.

Media

  • Add download link to media modal and attachment details – #41474
  • Deprecate unused method WP_Media_List_Table::column_desc()#39710

Menus

  • Add missing escaping function in Adminadmin (and super admin) Menu walker – #57541

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.

  • Only create autosave when content changed – #49532

Themes

  • Add “Style Variations” to the list of WordPress theme features – #56869, #meta6545
  • Add static cache variable to wp_theme_has_theme_json() – #56975
  • Avoid unnecessary database queries from get_default_block_editor_settings() in WP_Theme_JSON_Resolver::get_theme_data()#57547
  • Support additional link related pseudo classes in theme.json#57053

Props

Thanks to the 59 people who contributed to WordPress Core on Trac last week: @jrf (14), @poena (14), @sergeybiryukov (14), @aristath (14), @justinahinon (11), @costdev (11), @mukesh27 (9), @oandregal (5), @spacedmonkey (5), @mamaduka (4), @ironprogrammer (4), @hellofromTonya (4), @flixos90 (4), @audrasjb (4), @azaozz (3), @ntsekouras (3), @joen (2), @Otto42 (2), @hellofromtonya (2), @mcsf (2), @ryelle (2), @andreaboe (1), @TobiasBg (1), @shubham1gupta (1), @peterwilsoncc (1), @andrewserong (1), @ramonopoly (1), @cu121 (1), @arrasel403 (1), @paaljoachim (1), @robinwpdeveloper (1), @chaion07 (1), @afercia (1), @annezazu (1), @jameskoster (1), @sabernhardt (1), @aniketpatel (1), @dgwyer (1), @dmsnell (1), @aduth (1), @sanjucta (1), @iandunn (1), @JeffMatson (1), @antpb (1), @countrymusicchicago (1), @joedolson (1), @amin7 (1), @inwerpsel (1), @craigfrancis (1), @antonvlasenko (1), @xknown (1), @ellatrix (1), @alexstine (1), @glendaviesnz (1), @scruffian (1), @jorgefilipecosta (1), @ocean90 (1), @czapla (1), and @whaze (1).

Congrats and welcome to our 5 new contributors of the week: @andreaboe, @shubham1gupta, @sanjucta, @countrymusicchicago, @inwerpsel ♥️

Core committers: @sergeybiryukov (20), @hellofromtonya (8), @audrasjb (7), @flixos90 (5), @desrosj (4), @davidbaumwald (2), @swissspidy (1), @joedolson (1), and @adamsilverstein (1).

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

A Week in Core – January 23, 2022

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 16 and January 23, 2022.

  • 45 commits
  • 70 contributors
  • 66 tickets created
  • 10 tickets reopened
  • 48 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

  • Use a consistent capitalization in Privacy Policy related strings – #57226

Application Passwords

  • Disable spellcheck for password field – #56763

Build/Tests Tools

  • Add unique messages to assertions for attachment filenames in wp_mail()#28407
  • Correct additional_field_get_callback() parameters in some 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/. tests – #56793
  • Use wp_recursive_ksort() in WP_Theme_JSON_Resolver tests – #56793

Bundled Themes

  • Fix Separator 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. “Dots” style variation on various themes – #56114
  • Twenty Twenty-One: Disable spellcheck for post password field – #56763
  • Twenty Twenty-One: Fix obsolete navigation block styles for better Global Styles support – #53220
  • Twenty Twenty-One: Fix obsolete navigation block styles for better Global Styles support – #53220
  • Twenty Twenty-One: Revert [55088]#53220

Code Modernization

  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListFilter.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListPluck.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListSort.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/hooks/addFilter.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/kses.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/option/themeMods.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/pluggable/signatures.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/post.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/rest-api.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/rest-api/rest-*-controller.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/shortcode.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/widgets/wpWidgetMedia.php#56788
  • Rename parameters that use reserved keywords in wp-includes/functions.php#56788
  • Use correct property in IXR_Message::tag_open()#56790

Docs

  • Further clarify the wp_ajax_save_attachment 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. parameters description – #23148
  • Remove unused post_modified and post_modified_gmt params from wp_insert_post() docblockdocblock (phpdoc, xref, inline docs)#57473, #56792

Editor

  • Add inert attribute polyfill – #57492
  • Allow block pattern categories to have descriptions – #57478
  • Update packages to unblock lazy-loading issues – #56930
  • Updated the bundled block pattern categories – #57479

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.

  • Allow installing new translations when changing the user localeLocale A locale is a combination of language and regional dialect. Usually locales correspond to countries, as is the case with Portuguese (Portugal) and Portuguese (Brazil). Other examples of locales include Canadian English and U.S. English. on the profile page – #38664

Login and Registration

  • Disable spellcheck for password fields – #56763

Media

  • Add an action hook on wp_ajax_save_attachment()#23148
  • Allow for customization of lazy-loading featured images – #57490
  • Prevent hidden overflow on uploaded image names – #54812

Menus

  • Hide the “Remove selected item” from Menus screen when no item is selected – #56942

Permalinks

  • Remove floating on Permalinks settings screen – #56673, #55498

Plugins

  • Add visible focus on 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 modal close button – #56604

Posts, Post Types

  • Increase the input field’s width in the Slug metaboxMetabox A post metabox is a draggable box shown on the post editing screen. Its purpose is to allow the user to select or enter information in addition to the main post content. This information should be related to the post in some way.#16346
  • Use persistent caching in get_adjacent_post function – #41131

Quick/Bulk Edit

  • Add an action hook on bulk_edit_posts()#28112

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 placeholder from WP_Term_Query cache key – #57298

Themes

  • Introduce wp_theme_has_theme_json() for public consumption – #56975
  • Revert caching from r55086#56975

Upgrade/Install

  • Disable spellcheck for password field on Setup screen – #56763

Props

Thanks to the 70 people who contributed to WordPress Core on Trac last week: @poena (15), @sergeybiryukov (15), @jrf (14), @aristath (14), @justinahinon (13), @audrasjb (10), @costdev (6), @mukesh27 (5), @sabernhardt (4), @desrosj (3), @spacedmonkey (3), @gainesm (2), @fosuahmed (2), @flixos90 (2), @mamaduka (2), @dziudek (2), @Joen (2), @johnbillion (2), @hellofromTonya (2), @ocean90 (2), @helen (2), @kebbet (2), @peterwilsoncc (2), @joedolson (2), @mcsf (1), @swissspidy (1), @dshanske (1), @Spaceshipone (1), @nithi22 (1), @sarathar (1), @aravindajith (1), @ntsekouras (1), @joemcgill (1), @dd32 (1), @boonebgorges (1), @Otto42 (1), @dmsnell (1), @sumitsingh (1), @oandregal (1), @afragen (1), @alexstine (1), @azaozz (1), @sc0ttkclark (1), @barryceelen (1), @mrasharirfan (1), @umesh84 (1), @amin7 (1), @esratpopy (1), @multidots1896 (1), @ABTOP (1), @nacin (1), @abitofmind (1), @tyxla (1), @helgatheviking (1), @Mte90 (1), @afercia (1), @itowhid06 (1), @hellofromtonya (1), @pento (1), @mensmaximus (1), @dperonne (1), @viralsampat (1), @jeawhanlee (1), @griffinjt (1), @bradyvercher (1), @pputzer (1), @antpb (1), @bjorsch (1), @kraftbj (1), and @mehulkaklotar (1).

Congrats and welcome to our 5 new contributors of the week: @fosuahmed, @amin7, @esratpopy, @ABTOP, @abitofmind ♥️

Core committers: @sergeybiryukov (18), @audrasjb (15), @youknowriad (3), @joedolson (2), @flixos90 (2), @hellofromtonya (2), @spacedmonkey (2), and @swissspidy (1).

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

A Week in Core – January 16, 2022

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 9 and January 16, 2022.

  • 43 commits
  • 50 contributors
  • 44 tickets created
  • 3 tickets reopened
  • 41 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 an incorrect inline comment in Tests_Ajax_wpAjaxReplytoComment#57452
  • Move the test for wp_save_image_file() with a GD resource to a more appropriate place – #56793
  • Use more specific assertions in image saving tests – #56793

Bundled Themes

  • Add Mastodon domains for menu item icons – #57293, #49099
  • Twenty Twenty-Three: Fix incorrect gradient values in Aubergine theme – #57245

Code Modernization

  • Fix a jQuery Migrate deprecation in wpdialog#56830
  • Rename parameters that use reserved keywords in phpunit/tests/cron.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/manager.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/nav-menus.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/customize/setting.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/file.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/formatting/sanitizeTextField.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/formatting/sanitizeTrackbackUrls.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/deprecated.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListFilter.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListPluck.php#56788
  • Rename parameters that use reserved keywords in phpunit/tests/functions/wpListSort.php#56788

Date/Time

  • Prevent errors in current_time() when using timestamp and no value for gmt_offset#57035

Docs

  • Add a missing quote to wp_is_large_network() Docblockdocblock (phpdoc, xref, inline docs) params – #57468, #56792
  • Align spelling with American English – #56811, #56792
  • Align spelling with American English – #56811, #56792
  • Align spelling with American English – #56811, #56792
  • Correct the type of the $user_id parameter in wp_set_password action – #57436
  • Improve wp_style_add_data() function description – #57466, #56792
  • Remove unused post_modified and post_modified_gmt params from wp_insert_post() docblock – #57473, #56792
  • Typo correction in POP3 class send_cmd() inline docsinline docs (phpdoc, docblock, xref)#57449, #56792
  • Use third-person singular verbs for Script Loader related function descriptions, as per docblocks standards – #56792
  • Various docblock fixes in 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 WordPress 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. related functions – #56792

Editor

  • Update packages to unblock lazy-loading issues – #56930

Embeds

  • Update Mixcloud oEmbed URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org to the new domain – #57376

Formatting

  • Improve performance of esc_url()#22951

General

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

  • Correct the documentation for the https_ssl_verify and https_local_ssl_verify filters – #54803
  • Correct the name of a 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. referenced in the docs for wp_redirect() and wp_safe_redirect()#57464
  • Use correct class reference for Requests’ HTTP Proxy in WP_Http::request()#54504

Help/About

  • Improve comments keyboard shortcuts HelpHub links – #56920

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.

  • Initialize WP_Locale array properties – #57427

Menus

  • Compare $menu_item->ID and $menu_item->menu_item_parent as strings and avoid moidifying them. Plugins may change the ID to a string – #57169

Pings/Trackbacks

  • Remove a mention of the “Page” post type from the Discussion 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. box – #57429, #11346

Themes

  • Add opt-in Appearance Tools support for Classic Themes – #57460

Upgrade/Install

  • Revert a temporary conditional for testing the Rollbacks feature project – #56057, #57375, #57386

Users

  • Add an action hook on wp_set_password()#57436

Props

Thanks to the 50 people who contributed to WordPress Core on Trac last week: @sergeybiryukov (16), @jrf (12), @aristath (11), @poena (11), @justinahinon (11), @audrasjb (6), @kebbet (5), @peterwilsoncc (5), @sabernhardt (4), @mukesh27 (3), @azaozz (3), @lanacodes (2), @costdev (2), @ironprogrammer (2), @TobiasBg (1), @johnbillion (1), @schlessera (1), @markjaquith (1), @spacedmonkey (1), @dshanske (1), @danielbachhuber (1), @elifvish (1), @tyxla (1), @hellofromTonya (1), @NekoJonez (1), @dennisatyoast (1), @robinwpdeveloper (1), @wildworks (1), @jeremyfelt (1), @Nick_theGeek (1), @Chouby (1), @afragen (1), @chesio (1), @mamaduka (1), @nitman43 (1), @manojkpatil (1), @ashrafulsarkar (1), @pbiron (1), @matclayton (1), @ayeshrajans (1), @mcaskill (1), @tanner m (1), @triumvirate (1), @rryyaanndd (1), @ianbelanger (1), @mehulkaklotar (1), @Chrystl (1), @manooweb (1), @david.binda (1), and @virgar (1).

Congrats and welcome to our 6 new contributors of the week: @lanacodes, @nitman43, @manojkpatil, @matclayton, @triumvirate, @Chrystl ♥️

Core committers: @audrasjb (21), @sergeybiryukov (16), @flixos90 (2), @johnbillion (2), @azaozz (1), @hellofromtonya (1).

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