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 January 18, 2021 and January 25, 2021.
- 22 commits
- 31 contributors
- 50 tickets created
- 7 tickets reopened
- 47 tickets closed
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.
Code changes
App Passwords
- Extract Basic Auth check into a reusable filterable function – #52066
- Use correct translation The process (or result) of changing text, words, and display formatting to support another language. Also see localization, internationalization. function for a heading on Authorize Application screen – #52351
Blocks
- Add automatic RTL handlind for 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. styles registered from metadata – #52301
- Blocks: Add 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. support to
register_block_type_from_metadata
– #52301
Bundled Themes
- Twenty Twenty-One: Consistently use Yoda condition for
display_title_and_tagline
setting – #52329 - Twenty Twenty-One: Add missing HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. comments for
</header>
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.) – #52328 - Twenty Twenty-One: Add missing styles for
<button>
element – #52029 - Twenty Twenty-One: Clean up Button styles – #51927
Docs
- Correct default value for the
number
argument of wp_tag_cloud()
– #52348 - Document globals in
dropdown_categories()
and dropdown_link_categories()
– #41504 - Docs: Fix typo in
WP_Links_List_Table
DocBlock (phpdoc, xref, inline docs) – #52349
Export
- Create an export-specific 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. for post titles – #52250
External Libraries
- First pass at fixing jQuery deprecations in WordPress core and bundled themes – #51812
Media
- Ensure
get_post_status()
does not contain half a comment – #52326 - Ensure
get_post_status()
returns correct result for attachments – #52326
Menus
- Fix linting errors introduced in [50013] – #52189
- Make use of
wp_resolve_post_date()
when updating menu items – #52189
Posts
- Create a new function for resolving the post date – #52187
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/.
- Support type coercion when validating the
enum
JSON 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. Schema keyword – #51911 - REST API: Support embedding links in
rest_preload_api_request()
– #51722
Robots
- Introduce Robots API 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. – #51511
Toolbar
- Update Documentation and Support links – #52352
Upgrade/Install
- Display version number on the “Re-install now” button on WordPress Updates screen – #51774
Props
Thanks to everyone who contributed to WordPress Core on Trac last week:
@audrasjb (5), @jmdodd (3), @SergeyBiryukov (2), @mukesh27 (2), @TimothyBlynJacobs (2), @poena (2), @ocean90 (2), @pawki07 (2), @swissspidy (2), @timothyblynjacobs (2), @megphillips91 (1), @scruffian (1), @flixos90 (1), @peterwilsoncc (1), @allancole (1), @slaFFik (1), @afragen (1), @westonruter (1), @azaozz (1), @adamsilverstein (1), @freewebmentor (1), @Clorith (1), @akramipro (1), @spacedmonkey (1), @lpawlik (1), @aaroncampbell (1), @archon810 (1), @SeBsZ (1), @umangvaghela123 (1), @yakimun (1) and @aristath (1).
Please welcome our new Core contributor of the week ♥️ @akramipro
Core committers: @sergeybiryukov (11), @pento (3), @timothyblynjacobs (3), @peterwilsoncc (2), @gziolo (2) and @flixos90 (1).
#5-6-1, #5-7, #week-in-core