A Week in Core – December 27, 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 December 20 and December 27, 2021.

  • 28 commits
  • 45 contributors
  • 36 tickets created
  • 1 tickets reopened
  • 25 tickets closed

The Core team is currently working on the next major release, WordPress 5.9, and the beta 4 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

  • Add “File” to Theme/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 Editor menu names and relocate “Plugin File Editor” to Tools 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 – #54382
  • Make sure the $customize_url variable is always defined in the adminadmin (and super admin) menu – #54682

Application Passwords

  • Show 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. required message without filtering when not enabled or not in local environment – #53658

Build/Test Tools

  • Allow the PHPCSPHP Code Sniffer PHP Code Sniffer, a popular tool for analyzing code quality. The WordPress Coding Standards rely on PHPCS. plugin in Composer configuration – #54686
  • 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#54487
  • Separate the tests for recommended PHPPHP The web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher and MySQLMySQL MySQL is a relational database management system. A database is a structured collection of data where content, configuration and other options are stored. https://www.mysql.com/. versions in readme.html#41490

Bundled Themes

  • Twenty Twenty-Two: Sync updates from 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/ for 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 – #54318

Coding Standards

Docs

  • Improve the @since 5.9.0 note for WP_Theme_JSON::PRESETS_METADATA#53399

Docs

  • Typo correction in validate_file() comments – #53399
  • Typo correction in wp_dropdown_languages() DocBlockdocblock (phpdoc, xref, inline docs)#53399
  • Typo correction in wp_get_layout_style() introduced in 5.9 – #53399

Editor

  • Add edit_theme_options capabilities to wp_navigation post type – #54487
  • Add missing default template areas to the post/page editor settings – #54679
  • Add support for nameless font sizes in WP_Theme_JSON#54640, #54487
  • Explicitly declare $post_types and $area properties in WP_Block_Template class – #54670
  • Update wordpress packages for Beta 4 – #54487

External Libraries

  • Update the SimplePie library to version 1.5.7 – #54659
  • Update the SimplePie library to version 1.5.8 – #54659

General

  • Fix 'rel' argument in Tests_Functions_wpListBookmarks test datasets – #53839

Login and Registration

  • Use secondary button style for the Language switcher – #54692
  • Add 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. to allow to disable the Login screen language dropdown – #54675

Plugins

  • Escape the WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/ plugin page URL in the Plugin Installation modal – #54362

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

  • Support . in theme directory names in WP_REST_Global_Styles_Controller, WP_REST_Templates_Controller, and WP_REST_Themes_Controller#54596

Script Loader

  • Skip getting 'can_compress_scripts' option in script_concat_settings() during install – #54634

Toolbar

  • Show the Customize link on front end when using a block theme if any plugins use 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.#54683

Props

Thanks to the 45 people who contributed to WordPress Core on Trac last week: @costdev (7), @hellofromTonya (8), @SergeyBiryukov (5), @audrasjb (5), @jrf (4), @johnbillion (3), @spacedmonkey (2), @schlessera (2), @david.binda (2), @pbiron (2), @ocean90 (2), @marybaum (1), @walbo (1), @youknowriad (1), @rickcurran (1), @TimothyBlynJacobs (1), @ntsekouras (1), @get_dave (1), @joyously (1), @bijayyadav (1), @kafleg (1), @felipeelia (1), @williampatton (1), @manfcarlo (1), @chintan1896 (1), @joen (1), @Mamaduka (1), @dimadin (1), @henry.wright (1), @aezazshekh (1), @rainbowgeek (1), @afragen (1), @sabernhardt (1), @faisal03 (1), @gziolo (1), @jameskoster (1), @poena (1), @annezazu (1), @clorith (1), @courane01 (1), @dryanpress (1), @desrosj (1), @Presskopp (1), @ipstenu (1), and @kjellr (1).

Congrats and welcome to our 5 new contributors of the week: @rickcurran, @bijayyadav, @manfcarlo, @aezazshekh, @rainbowgeek ♥️

Core committers: @sergeybiryukov (12), @hellofromtonya (8), @audrasjb (6), @isabel_brison (1), and @jffng (1).

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