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 5 and April 12, 2021.
- 26 commits
- 42 contributors
- 54 tickets created
- 9 tickets reopened
- 45 tickets closed
Reminder: WordPress 5.7.1 is planned for April 14, 2021. The release candidate is available for testing.
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
Administration
- Update various background colors for increased contrast – #52760
Build/Test Tools
- Remove remaining Travis CI references – #52161, #52666
- Prevent PHPUnit tests on
push
for forks/private mirrors – #52983 - Update dependencies in default themes – #52624
- Update development dependencies from WP packages – #52991
- Revert
package-lock.json
change in [50682] – #52768 - Update some dependencies – #52624
Bundled Themes
- Update the “Tested up to” value – #52859
- Twenty Twenty-One: Rebuild IE specific editor stylesheet – #52981, #52702
Coding Standards
- Rewrite a fragment in
request_filesystem_credentials()
for clarity and to avoid repetition – #52627 - Use strict comparison in
wp-admin/includes/file.php
– #52627 - Simplify the check for parent terms in
export_wp()
– #52627 - Use strict comparison in
wp-admin/includes/credits.php
– #52627 - Use strict comparison in
wp-admin/includes/comment.php
– #52627 - Remove unnecessary
unset()
calls in WP_Importer
methods – #52996 - Use strict comparison in
wp-admin/includes/dashboard.php
– #52627 - Give a variable in
wp-admin/themes.php
a more meaningful name – #52627
Customize
- Set `playsinline` attribute for custom header 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. videos – #50111
Editor
- Use a consistent way to retrieve post ID on Edit Post screens – #52995
- Ensure wordpress/inteface package is listed as a dependency – #52991
Login and Registration
- Check if
$_GET['login']
is set before using it in wp-login.php
– #52980
Media
- Do not lazy load hidden images or embeds – #52768
Options, Meta 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
- Update default color scheme swatch to match CSS Cascading Style Sheets. changes – #52750
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/.
- Move the
rest_jsonp_enabled
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. before setting the Content-Type header – #52691
Site Health
- Reduce false reports of HTTPS 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. failures – #52783
Themes
- Remove unused code fragment from
wp-admin/themes.php
– #53005
Props
Thanks to the 42 people who contributed to WordPress Core on Trac last week:
@peterwilsoncc (3), @SergeyBiryukov (3), @mukesh27 (3), @johnbillion (2), @TimothyBlynJacobs (2), @ocean90 (2), @ravipatel (2), @klevyke (1), @annalamprou (1), @AnotherDave (1), @ayeshrajans (1), @bobbingwide (1), @Clorith (1), @dragongate (1), @geoffrey1963 (1), @eatsleepcode (1), @gab81 (1), @ninetyninew (1), @Ipstenu (1), @k3nsai (1), @mmuyskens (1), @nicegamer7 (1), @pwallner (1), @ryelle (1), @swissspidy (1), @desrosj (1), @melchoyce (1), @dd32 (1), @rkradadiya (1), @davidbaumwald (1), @jrf (1), @rachelbaker (1), @kebbet (1), @adamsilverstein (1), @audrasjb (1), @fabianpimminger (1), @flixos90 (1), @jonkastonka (1), @joyously (1), @SirStuey (1), @satrancali (1), and @Toru (1).
Please welcome our 17 (!!) new Core contributors Core contributors are those who have worked on a release of WordPress, by creating the functions or finding and patching bugs. These contributions are done through Trac. https://core.trac.wordpress.org. of the week ♥️
@klevyke, @annalamprou, @AnotherDave, @dragongate, @geoffrey1963, @eatsleepcode, @gab81, @ninetyninew, @k3nsai, @mmuyskens, @nicegamer7, @pwallner, @rkradadiya, @fabianpimminger, @jonkastonka, @SirStuey, and @satrancali.
Core committers: @sergeybiryukov (11), @desrosj (5), @peterwilsoncc (4), @ocean90 (2), @gziolo (2), @rachelbaker (1), and @ryelle (1).
#5-7-1, #5-8, #week-in-core