A Week in Core – December 6, 2021

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 November 29 and December 6, 2021.

  • 66 commits
  • 62 contributors
  • 62 tickets created
  • 16 tickets reopened
  • 51 tickets closed

The Core team is currently working on the next major release, WordPress 5.9, and the beta 1 was released last week 🛠

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

  • For 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. themes, link to Site Editor interface instead of CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings. in Dashboard’s welcome panel and Themes interface – #54460

Build/Test Tools

  • Remove the replace:emoji-banner-text Grunt task – #44632, #44306, #53363
  • Revert ignore prop change in [52272]#54506
  • Fix typo in a WP_Test_REST_Posts_Controller test method name – #53363
  • Rename classes in phpunit/tests/block-supports/ per the naming conventions – #53363
  • Rename classes in block template tests per the naming conventions – #53363
  • Replace assertEquals() with assertSame() in block template tests – #53364, #53363, #54335
  • Update WP_REST_Global_Styles_Controller_Test “Custom Styles” string after [52280]#54518

Bundled Themes

  • Twenty Fourteen: Adjust capability queries when using version before WordPress 5.9-alpha – #16841
  • Twenty Twenty-Two: Sync updates from GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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/#54318
  • Twenty Twenty: Restore Editor post title styles after 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/ 11.4.0 updates – #54056

Coding Standards

  • Break the $path reference after a foreach 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. in block_editor_rest_api_preload()#54558
  • Address a few coding standards issues after [52312] – #54558

Docs

  • Add missing @param to wp_set_unique_slug_on_create_template_part()#53399
  • 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.) to WP_Theme_JSON_Schema functions – #53399, #54336
  • Add missing summary for WP_Theme_JSON_Resolver::get_merged_data()#53399
  • Docblockdocblock (phpdoc, xref, inline docs) corrections in _disable_block_editor_for_navigation_post_type()#53399
  • Docblock typo correction in WP_Theme_JSON_Schema#53399
  • Fix typo in some get_edit_term_link() test DocBlocks – #50225, #53399
  • Further update some @since notes in WP_Theme_JSON methods for clarity – #53399, #54336
  • Misc Docblock corrections in duotone.php file – #53399
  • Miscellaneous Docblock corrections for block-template-utils.php file – #53399
  • Miscellaneous Docblock corrections in several /block-supports files – #53399
  • Replace @since 5.9 with @since 5.9.0 in block-template-utils.php#53399
  • Some documentation improvements for WP_Theme_JSON and WP_Theme_JSON_Resolver classes: – #53399, #54336
  • Use a duplicate hook reference for theme_file_path in WP_Theme::get_file_path()#51506, #53399
  • Various docblock corrections – #53399

Editor

  • Allow child themeChild theme A Child Theme is a customized theme based upon a Parent Theme. It’s considered best practice to create a child theme if you want to modify the CSS of your theme. https://developer.wordpress.org/themes/advanced-topics/child-themes/. PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher templates to take precedence over parent theme block templates – #54515
  • Allow 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. to take precedence in setting the root level element’s reset margin value – #54550
  • Avoid undefined index notices in the Template Parts Editor – #54558
  • Avoid a JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. console error on the Navigation block view – #54456
  • Do not translate the title of “Custom Styles” specific posts – #54518
  • Enable incomplete unit tests in Tests_Block_Template_Utils:: test_get_block_template_from_file()#54551
  • Hide visibility and status settings for wp_navigation post type – #54407
  • Remove Navigation Areas – #54506
  • Resolve template request ?_wp-find-template=true for new posts and pages – #54553
  • Update wordpress packages – #54487
  • Update wordpress packages – #54487
  • Site Editor: Add site export 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/. endpoint – #54448
  • Restore block PHP to canonical version in wordpress/block-library – #54506
  • Update wordpress packages – #54487

External Libraries

  • Further fix jQuery deprecations in WordPress core – #51519

Feeds

  • Remove reference to wp-atom.php in Atom feeds xml:base attribute – #47955

Formatting

  • Handle non-scalar types passed to sanitize_key()#54160

General

  • Add MariaDB in the readme.html requirements – #41490

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. 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 classname WpOrg\Requests\Proxy\Http in WP_Http::request()#54562
  • Revert changeset [52244] – #54562, #54504
  • Revert changeset [52315] – #54562, #54504

Internationalization

  • Remove redundant default text domain parameter in some __() calls – #53359

KSES

  • Accept port number in PDF upload paths – #54261
  • Allow attributes to be restricted via callbacks – #54261
  • Use the polyfilled PHP 8 string functions in _wp_kses_allow_pdf_objects()#54261

Media

  • Featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts. modal loads only selected image when infinite scroll is disabled – #53765
  • Fix TypeError and improve wp_exif_frac2dec() to only return int or float#54385
  • Replace tests/phpunit/data/images/sugar-mountain.jpg test image – #54385
  • Use infiniteScrolling global setting in js/media/controllers/featured-image.js and js/media/controllers/replace-image.js#53765

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

  • Improve error handling in sanitize_option()#53986

Plugins

  • Correct the documented allowable types for to the $callback parameter of various hook related functions – #54440

REST API

  • Ensure that the rest_after_insert_ action is executed in the templates controller – #54520
  • Fire wp_after_insert_post later in new post object endpoints – #54536
  • Replace hardcoded wp/v2/ preloaded paths – #54536
  • Use global transients for URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org details endpoint – #54499

Upgrade/Install

  • Check that WordPress is installed before scheduling cleanup of the temp-backup directory – #51857
  • Make some adjustments to the move_dir() function: – #54166, #51857

Props

Thanks to the 62 people who contributed to WordPress Core on Trac last week: @peterwilsoncc (8), @costdev (8), @hellofromTonya (5), @spacedmonkey (5), @SergeyBiryukov (4), @audrasjb (3), @desrosj (3), @poena (3), @noisysocks (3), @bernhard-reiter (3), @dd32 (3), @mukesh27 (3), @zieladam (3), @sabernhardt (3), @antonvlasenko (3), @get_dave (2), @swissspidy (2), @malthert (2), @TobiasBg (2), @youknowriad (2), @talldanwp (2), @ramonopoly (2), @adamsilverstein (1), @tobiasbg (1), @kjellr (1), @onemaggie (1), @hellofromtonya (1), @jameskoster (1), @matveb (1), @stevegs (1), @sergeybiryukov (1), @hilayt24 (1), @mamaduka (1), @oandregal (1), @praem90 (1), @shireling (1), @jrf (1), @mai21 (1), @dlh (1), @pbiron (1), @szaqal21 (1), @wpnomad (1), @johnbillion (1), @alexeydemidov (1), @kafleg (1), @Boniu91 (1), @ocean90 (1), @Pento (1), @xknown (1), @iCaleb (1), @mkaz (1), @afragen (1), @toro_unit (1), @dariak (1), @joedolson (1), @Mamaduka (1), @walbo (1), @chaion07 (1), @Clorith (1), @presskopp (1), @promz (1), and @tw2113 (1).

Congrats and welcome to our 2 new contributors of the week: @wpnomad and @alexeydemidov ♥️

Core committers: @sergeybiryukov (19), @audrasjb (18), @hellofromtonya (15), @noisysocks (4), @peterwilsoncc (4), @spacedmonkey (3), @johnbillion (2), and @jffng (1).

#5-9, #core, #week-in-core

A Week in Core – November 29, 2021

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 November 22 and November 29, 2021.

  • 42 commits
  • 60 contributors
  • 53 tickets created
  • 5 tickets reopened
  • 40 tickets closed

The Core team is currently working on the next major release, WordPress 5.9 🛠

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

  • Configure Dependabot scanning for GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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 – #54503
  • Correct the order and naming of expected and actual values in various tests – #53363
  • Fix warnings from stdClass::__invoke() callback mocks in 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 – #53844
  • Remove unexpected output in wp_dashboard_recent_drafts() tests on PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher 8.1 – #53635, #53363
  • Rename classes in phpunit/tests/block-supports/ per the naming conventions – #53363
  • Rename classes in 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. template tests per the naming conventions – #53363
  • Replace assertEquals() with assertSame() in block template tests – #53364, #53363, #54335
  • Temporarily disable the check that the current recommended PHP version is actively supported – #54528
  • Use a simpler approach to test the output in some tests – #53635, #53363, #53363
  • Specify NodeJS version 14.x in the .nvmrc file – #54502

Bundled Themes

  • Twenty Twenty One: Remove Image block placeholder alignment override in editor styles – #54254
  • Twenty Twenty-One: Combine duplicate CSSCSS Cascading Style Sheets. rules – #53605
  • Twenty Twenty-One: Style adjustments for list-based widgets in the widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. editor – #53629
  • Twenty Twenty: Restore Editor post title styles after 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/ 11.4.0 updates – #54056

Docs

  • Add a @since note and description to wp_kses_attr() for new attribute-related KSES options: – #54261
  • Document the globals used in some Privacy 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. methods – #53399
  • Improve consistency of some DocBlocks in wp-admin/includes/post.php#53399
  • Miscellaneous DocBlockdocblock (phpdoc, xref, inline docs) corrections – #53399
  • Miscellaneous DocBlock corrections in wp-admin/includes/post.php#53399
  • Remove inaccurate part of the screen_settings 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. description – #54524
  • Various docblock corrections and improvements – #53399

Editor

  • Check the correct post type support property for initial_edits#53813
  • Ensure block style name does not contain spaces before creating the class – #54296
  • Remove Navigation Areas – #54506
  • Update wordpress packages: Update packages to include bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. fixes from Gutenberg – #54487

External Libraries

  • Update getID3 to version 1.9.21 – #54162
  • Update the Requests library to version 2.0.0 – #54504
  • Upgrade PHPMailer to version 6.5.3 – #54514

Feeds

  • Remove reference to wp-atom.php in Atom feeds xml:base attribute – #47955

Media

  • Allow setting custom image alt text in custom 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. image – #46124
  • Ensure media preview is fully viewable in the “Add Media” modal – #53636
  • Fix TypeError and improve wp_exif_frac2dec() to only return int or float#54385
  • Replace tests/phpunit/data/images/sugar-mountain.jpg test image – #54385
  • Replace some array keys with their numeric equivalent – #53540

REST API

  • Ensure that the rest_after_insert_ action is executed in the templates controller. – #54520

Script Loader

  • Enqueue block stylesheet only when the corresponding block is used – #54457

TaxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.

  • Check $term object before using it in get_term_feed_link()#50225
  • Use WP_Term object to retrieve the taxonomy in get_term_feed_link()#50225

Themes

  • Add block template resolution algorithm unit tests – #54478
  • Move the skip link to outside the canvas in block themes – #54491
  • Update the base folders for templates and template parts in block themes – #54493

Props

Thanks to the 60 people who contributed to WordPress Core on Trac last week: @jrf (6), @audrasjb (4), @sabernhardt (4), @costdev (4), @mukesh27 (4), @SergeyBiryukov (3), @spacedmonkey (2), @bernhard-reiter (2), @adamsilverstein (2), @peterwilsoncc (2), @zieladam (2), @Boniu91 (2), @justinahinon (1), @multidots1896 (1), @wojsmol (1), @jorgefilipecosta (1), @chintan1896 (1), @schlessera (1), @Synchro (1), @datagutten (1), @noisysocks (1), @dd32 (1), @dustinrue (1), @soulseekah (1), @szepeviktor (1), @youknowriad (1), @ryelle (1), @Shaharyar10 (1), @shital-patel (1), @poena (1), @circlecube (1), @Rahmohn (1), @sourovroy (1), @hugod (1), @webmandesign (1), @joedolson (1), @Ankit K Gupta (1), @get_dave (1), @shireling (1), @mai21 (1), @hilayt24 (1), @desrosj (1), @praem90 (1), @stevegs (1), @tobiasbg (1), @tw2113 (1), @siliconforks (1), @shimotomoki (1), @nrqsnchz (1), @devutpol (1), @amustaque97 (1), @hellofromtonya (1), @pbiron (1), @afragen (1), @dlh (1), @Starbuck (1), @afercia (1), @anevins (1), @mikeschroder (1), and @talldanwp (1).

Congrats and welcome to our 10 new contributors of the week: @multidots1896, @wojsmol, @datagutten, @dustinrue, @Shaharyar10, @hugod, @praem90, @stevegs, @shimotomoki, and @amustaque97 ♥️

Core committers: @sergeybiryukov (14), @audrasjb (13), @hellofromtonya (3), @johnbillion (3), @spacedmonkey (2), @youknowriad (2), @noisysocks (2), @desrosj (2), and @peterwilsoncc (1).

#5-9, #core, #week-in-core

A Week in Core – November 22, 2021

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 November 15 and November 22, 2021.

  • 76 commits
  • 138 contributors
  • 48 tickets created
  • 6 tickets reopened
  • 73 tickets closed

The Core team is currently working on the next major release, WordPress 5.9 🛠

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

  • Restores “Customize” menu item for non-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. themes and moves for block themes – #54418

Build/Test Tools

  • Add the ruleset file to the cache key for PHPCSPHP Code Sniffer PHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS. and PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher compatibility scans – #54425
  • Cache the results of PHP_CodeSniffer across workflow runs – #49783
  • Restore the 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. URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for browserify-aes – #54337
  • Update all 3rd party GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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 to the latest versions – #53363

Bundled Themes

  • Update the “Tested up to” 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. to 5.9#53797
  • Twenty Nineteen: Apply coding standards fix from running composer format#54392
  • Twenty Sixteen: Correctly align columns within table blocks as configured in the editor – #54317
  • Twenty Twenty-One: Check if anchor exists before triggering in-page navigation – #53619
  • Twenty Twenty-One: Correct description of Dark Mode in the CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings.#53892
  • Twenty Twenty-One: Prevent notice thrown in twenty_twenty_one_get_attachment_image_attributes()#54464
  • Twenty Twenty-One: Remove 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. widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. icon link – #52880
  • Twenty Twenty-Two: Import the latest changes from GitHub – #54318
  • Twenty Twenty-Two: Sync updates from GitHub – #54318

Coding Standards

  • Wrap some long lines in js/_enqueues/admin/post.js per the JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. coding standards for better readability – #53359

Comments

  • Change new comment required text class – #16206
  • Don’t output “cancel comment reply link” if comments aren’t threaded – #37267
  • Fix PHP Notice “trying to get property of non-object” in comments_open() and pings_open()#54159

Commit Standards

Database

  • Check if the $args[0] value exists in wpdb::prepare() before accessing it – #54453

Docs

  • Add missing null allowed type for the $id parameter of wp_set_current_user()#53399
  • Add missing parameters in in_plugin_update_message-{$file} 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.#40006
  • Corrections relating to types used in inline documentation for comment ID and site ID proprties – #53399
  • Improve the documentation for registering block patterns and block pattern categories – #53399
  • Remove instances of the “eg.” abbreviation in favor of “example” or “for example” – #53330
  • Restore [51733], accidentally reverted in [52212]#40006
  • Update documentation for the $plugin_data parameter of various hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same.#53399
  • Various corrections and improvements relating to types used in inline documentation – #53399

Editor

  • Add missing label to new-post-slug input on Classic Editor – #53725
  • Check the correct post type support property for initial_edits#53813
  • Do not provide initial_edits for properties that are not supported by the current post type – #53813
  • Fix fatal call to add_query_args() – #54337
  • Fix how the Site Editor is linked to – #54337
  • Fix incorrect access of ID field – #54337
  • Load iframed assets in Site Editor – #54337
  • Update wordpress packages – #54337

External Libraries

  • Update the regenerator-runtime package to version 0.13.9#54027

Formatting

  • Add additional support for single and nestable tags in force_balance_tags()#50225

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

  • Remove empty ? when only anchor remains in add_query_arg()#44499

KSES

  • Use correct global in wp_kses_xml_named_entities()#54060

Login and Registration

  • Wrap long usernames in login error message – #54168
  • auto-focus the reset password field – #40302

Media

  • Add support for v1 and v2 gallery block in get_post_galleries()#43826
  • Featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts. modal loads only selected image – #42937
  • Featured image modal loads only selected image – #53765
  • Move dismiss upload errors button after errors – #42979
  • Revert media uploader input change in [52059]#42937
  • improve error message for failed image uploads – #53985
  • Add audible notice on menu item add or remove – #53840

Posts, Post Types

  • Increment post_count option value during blogblog (versus network, site) creation – #54462, #53443
  • Increment post_count option value only on multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site installations – #54462
  • Multisite: Decrement post_count option value when a post is deleted – #53443
  • Use global post as the default for wp_get_post_parent_id()#48358

Query

  • Correct and standardise the 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. query documentation – #53467

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

  • Make the templates controller follow core REST patterns – #54422
  • Remove experimental block menu item types – #40878

Script Loader

  • Document path as an accepted value for $key in wp_style_add_data()#53792

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.

  • Allow get_*_*_link() and edit_term_link() functions to accept a term ID, WP_Term, or term object – #50225
  • Clarify the taxonomy labels for customizing the field descriptions on Edit Tags screen: – #43060

Themes

  • Check both parent and child themes for a theme.json file – #54401
  • Force a scrollbar on the Themes page to prevent visual shake on hover – #53478

Toolbar

  • Refine “Edit site” link.php – #54441

Upgrade/Install

  • Add timezone info to last checked update time – #53554
  • Correct the weekly cron event for clearing the temp-backup directory: – #51857
  • Deactivate the 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/ 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 if its version is 11.8 or lower – #54405
  • Differentiate en_US version strings from localized ones – #53710
  • Improve the accuracy of the auto_update_{$type} filter docblockdocblock (phpdoc, xref, inline docs)#53330
  • Remove 5.8 function and fix deactivate Gutenberg plugin version compare < 11.9 – #46371

Users

  • Prevent infinite 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. when using capability checks during determine_current_user on multisite – #53386

WPDB

  • Call wp_load_translations_early() in wpdb::_real_escape()#32315
  • Call wp_load_translations_early() in wpdb::query() and wpdb::process_fields()#32315
  • Capture error in wpdb::$last_error when insert fails instead of silently failing for 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. data or value too long – #37267

Widgets

  • Wraps long widget titles in classic Widgets screen – #37451

Props

Thanks to the 138 (!) people who contributed to WordPress Core on Trac last week: @hellofromTonya (20), @sabernhardt (16), @audrasjb (13), @costdev (10), @sergeybiryukov (7), @johnbillion (7), @desrosj (6), @poena (5), @afercia (5), @SergeyBiryukov (4), @peterwilsoncc (4), @davidbaumwald (4), @birgire (4), @jeffpaul (3), @dilipbheda (3), @henry.wright (3), @pbearne (2), @TimothyBlynJacobs (2), @swissspidy (2), @shaunandrews (2), @glendaviesnz (2), @antpb (2), @kjellr (2), @talldanwp (2), @pento (2), @ramonopoly (2), @manishamakhija (2), @melchoyce (2), @dlh (2), @jrf (2), @dd32 (2), @chaion07 (2), @hareesh-pillai (2), @joedolson (2), @anthonyeden (1), @anandau14 (1), @asif2bd (1), @dpegasusm (1), @datainterlock (1), @mnelson4 (1), @ovann86 (1), @dlt101 (1), @xkon (1), @sabrib (1), @pankajmohale (1), @ianhayes94 (1), @hitendra-chopda (1), @gkloveweb (1), @drewapicture (1), @bravokeyl (1), @fpcsjames (1), @nettsite (1), @galbaras (1), @henrywright (1), @TobiasBg (1), @chrisvanpatten (1), @sourovroy (1), @jorbin (1), @szaqal21 (1), @PieWP (1), @danielbachhuber (1), @benitolopez (1), @ocean90 (1), @soniakash (1), @rachelbaker (1), @jigneshnakrani (1), @zoiec (1), @jdgrimes (1), @woodyhayday (1), @travisnorthcutt (1), @skunkbad (1), @richardfoley (1), @psufan (1), @procodewp (1), @nlpro (1), @david.binda (1), @lukecarbis (1), @lucasw89 (1), @liammitchell (1), @kwisatz (1), @justindocanto (1), @mista-flo (1), @celloexpressions (1), @Mamaduka (1), @kafleg (1), @umesh84 (1), @robertghetau (1), @musabshakeel (1), @rixeo (1), @marybaum (1), @felipeloureirosantos (1), @tmatsuur (1), @hasanuzzamanshamim (1), @wetah (1), @ravipatel (1), @mukesh27 (1), @westonruter (1), @mjaschen (1), @saju4wordpress (1), @otto42 (1), @joen (1), @flixos90 (1), @clucasrowlands (1), @beafealho (1), @luminuu (1), @netweb (1), @richtabor (1), @ovidiul (1), @h71 (1), @andy-schmidt (1), @mkaz (1), @noisysocks (1), @pbiron (1), @wparslan (1), @zieladam (1), @hellofromtonya (1), @benjaminanakenam (1), @webcommsat (1), @zodiac1978 (1), @tellyworth (1), @takahashi_fumiki (1), @russhylov (1), @lynk (1), @youknowriad (1), @donmhico (1), @tobiasbg (1), @danielpost (1), @nacin (1), @alexislloyd (1), @vdwijngaert (1), @ComputerGuru (1), @benjamingosset (1), @Presskopp (1), @thimalw (1), @dufresnesteven (1), @kingkero (1), @clorith (1), and @spacedmonkey (1).

Congrats and welcome to our 8 new contributors of the week: @robertghetau, @musabshakeel, @mjaschen, @saju4wordpress, @clucasrowlands, @russhylov, @lynk, @danielpost ♥️

Core committers: @hellofromtonya (14), @audrasjb (13), @desrosj (12), @joedolson (10), @sergeybiryukov (9), @noisysocks (6), @johnbillion (3), @jffng (2), @spacedmonkey (2), @davidbaumwald (1), @peterwilsoncc (1), @adamsilverstein (1), @ryelle (1), and @timothyblynjacobs (1).

#5-9, #core, #week-in-core

A Week in Core – November 15, 2021

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 November 8 and November 15, 2021.

  • 116 commits (!)
  • 204 contributors (!)
  • 57 tickets created
  • 10 tickets reopened
  • 89 tickets closed

The Core team is currently working on the major releasemajor release A release, identified by the first two numbers (3.6), which is the focus of a full release cycle and feature development. WordPress uses decimaling count for major release versions, so 2.8, 2.9, 3.0, and 3.1 are sequential and comparable in scope., WordPress 5.9 🛠

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

About/Help

  • Add commas to end of multi-line array items – #54357
  • add docs links to several screens – #54357

Administration

  • Restores “Customize” menu item for non-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. themes and moves for block themes – #54418

Bootstrap/Load

  • Add HTTP/3 as a valid 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. protocol. – #54404
  • Bootstrap/Load: Check $_SERVER['SCRIPT_NAME'] exists before passing to strpos() in wp_fix_server_vars()#54142

Build/Test Tools

  • Cache the results of PHP_CodeSniffer across workflow runs – #49783
  • Exclude plugins and non-bundled themes from PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher compatibility scans – #54425
  • Make adjustments to how Quick Draft tests confirm expected behavior – #54409
  • Mock no results remote request in WP_REST_Block_Directory_Controller:: get_items() – #54420
  • Mock remote request for WP_REST_Block_Directory_Controller::get_items()#54420
  • Mock remote request for unknown 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 in WP_REST_Plugins_Controller::create_item()#54420
  • Restore the 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. URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for browserify-aes – #54337
  • Update all 3rd party GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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 to the latest versions – #53363
  • Change default GitHub 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 trunktrunk A directory in Subversion containing the latest development code in preparation for the next major release cycle. If you are running "trunk", then you are on the latest revision.#54399
  • Update qUnit test fixtures after [52128]#54336

Bundled Theme

  • Display required text field in core themes – #54392
  • Import Twenty Twenty-Two, the new default theme for WordPress 5.9 – #54318
  • Twenty Eleven: Improve comment form styling for required fields – #54408
  • Twenty Nineteen: Apply coding standards fix from running composer format#54392
  • Twenty Twenty-One: Add privacy policy link to footer – #53445
  • Twenty Twenty-One: Correct default image alignment in the editor – #53809
  • Twenty Twenty-One: Prevent printing skip link focus fix when SCRIPT_DEBUG is enabled – #54429
  • Twenty Twenty-Two: Import the assets directory from GitHub – #52081
  • Twenty Twenty-Two: Import the latest changes from GitHub – #54318

Coding Standards

  • Minor alignment fix after [52058]#52058
  • PHP Code style errors – #43700
  • PHP Code style errors – #43700
  • Rename the $gzData argument to $gz_data in WP_Http_Encoding::compatible_gzinflate()#53359
  • Revert accidental image changes in [52171]#54168
  • Revert unrelated change to wp_send_user_request()#43700
  • Use strict comparison in wp-admin/includes/ms.php#47422

Comments

  • Don’t output “cancel comment reply link” if comments aren’t threaded – #37267
  • Use get_comment_author() to retrieve the comment author name in get_comment_reply_link()#53678

Database

  • WPDB: Capture error in wpdb::$last_error when insert fails instead of silently failing for 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. data or value too long – #37267

Docs

  • Add missing documentation for the $javascript parameter of the wp_inline_script_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.#53399
  • Avoid using “CPT” instead of “custom post typeCustom Post Type WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Custom Post Types gives your site the ability to have templated posts, to simplify the concept.” – #53399, #54335, #54336
  • List the expected return type first in a few functions – #53399

Editor

  • Update SVNSVN Subversion, the popular version control system (VCS) by the Apache project, used by WordPress to manage changes to its codebase. props to ignore new asset files – #54337, #53361
  • Update SVN props to ignore new asset files – #54337, #53361
  • Add documentation for the $block_editor_context parameter of the block_editor_rest_api_preload_paths hook – #52920, #53399
  • Site Editor and PHP 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/ 10.1 – 11.9 – #54337
  • Site Editor: Load as full screen by default – #54337
  • Add Navigation Area infrastructure – #54337
  • Add block theme infrastructure – #54335
  • Add get_query_pagination_arrow function to core
  • Add public functions for interacting with global styles & settings – #54336
  • Fix fatal call to add_query_args() – #54337
  • Fix how the Site Editor is linked to – #54337
  • Fix incorrect access of ID field – #54337
  • Global Styles Rest endpoints – #54336
  • Global styles user content escaping – #54336
  • Load iframed assets in Site Editor – #54337
  • Update wordpress packages – #54337
  • Fix Linting error affecting trunk
  • Update wordpress packages – #54337
  • Update wordpress packages – #54337
  • Update block-theme-pl_PL.mo file. – #54336

Embeds

  • Conditionally enqueue wp-embed only if needed and send ready message in case script loads after post embed windows – #44632, #44306
  • Fix inclusion of wp-embed-template script and style when SCRIPT_DEBUG is disabled – #44632
  • Fix parsing of post embeds in wp_filter_oembed_result() by appending wp-embed script instead of prepending it in get_post_embed_html()#44632

External Libraries

  • Update the regenerator-runtime package to version 0.13.9#54027
  • Update ‘reactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/.’ and ‘react-dom’ – #54337

General

  • Add “noopener” to wp_list_bookmarks() output – #53839
  • General: Convert wp_list_filter() into a wrapper for wp_filter_object_list()#53988
  • General: Minor fixes to Global Style related code – #54336

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

  • Ensure value returned from 'http_allowed_safe_ports' is an array to avoid PHP 8+ TypeError fatal error – #54331
  • Introduce 'http_allowed_safe_ports' filter in wp_http_validate_url()#54331

Internationalization

  • Add language switcher on login/registration screens – #43700
  • Add missing translationtranslation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. wrapper for the Global Styles post type description – #54336

Login and Registration

  • Fix failing test for “email already exists” registration error improvement – #53631
  • Improve “email already exists” registration error message – #53631
  • Improve messaging for invalid log-out nonces – #52600
  • Pass $errors parameter to registration_redirect filter – #53992
  • Wrap long usernames in login error message – #37617

Mail

  • Add wp_mail_succeeded hook to wp_mail#53826

Media

  • Add “webp” extension to wp.media.controller.Library isImageAttachment#53917
  • Change upload button to a file input for better e2e targeting – #54168
  • Featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts. modal loads only selected image – #42937
  • Featured image modal loads only selected image – #53765
  • Refine the heuristics to exclude certain images and iframes from being lazy-loaded to improve performance – #53675, #50425
  • Revert media uploader input change in [52059]#54168, #54411
  • Add audible notice on menu item add or remove – #53840

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

  • Correct docs for $_meta_value parameter in xxx_{$meta_type}_meta hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same.#53102

Posts, Post Types

  • Add $old_status parameter to {$new_status}_{$post->post_type} action – #36180
  • Mark the wp_global_styles post type as _builtin#54336
  • Remove gutenberg text domain from post type strings – #54336, #54337
  • Update _edit_last meta when posts are edited in bulk – #42446

Quick/Bulk Edit

  • Disable auto-correct for slugs – #50499

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

  • Add /wp/v2/block-navigation-areas endpoint – #54393
  • Add batch support for posts and terms controllers – #53063
  • Expose the site icon in the REST API index – #52321
  • Introduce Menu management endpoints – #40878
  • Regenerate wp-api-generated.js after [52068]#53063
  • Remove experimental block menu item types – #40878

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.

  • Introduce wp_get_post_revisions_url() to get URL for editing revisions – #39062

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.

  • Allow get_*_*_link() and edit_term_link() functions to accept a term ID, WP_Term, or term object – #50225
  • Change some static strings to registration labels – #43060
  • Clarify the taxonomy labels for customizing the field descriptions on Edit Tags screen: – #43060
  • Display update notices when adding terms – #42937
  • Document that the get_terms filter can have null for $taxonomies#54222

Template

  • Fix “undefined index: 00” when archive month query is empty in wp_title()#31521

Themes

  • Avoid fatal error loading adminadmin (and super admin) styles when SCRIPT_DEBUG is false#54401, #54336
  • Check both parent and child themes for a theme.json file – #54401
  • Force a scrollbar on the Themes page to prevent visual shake on hover – #53478
  • Twenty Twenty-Two is now the default theme – #54318
  • Update 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. classes for WordPress 5.9 – #54336
  • Hide Customize from admin bar when using a block theme – #54337

Upgrade/Install

  • Deactivate the Gutenberg plugin if its version is 11.8 or lower – #54405
  • Update screen reader text counts in adminbar – #29022

Users

  • Introduce wp_list_users() function – #15145
  • Prevent infinite 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. when using capability checks during determine_current_user on multisitemultisite Used to describe a WordPress installation with a network of multiple blogs, grouped by sites. This installation type has shared users tables, and creates separate database tables for each blog (wp_posts becomes wp_0_posts). See also network, blog, site#53386

Widgets

  • Use isset() in WP_Widget:: display_callback() to support ArrayIterator and ArrayObject#52728
  • Wraps long widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. titles in classic Widgets screen – #37451

Props

Please note that it was the most prolific week since we restarted the Week in Core blogblog (versus network, site) posts last year!

Thanks to the 204 (!) people who contributed to WordPress Core on Trac last week: @hellofromTonya (28), @audrasjb (21), @sabernhardt (14), @desrosj (11), @sergeybiryukov (11), @costdev (10), @johnbillion (9), @oandregal (8), @spacedmonkey (7), @peterwilsoncc (7), @poena (6), @swissspidy (6), @afercia (6), @youknowriad (6), @noisysocks (5), @davidbaumwald (5), @hellofromtonya (4), @birgire (4), @TimothyBlynJacobs (4), @SergeyBiryukov (4), @mukesh27 (3), @Mamaduka (3), @adamsilverstein (3), @antonvlasenko (3), @aristath (3), @pento (3), @dd32 (3), @chaion07 (3), @westonruter (3), @jorbin (3), @TobiasBg (2), @chrisvanpatten (2), @joedolson (2), @soean (2), @dilipbheda (2), @manishamakhija (2), @kjellr (2), @garrett-eclipse (2), @flixos90 (2), @kafleg (2), @Clorith (2), @dlh (2), @Boniu91 (2), @justinahinon (2), @ryelle (2), @ocean90 (2), @mte90 (2), @hareesh-pillai (2), @jrf (2), @webcommsat (2), @drewapicture (2), @tobifjellner (2), @bgardner (1), @rviscomi (1), @sourav926 (1), @jonoaldersonwp (1), @azaozz (1), @briceduclos (1), @colorful-tones (1), @tweetythierry (1), @pbearne (1), @sebastianpisula (1), @aaroncampbell (1), @kapilpaul (1), @xknown (1), @chriscct7 (1), @donmhico (1), @gziolo (1), @malthert (1), @greenshady (1), @nacin (1), @rohan013 (1), @bernhard-reiter (1), @ntsekouras (1), @tw2113 (1), @Nikschavan (1), @keyur5 (1), @paaljoachim (1), @jdy68 (1), @dgwyer (1), @almendron (1), @kallookoo (1), @zieladam (1), @palmiak (1), @andraganescu (1), @dingo_d (1), @isabel_brison (1), @utz119 (1), @kadamwhite (1), @scruffian (1), @NateWr (1), @schlessera (1), @Spacedmonkey (1), @ribaricplusplus (1), @talldanwp (1), @wpscholar (1), @pgking (1), @andynick (1), @richtabor (1), @kraftbj (1), @dimadin (1), @gregrickaby (1), @ellenbauer (1), @jffng (1), @dansoschin (1), @karmatosed (1), @littlebigthing (1), @williampatton (1), @onemaggie (1), @matveb (1), @mburridge (1), @mtoensing (1), @nickcernis (1), @nielslange (1), @wparslan (1), @georgestephanis (1), @davidkryzaniak (1), @lukecarbis (1), @galbaras (1), @jdgrimes (1), @justindocanto (1), @kwisatz (1), @liammitchell (1), @lucasw89 (1), @nettsite (1), @dpegasusm (1), @nlpro (1), @procodewp (1), @psufan (1), @richardfoley (1), @skunkbad (1), @travisnorthcutt (1), @fpcsjames (1), @asif2bd (1), @zoiec (1), @ianhayes94 (1), @david.binda (1), @mista-flo (1), @jeffpaul (1), @bravokeyl (1), @gkloveweb (1), @hitendra-chopda (1), @ovann86 (1), @anthonyeden (1), @pankajmohale (1), @sabrib (1), @xkon (1), @dlt101 (1), @mnelson4 (1), @datainterlock (1), @anandau14 (1), @woodyhayday (1), @henrywright (1), @aadilali (1), @jeremyescott (1), @davidmosterd (1), @herregroen (1), @michelwppi (1), @kebbet (1), @iaaxpage (1), @mclaurent (1), @theMikeD (1), @paulschreiber (1), @jeremyfelt (1), @dontgo2sleep (1), @swb1192 (1), @afragen (1), @JeffPaul (1), @Collizo4sky (1), @antpb (1), @hasanuzzamanshamim (1), @jigneshnakrani (1), @sourovroy (1), @rachelbaker (1), @soniakash (1), @benitolopez (1), @danielbachhuber (1), @PieWP (1), @szaqal21 (1), @mjulian7 (1), @pputzer (1), @mamaduka (1), @karpstrucking (1), @mcjambi (1), @ashfame (1), @annezazu (1), @calebwoodbridge (1), @guillaumeturpin (1), and @timothyblynjacobs (1).

Congrats and welcome to our 36 (!!) new contributors of the week: @manishamakhija, @rviscomi, @briceduclos, @keyur5, @kallookoo, @pgking, @andynick, @dansoschin, @mburridge, @mtoensing, @nickcernis, @wparslan, @justindocanto, @kwisatz, @liammitchell, @lucasw89, @nettsite, @dpegasusm, @psufan, @skunkbad, @zoiec, @ianhayes94, @anthonyeden, @sabrib, @dlt101, @datainterlock, @woodyhayday, @aadilali, @mclaurent, @dontgo2sleep, @swb1192, @hasanuzzamanshamim, @benitolopez, @mjulian7, @mcjambi, @calebwoodbridge. ♥️

Core committers: @hellofromtonya (23), @desrosj (18), @noisysocks (14), @joedolson (12), @sergeybiryukov (8), @jorgefilipecosta (7), @davidbaumwald (6), @peterwilsoncc (5), @timothyblynjacobs (5), @westonruter (4), @johnjamesjacoby (2), @jorbin (1), @johnbillion (1), @spacedmonkey (1), @adamsilverstein (1), @ocean90 (1), @youknowriad (1), @flixos90 (1), @antpb (1), @jffng (1), and @ryelle (1).

#5-8-2, #5-9, #core, #week-in-core

A Week in Core – November 8, 2021

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 November 1 and November 8, 2021.

  • 60 commits
  • 115 contributors
  • 45 tickets created
  • 5 tickets reopened
  • 35 tickets closed

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

Worth noting that each feature slated to the 5.9 milestone has been validated, that the Twenty Twenty-Two Theme development is on the way, and the 5.9 bug scrub schedule has been published 🚀

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

  • Make dashboard widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. control submit button text more clear – #54229
  • reword some “we” usages – #46057

Application Passwords

  • display guiding text & link in user-edit.php when unavailable – #53658

Build/Test Tools

  • Add end-to-end (e2e) tests for edit posts page – #49507
  • Add missing @covers and visibility for Tests_Admin_includesMisc#39265
  • Add missing @covers tags for Tests_Admin_includesFile#39265
  • Add missing @covers tags for Tests_Admin_includesListTable#39265
  • Introduce local visual regressionregression A software bug that breaks or degrades something that previously worked. Regressions are often treated as critical bugs or blockers. Recent regressions may be given higher priorities. A "3.6 regression" would be a bug in 3.6 that worked as intended in 3.5. testing – #49606
  • Pass workflow outcome to SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. Notifications – #53363
  • Restore changes 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.#54054
  • Restore the https URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org for browserify-aes#54054
  • Remove polyfills from 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. view scripts – #53690
  • Clean up the $_REQUEST superglobal in WP_UnitTestCase_Base::clean_up_global_scope()#53363
  • Correct @covers tags in WP_Comments_List_Table tests – #39265
  • Split WP_Posts_List_Table and WP_Comments_List_Table tests into two separate files for clarity – #53363

Bundled Themes

  • TwentySixteen – correct 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. CSSCSS Cascading Style Sheets. font-style value – #46807
  • Add privacy policy link to Twenty Twenty footer – #53446
  • Ensure logo displays in CustomizerCustomizer Tool built into WordPress core that hooks into most modern themes. You can use it to preview and modify many of your site’s appearance settings. previewer – #51337
  • Remove the “role” attribute on HTMLHTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. elements with a default landmark role – #54079

Code Modernization

  • Pass correct default value to http_build_query() in get_core_checksums() and wp_version_check()#54229

Coding Standards

  • Add public visibility to methods in tests/phpunit/includes/#54177
  • Add visibility to methods in tests/phpunit/tests/#54177
  • Consistently escape attribute in wp-admin/themes.php#54256
  • Fix some WPCSWordPress Coding Standards A collection of PHP_CodeSniffer rules (sniffs) to validate code developed for WordPress. It ensures code quality and adherence to coding conventions, especially the official standards for WordPress Core. errors and warnings in wp-admin/user-edit.php#53658
  • Move wp-includes/class-http.php to wp-includes/class-wp-http.php#54389, #53359
  • Rename the $strResponse argument to $str_response in WP_Http::processResponse()#53359

Comments

  • Add noopener noreferrer to author links in list table – #40916
  • Avoid reparenting during post deletion – #37703
  • Mark comment text field as required – #16206
  • remove bespoke truncation from search string HTML – #17636
  • attempt to clarify intent of “Default post settings” section – #54300

Customize

  • Fix focus() to collapse child panels and show parent panel – #34436
  • Make range controls full width – #54329

Docs

  • Clarify the path usage register_block_type_from_metadata – #53806
  • Fix some docblockdocblock (phpdoc, xref, inline docs) syntax errors and add a missing canonical reference – #53399, #52867, #38942, #53668
  • Various docblock improvements and corrections – #53399

Editor

  • Update structure of title element for editing – #52314

External Libraries

  • Update the Iris color picker to version 1.1.1 – #54224

General

  • Remove the svn:executable property from wp-admin/_index.php#54321

Help/About

  • Improve the Welcome text in wp-admin/_index.php#54321
  • Improve typography in the Welcome to your WordPress Dashboard! text – #54321
  • Simplifies WordPress version in “Help” sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme.#47848
  • add WordPress version to contextual “Help” sidebar area – #47848

Media

  • Add 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. for post thumbnail id – #23983
  • Add filter for post thumbnail url – #40547
  • Adjust alt text info link text – #48939
  • Remove security messaging in media upload failures – #53626
  • Use WP_Query::get() method to retrieve the posts_per_page value in wp_ajax_query_attachments()#54129

Menus

  • Include 960 exact pixel width in collapse measurements – #54210

Permalinks

  • Sanitize non-visible characters inside sanitize_title_with_dashes()#47912

Posts/Post Types

  • Add filter to is_post_type_viewable()#49628

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

  • Add URL Details endpoint – #54358
  • Allow sidebars and their widgets to be public – #53915
  • Improve translations, comments, and readability in URL Details endpoint – #54358
  • Support subdirectory themes in the Themes controller – #54349

Site Health

  • Add the constant WP_ENVIRONMENT_TYPE for debug data – #54340
  • Site Health: Update the icon used when no issues are reported – #53980

Themes

  • Introduce get_header_image_tag_attributes hook – #38942

Widgets

  • Add filter to disable RSS widget icon – #52224
  • Remove unused CSS breaking wp_text_diff layout – #54140

Props

Thanks to the 115 people who contributed to WordPress Core on Trac last week: @audrasjb (15), @hellofromTonya (14), @sabernhardt (14), @costdev (8), @sergeybiryukov (6), @jrf (6), @peterwilsoncc (5), @justinahinon (4), @johnbillion (4), @andraganescu (4), @mukesh27 (4), @joedolson (3), @sabbirshouvo (3), @hareesh-pillai (3), @marybaum (3), @pbearne (3), @SergeyBiryukov (3), @johnjamesjacoby (2), @swissspidy (2), @youknowriad (2), @talldanwp (2), @hellofromtonya (2), @knutsp (2), @azaozz (2), @isabel_brison (2), @spacedmonkey (2), @webcommsat (2), @dlh (2), @karmatosed (2), @afercia (2), @antpb (2), @desrosj (2), @iluy (2), @mai21 (2), @tobifjellner (1), @danfarrow (1), @mnelson4 (1), @donmhico (1), @noisysocks (1), @netweb (1), @shaunandrews (1), @obenland (1), @ocean90 (1), @retrofox (1), @timothyblynjacobs (1), @domainsupport (1), @xknown (1), @marekhrabe (1), @ipstenu (1), @jakubtyrcha (1), @get_dave (1), @webaxones (1), @lukecavanagh (1), @tobiasbg (1), @wpweaver (1), @abesell132 (1), @junaidbhura (1), @chaion07 (1), @shital-patel (1), @mamaduka (1), @aduth (1), @ashfame (1), @davidwebca (1), @beaulebens (1), @poena (1), @kevin940726 (1), @paaljoachim (1), @dhanendran (1), @Ankit K Gupta (1), @aristath (1), @westonruter (1), @alexvorn2 (1), @deepaklalwani (1), @jackreichert (1), @ibenic (1), @joemcgill (1), @rzen (1), @leogermani (1), @sebastianpisula (1), @gilbitron (1), @engelen (1), @kapilpaul (1), @strider72 (1), @rianrietveld (1), @solarissmoke (1), @infected (1), @Boniu91 (1), @mikeschroder (1), @circlecube (1), @Presskopp (1), @melchoyce (1), @powerbuoy (1), @ryelle (1), @celloexpressions (1), @ryokuhi (1), @malae (1), @Cybr (1), @mattwiebe (1), @Clorith (1), @erayalakese (1), @adam3128 (1), @cybr (1), @coreyw (1), @craigfrancis (1), @acosmin (1), @hilayt24 (1), @zodiac1978 (1), @Mte90 (1), @zieladam (1), @generosus (1), @kraftbj (1), @bjorsch (1), @bgoewert (1), @boniu91 (1), @mt8.biz (1).

Congrats and welcome to our 12 (!) new contributors of the week: @iluy, @domainsupport, @webaxones, @abesell132, @davidwebca, @gilbitron, @infected, @adam3128, @hilayt24, @generosus, @bjorsch, @bgoewert ♥️

Core committers: @hellofromtonya (19), @sergeybiryukov (12), @johnjamesjacoby (9), @joedolson (5), @antpb (4), @johnbillion (2), @clorith (2), @timothyblynjacobs (2), @gziolo (2), @peterwilsoncc (1), @davidbaumwald (1), @desrosj (1).

#5-8-2, #5-9, #core, #week-in-core

A Week in Core – November 1, 2021

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 October 25 and November 1, 2021.

  • 33 commits
  • 38 contributors
  • 44 tickets created
  • 5 tickets reopened
  • 34 tickets closed

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

Worth noting that each feature slated to the 5.9 milestone has been validated, that the Twenty Twenty-Two Theme development is on the way, and the 5.9 bug scrub schedule has been published 🚀

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

  • Hide mobile menu on focusout – #53587

Application Passwords

  • Add end-to-end (e2e) tests – #54241
  • Various docblockdocblock (phpdoc, xref, inline docs) improvements – #53399, #42790

Build/Test Tools

  • Adjust SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notifications for scheduled and workflow_dispatch events – #53363
  • Escape $ within commit messages for $variables#53363
  • Ignore “null to nullable” deprecations for select tests – #53635
  • Use 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 a GitHubGitHub GitHub is a website that offers online implementation of git repositories that can 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/ Action workflow run – #53363
  • Some test improvements for clean_dirsize_cache() tests: – #52241, #53363

Coding Standards

  • Correct alignment in WP_Site_Health::get_test_update_temp_backup_writable()#51857, #53359
  • Correct alignment in wp_enqueue_global_styles()#53359
  • Rename the $process variable to $processed_response for clarity in WP_Http_Streams::request()#53359

Date/Time

  • Improve the docblocks for various date and time related functions – #53399, #28992, #40653

Docs

  • Add a @since note for the rest_namespace argument of register_post_type() and register_taxonomy()#53399
  • Add a @since note to WP_REST_Post_Types_Controller::get_item_schema() for the supports and visibility properties – #53399
  • Document the usage of some globals in wp-includes/script-loader.php#53399
  • Further update the debug_information 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. description per the documentation standards – #53399
  • Miscellaneous docblock improvements – #53399
  • Miscellaneous docblock improvements – #53399

Editor

  • Include post’s title in editor title element – #52314

General

  • Remove role="navigation" from nav elements – #54054

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. 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 suggested filename support to download_url()#38231

KSES

  • Add options for restricting tags based upon their attributes – #54261

Media

  • Close attachment details modal with esc key – #53924
  • Remove deprecated click function in media uploader – #53261

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

  • Add visibility information to the Post Types controller – #54055
  • Send a 500 status code when 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. encoding fails – #53056
  • Support custom namespaces for custom post types – #53656
  • Support custom namespaces for taxonomies – #54267

Role/Capability

  • Add support for capability queries in WP_User_Query#16841

Script Loader

  • Correct the number of arguments passed to the closure in enqueue_block_styles_assets()#54323

Site Health

  • Correct and improve the documentation for the debug_information hook – #53399
  • Internationalizes count in the info section headings – #54341

Widgets

  • Use a text-based button to select location – #53311

Props

Thanks to the 38 people who contributed to WordPress Core on Trac last week: @swissspidy (5), @sabernhardt (4), @spacedmonkey (4), @peterwilsoncc (3), @costdev (3), @dd32 (2), @jrf (2), @ocean90 (2), @AmethystAnswers (1), @sourovroy (1), @kaneva (1), @vondelphia (1), @boonebgorges (1), @scribu (1), @lgladdly (1), @SergeyBiryukov (1), @aristath (1), @shimon246 (1), @gziolo (1), @cklosows (1), @johnjamesjacoby (1), @kapilpaul (1), @jorbin (1), @desrosj (1), @lalitjalandhar (1), @hermpheus (1), @pento (1), @isabel_brison (1), @kevin940726 (1), @juhise (1), @justinahinon (1), @mukesh27 (1), @hellofromTonya (1), @audrasjb (1), @alexstine (1), @skierpage (1), @johnbillion (1), and @psrpinto (1).

Congrats and welcome to our 5 new contributors of the week: @shimon246, @lalitjalandhar, @sourovroy, @vondelphia, and @kaneva ♥️

Core committers: @sergeybiryukov (9), @joedolson (6), @johnbillion (5), @timothyblynjacobs (4), @hellofromtonya (3), @desrosj (3), @pento (1), @swissspidy (1), and @johnjamesjacoby (1).

#5-8-2, #5-9, #core, #week-in-core

A Week in Core – October 25, 2021

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 October 18 and October 25, 2021.

  • 14 commits
  • 9 contributors
  • 37 tickets created
  • 5 tickets reopened
  • 31 tickets closed

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

Worth noting that each feature slated to the 5.9 milestone has been validated, that the Twenty Twenty-Two Theme development is on the way, and the 5.9 bug scrub schedule has been published 🚀

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.

We can note that there has been a decrease in the number of commits. Hopefully this will increase again quickly.

Code changes

Build/Test Tools

  • Use the correct workflow name in notifications on workflow_run#53363
  • Restore SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. notifications for older branches – #53363
  • Add @ticket references for page_on_front canonical tests – #53363
  • Adjustments as a follow up to [51921] – #53363
  • Modify the Slack notifications workflow to be a reusable one – #53363
  • Fix syntax for passing secrets to a called workflow – #53363
  • Pass required secrets to the Slack notifications workflow – #53363

Coding Standards

  • Rename $theHeaders variable to $processed_headers in WP_Http_Curl::request()#53359
  • Rename the $arrHeaders variable to $processed_headers in WP_Http_Streams::request()#53359
  • Escape id attributes in WP_Customize_Control::render_content() and ::print_template()#54295
  • Improve escaping in wp_login_form()#54279
  • Improve escaping in wp-admin/theme-install.php#54277

Docs

  • Use sign-up & signup consistently in wp-signup.php#54041, #53399

Help/About

  • Don’t output empty tags on Credits screen – #54275

Props

Thanks to the 9 people who contributed to WordPress Core on Trac last week: @audrasjb (3), @sabbirshouvo (3), @mukesh27 (3), @jeffpaul (1), @henry.wright (1), @SergeyBiryukov (1), @sabernhardt (1), @afragen (1), and @sayedulsayem (1).

Core committers: @sergeybiryukov (7), @desrosj (6), and @peterwilsoncc (1).

#5-8-2, #5-9, #core, #week-in-core

A Week in Core – October 18, 2021

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 October 11 and October 18, 2021.

  • 16 commits
  • 30 contributors
  • 29 tickets created
  • 5 tickets reopened
  • 17 tickets closed

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

Worth noting that each feature slated to the 5.9 milestone has been validated, that the Twenty Twenty-Two Theme development is on the way, and the 5.9 bug scrub schedule has been published today 🚀

Ticketticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.

Code changes

Coding Standards

  • Add public visibility to methods in src directory – #54177
  • Add a leading zero in the CSSCSS Cascading Style Sheets. declarations printed by the print_emoji_styles() function – #54284
  • Consistently escape form action URLURL A specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org in wp-admin/update-core.php#54278

Cron

  • Fix malformed cron array in wp_schedule_single_event() when _get_cron_array() returns false#53950
  • Remove errant false values in cron array when upgrading to 5.9+ – #53950

Docs

  • Improve documentation for the tax_input parameter of wp_insert_post()#54264
  • Update WP_Date_Query documentation to reflect changes in accepted column names – #54248
  • Update documentation for the date_query_valid_columns 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.#54248#53550

Embeds

  • Add Wolfram Notebook as a trusted oEmbed provider – #53326

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 safeguard for 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. return from get_attached_file() in wp_delete_attachment()#52241
  • Fix autovivification deprecation notice in recurse_dirsize()#53635
  • Fix infinite 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. on Windows for clean_dirsize_cache()#52241

Internationalization

  • Add context for some Media Library filter strings: – #54238

Media

  • Display the unsaved changes dialog in image edit form using jQuery .text() function – #54232

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

  • Add text-field and textarea-field as available schema formats for string sanitization – #49960
  • Correct the order of the parameters documented for WP_REST_Server::respond_to_request()#53399

Props

Thanks to the 30 people who contributed to WordPress Core on Trac last week: @jrf (6), @audrasjb (4), @hellofromTonya (3), @jdy68 (2), @peterwilsoncc (2), @ocean90 (2), @mukesh27 (2), @johnjamesjacoby (2), @dimadin (2), @SergeyBiryukov (2), @TimothyBlynJacobs (1), @costdev (1), @sebastienserre (1), @janthiel (1), @isabel_brison (1), @desrosj (1), @josephdickson (1), @ekojr (1), @joegasper (1), @bartoszgrzesik (1), @teachlynx (1), @drosmog (1), @sjlevy (1), @codezen8 (1), @sergeybiryukov (1), @raubvogel (1), @dingo_d (1), @sabbirshouvo (1), @sabernhardt (1), and @justinahinon (1).

Congrats and welcome to our 7 new contributors of the week: @ekojr, @joegasper, @bartoszgrzesik, @teachlynx, @drosmog, @sjlevy, and @codezen8 ♥️

Core committers: @hellofromtonya (7), @sergeybiryukov (7), @johnbillion (1), @pento (1), and @rachelbaker (1).

#5-8-2, #5-9, #core, #week-in-core

A Week in Core – October 11, 2021

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 October 4 and October 11, 2021.

  • 16 commits
  • 30 contributors
  • 29 tickets created
  • 5 tickets reopened
  • 17 tickets closed

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

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

  • Allow 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 action links row to wrap – #53275

Build/Test Tools

  • Change the patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. version used for testing the 5.6 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". of PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher#54223

Bundled Themes

  • Twenty Twenty-One: Remove duplicate width and height values from social icons – #54208

Coding Standards

  • Use strict type check for in_array() in register_block_script_handle()#54206, #53359

Docs

  • Add a @since note for the new $parent_block parameter of several filters – #51612
  • Improve various inline documentation for adminadmin (and super admin) bar functions and hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same.#53399
  • Miscellaneous inline documentation improvements, including: – #53399

Editor

  • Apply the pre_render_block, render_block_data, and render_block_context filters when rendering inner/nested blocks – #51612

External Libraries

  • Revert [51900] for now to investigate test failures – #54162
  • Update getID3 to version 1.9.21 – #54162
  • Update jQuery UIUI User interface to 1.13.0 final – #52163

Permalinks

  • Move the NginxNGINX NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. https://www.nginx.com/. documentation link to help sidebarSidebar A sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme. in wp-admin/options-permalink.php#39258

Privacy

  • AccessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility): Use red color for action buttons on the Erase Personal Data screen: – #49603

Site Health

  • Use an integer value as a fallback in the available disk space check – #51857

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.

  • Populate the WP_Terms_List_Table::$items property in ::prepare_items()#54181

Upgrade/Install

Props

Thanks to the 30 people who contributed to WordPress Core on Trac last week: @audrasjb (4), @SergeyBiryukov (4), @azaozz (3), @mukesh27 (2), @sabernhardt (2), @hellofromTonya (2), @Clorith (2), @noisysocks (2), @peterwilsoncc (2), @aristath (2), @sergeybiryukov (2), @joedolson (1), @carike (1), @arena (1), @desrosj (1), @timlappe (1), @johnjamesjacoby (1), @jrf (1), @gaambo (1), @Presskopp (1), @laxman-prajapati (1), @max-dayala (1), @swissspidy (1), @mattoakley (1), @mgol (1), @TobiasBg (1), @pbiron (1), @galbaras (1), @afragen (1), and @ankit-k-gupta (1).

Congrats and welcome to our 3 new contributors of the week: @timlappe, @max-dayala, @mattoakley ♥️

Core committers: @sergeybiryukov (8), @hellofromtonya (3), @azaozz (2), @johnbillion (2), and @desrosj (1).

#5-8-2, #5-9, #core, #week-in-core

A Week in Core – October 4, 2021

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 September 27 and October 4, 2021.

  • 11 commits
  • 21 contributors
  • 31 tickets created
  • 4 tickets reopened
  • 23 tickets closed

The Core team is currently working on the next point (5.8.2) and major (5.9) releases 🛠

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

  • Enable first and last page buttons in WP_List_Table::pagination()#42763

App Passwords

  • Remove placeholder from the app password name input field – #54047

Coding Standards

  • Remove duplicate assignment from a ternary operator in WP_MS_Sites_List_Table::site_states()#38296
  • Use strict comparison in wp-includes/class-http.php#53359
  • Use strict comparison in wp-includes/class-wp-http-ixr-client.php#53359

Docs

  • Improve documentation for WP_Admin_Bar methods – #54191

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

  • Remove the DST Root CA X3 certificate expired on September 30, 2021 – #54207, #50828

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

  • Sort widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. types by their id – #53303

Bundled Themes

  • Twenty Twenty-One: Keep the closing </span> 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.) in footer links – #54209
  • Twenty Twenty-One: Remove duplicate class name from localized font-family elements – #54196
  • Twenty Twenty: Remove duplicate class name from localized font-family elements – #54196

Props

Thanks to the 21 people who contributed to WordPress Core on Trac last week: @audrasjb (4), @sabernhardt (3), @hellofromTonya (2), @mukesh27 (2), @aezazshekh (2), @tmatsuur (2), @rehanali (2), @joelcj91 (1), @SergeyBiryukov (1), @yagniksangani (1), @joedolson (1), @bradleyt (1), @seedsca (1), @fierevere (1), @Pillai (1), @Hareesh (1), @knutsp (1), @ronakganatra (1), @wp_kc (1), @spacedmonkey (1), and @desrosj (1).

Congrats and welcome to our 4 new contributors of the week: @rehanali, @yagniksangani, @Pillai, and @wp_kc ♥️

Core committers: @sergeybiryukov (8), @hellofromtonya (2), and @timothyblynjacobs (1).

#5-8-2, #5-9, #core, #week-in-core