Welcome back to a new issue of Week in Core Core is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on Trac An open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between April 4 and April 11, 2022.
- 77 commits
- 119 contributors
- 38 tickets created
- 4 tickets reopened
- 63 tickets closed
The Core team is currently working on the next major 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., WP 6.0 🛠
Ticket Created for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.
Code changes
Administration
- Allow floats for menu positions – #40927
- Improved padding for pagination setting fields – #54219
- Remove self-reference (“we”) in WordPress Admin (and super admin) – #46057
- Remove term page check from
ajax-response.js
– #55078, #54955 - Replace “can not” with “cannot” after [53131]
- Replace “can not” with “cannot” after [53131] – #46057, #38913
- Restore the correct escaping function for base64-encoded SVG icons in the admin menu – #55539
- Revert accidental changes made to
theme.json
in changeset [53131] - Revert unwanted spaces found in
theme.json
after [53131]
Application Passwords
- Use a more appropriate helper text message for super-admins – #53234
Block Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. Editor
- Backport A port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. the Global Styles Variations endpoint – #55505
Block Editor
- Synchronize global styles endpoint code with Gutenberg 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/ – #55505
Build/Test Tools
- Improve the accuracy of “fixed” Slack 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 – #54742
- Prevent error when workflows run for new branches and tags – #54742
- Update all 3rd party actions to their latest versions – #54725
- Update generated CSS Cascading Style Sheets. files after [53141] – #55559
- Update some NPM dependencies to the latest versions – #54727
- Bring
caniuse-lite
to the latest version – #51750, #55505 - Enable React React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. Fast Refresh for block development – #51750, #55505
- Fix
npm install
on Apple Silicon – #52690 - Update webpack to v5.x – #51750
- Improve code comments for block supports tests – #55505
Bundled Themes
- Twenty Twenty One: Prevent loading translation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. file twice – #53589
- Twenty Twenty: Improve padding for
number
input type – #53115
Code Modernization
- Rename parameters that use reserved keywords in
wp-admin/includes/class-wp-posts-list-table.php
– #55327 - Rename parameters that use reserved keywords in
wp-admin/includes/class-wp-site-health.php
– #55327 - Rename parameters that use reserved keywords in
wp-admin/includes/class-wp-site-icon.php
– #55327
Customize
- Use correct dashicon for external links in the Additional CSS section – #55542
Docs
- Adjust DocBlock (phpdoc, xref, inline docs) formatting for
wp_robots_*()
and related functions – #54729 - Adjust some deprecated function DocBlocks – #54729
- Misc. docblock fixes in
wp-admin/includes/mic.php
, as per documentation standards – #54729
Editor
- Add
localAutosaveInterval
preference to editor settings – #55505 - Add changes for new Comments Query Loop 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. blocks – #55505
- Add functionality required for theme export in the site editor – #55505
- Add missing
defaultDutone
changes – #55505 - Allow registration of blocks that include assets from within a theme – #54647, #55513
- Backport block support changes from the Gutenberg plugin 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 – #55505
- Fix post lock data inconsistencies – #55238
- Limit display of tags on classic editor – #55052
- Make block type aware of the
ancestor
field – #55531 - Remove loading remote patterns from editor pages – #55505
- Soft deprecate block supports functions – #55505
- Update
build_comment_query_vars_from_block
from Gutenberg – #55505 - Update layout handling for block supports – #55505
- Update preload paths for post, site and widgets editors – #55505
- Env: Revert accidental changes to the config – [53070]
- Resolve homepage template on server-side – #55505
Embeds
- Add YouTube shorts to the allow list – #55528
Feeds
- Remove comment feed HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. headers when empty – #54703
Formatting
- Avoid escaping valid XML values in
esc_xml()
– #55399
General
- add missing
strong
tag 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 some error messages – #54437
I18N Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.
- Add missing translator comment for application password helper text for Super Admins – #53234
Login, Registration
- Fix coding standards errors in [53067] – #35500
- Prevent password reset to whitespace alone – #35500
Media
- Align username and post title in Save postbox – #55508
Networks and Sites
- Improve cache key generation in
WP_Network_Query
class – #55461 - Improve cache key generation in
WP_Site_Query
class – #55462 - Increase sort options in
WP_Site_Query
– #55226 - Remove duplicate cache entry – #42070
Permalinks
- Improve settings page error messages – #53141
Plugins
- Introduce the
plugin_install_description
filter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. – #55480 - Update item count when plugin deleted – #55316
Posts, Post Types
- Add object type specific registration filters – #53212
- Make permalink fully visible on mobile – #54811
Query
Quick/Bulk Edit
- Fix initial focus and keyboard operability – #35483
- Fix padding in term quick edit – #35483
REST 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/.
- Use
rest_parse_embed_param
function in WP_REST_Server
class – #54015 - Fix the wrong name in the comments controller – #55505
Script loader
- Add
wp-a11y
as dependency of wp-ajax-response
– #55544, #42937
Taxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. https://codex.wordpress.org/Taxonomies#Default_Taxonomies.
- Show error message for terms without a name – #47018
Toolbar
- Add a filter to help remove site icons from toolbar for large multisite 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, and lazy load them by default – #54447
Upgrade/Install
- Prevent JS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. bug 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. filling new passwords – #53974, #52086
Users
- Improve wording of the “New Admin Email Address” email – #45915
- Prevent author changes in bulk editor on large sites – #38741
- Use autocomplete values on user profiles – #43886, #52714
Props
Thanks to the 119 (!) people who contributed to WordPress Core on Trac last week: @SergeyBiryukov (10), @audrasjb (9), @sabernhardt (9), @peterwilsoncc (8), @costdev (7), @johnbillion (7), @justinahinon (5), @davidbaumwald (5), @poena (5), @afercia (4), @kebbet (4), @johnjamesjacoby (4), @ramonopoly (4), @jrf (4), @spacedmonkey (4), @aristath (3), @afragen (3), @oandregal (3), @chaion07 (3), @walbo (3), @timothyblynjacobs (3), @Spacedmonkey (3), @Mamaduka (3), @mukesh27 (3), @azouamauriac (2), @jsnajdr (2), @swissspidy (2), @flixos90 (2), @gziolo (2), @hellofromTonya (2), @pbearne (2), @zieleadam (2), @lkraav (2), @ajlende (2), @furi3r (2), @desrosj (2), @darerodz (2), @antonvlasenko (2), @pbiron (2), @boonebgorges (2), @ocean90 (2), @rsiddharth (1), @Cybr (1), @kirtan95 (1), @TimothyBlynJacobs (1), @welcher (1), @dd32 (1), @justinbusa (1), @jb510 (1), @tobifjellner (1), @georgestephanis (1), @danielbachhuber (1), @lenasterg (1), @konradyoast (1), @wslyhbb (1), @birgire (1), @pross (1), @youknowriad (1), @henry.wright (1), @voldemortensen (1), @antonrinas (1), @jorbin (1), @aaronrobertshaw (1), @uday17035 (1), @WraithKenny (1), @azaozz (1), @conner_bw (1), @pikamander2 (1), @talldanwp (1), @whoisnegrello (1), @fabiankaegy (1), @w33zy (1), @KProvance (1), @bookdude13 (1), @TwisterMc (1), @clonemykey (1), @mitogh (1), @cbigler (1), @brookedot (1), @bedas (1), @agepcom (1), @adi64bit (1), @joedolson (1), @johnregan3 (1), @ryokuhi (1), @Boniu91 (1), @drago239 (1), @rachelbaker (1), @barryceelen (1), @milana_cap (1), @dlh (1), @scruffian (1), @marybaum (1), @shital-patel (1), @rumpel2116 (1), @charlyox (1), @Eric3D (1), @sumitsingh (1), @wpmakenorg (1), @oakesjosh (1), @NekoJonez (1), @mehedi890 (1), @Ankit K Gupta (1), @nayana123 (1), @ugyensupport (1), @helgatheviking (1), @zodiac1978 (1), @waterfire (1), @espiat (1), @thomasplevy (1), @Synchro (1), @sebastienserre (1), @Presskopp (1), @mkox (1), @mirkolofio (1), @michelangelovandam (1), @kubiq (1), @jadpm (1), and @sbossarte (1).
Congrats and welcome to our 19 (!) new contributors of the week: @furi3r, @kirtan95, @wslyhbb, @whoisnegrello, @w33zy, @KProvance, @TwisterMc, @clonemykey, @agepcom, @adi64bit, @drago239, @rumpel2116, @charlyox, @Eric3D, @wpmakenorg, @waterfire, @mirkolofio, @michelangelovandam, @sbossarte ♥️
Core committers: @gziolo (20), @peterwilsoncc (19), @audrasjb (14), @sergeybiryukov (9), @desrosj (5), @joedolson (5), @spacedmonkey (3), and @youknowriad (2).
#6-0, #core, #week-in-core