Title: Miscellaneous developer changes in WordPress 6.3
Author: Steven Lin
Published: July 18, 2023
Last modified: July 27, 2023

---

 [  ](https://profiles.wordpress.org/stevenlinx/) [Steven Lin](https://profiles.wordpress.org/stevenlinx/)
1:00 pm _on_ July 18, 2023     
Tags: [6-3 ( 70 )](https://make.wordpress.org/core/tag/6-3/),
[dev-notes ( 654 )](https://make.wordpress.org/core/tag/dev-notes/), [dev-notes-6.3 ( 17 )](https://make.wordpress.org/core/tag/dev-notes6-3/)

# Miscellaneous developer changes in WordPress 6.3

## Administration

Added the `no-store` and `private` directives to the `Cache-Control` 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 prevent caching for logged in users. This prevents sensitive data on logged-in
users from being cached and available to others, for example, via the browser history
after the user logs out. ([#21938](https://core.trac.wordpress.org/ticket/21938))

## External Libraries

jQuery has been updated from v3.6.4 to v3.7.0. ([#58083](https://core.trac.wordpress.org/ticket/58083))

The latest version of jQuery includes 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, a new method
called `.uniqueSort()`, Sizzle selector engine, and a performance improvement for
some use cases when using manipulation methods like `.append()`.

The `.uniqueSort()` method is used to sort an array or an array-like object of DOM
elements and remove any duplicate nodes.

[Sizzle](https://github.com/jquery/jquery/commit/6306ca499433c45b58a02f1cf3a76cbafbc4a391),
its selector engine, has been included as [inlined code](https://github.com/jquery/jquery/commit/6306ca499433c45b58a02f1cf3a76cbafbc4a391)
and removed as a project dependency, along with the removal of some workarounds 
for legacy browsers in the process.

References:

 * [jQuery 3.7.0 release notes](https://blog.jquery.com/2023/05/11/jquery-3-7-0-released-staying-in-order/)
 * [Full list of changes in jQuery 3.7.0](https://github.com/jquery/jquery/compare/3.6.4...3.7.0)

## Login and Registration

### Adding `required` attributes to username and password input fields

In WordPress 6.3, the WordPress login form includes the `required` attributes for
username and password fields, resolving ticketticket Created for both bug reports
and feature development on the bug tracker. [#32510](https://core.trac.wordpress.org/ticket/32510).
This change, while minor, may have some ramifications for 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/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. developers.

The change adds semantic clarity to explicitly mark these fields as required, reinforcing
the implied expectation that has always been in place for login fields.

#### Impact for Developers

Plugins that bypass login fields or login via alternative methods using the login
page may need to adapt by removing the input fields or removing the `required` attribute.

Props [@joedolson](https://profiles.wordpress.org/joedolson/) for the dev notedev
note Each important change in WordPress Core is documented in a developers note,(
usually called dev note). Good dev notes generally include a description of the 
change, the decision that led to this change, and a description of how developers
are supposed to work with that change. Dev notes are published on Make/Core blog
during the beta phase of WordPress release cycle. Publishing dev notes is particularly
important when plugin/theme authors and WordPress developers need to be aware of
those changes.In general, all dev notes are compiled into a Field Guide at the beginning
of the release candidate phase..

## Media

The fallback return value in `get_the_author()` is corrected to return an empty 
string if called before `$authordata` is set. This fixes PHPPHP The web scripting
language in which WordPress is primarily architected. WordPress requires PHP 7.4
or higher 8.1 “null to non-nullable” deprecation notice in `ent2ncr()` function 
that is hooked via `the_author` filterFilter Filters are one of the two types of
Hooks [https://codex.wordpress.org/Plugin_API/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.. ([#58157](https://core.trac.wordpress.org/ticket/58157))

## Plugins

A new `plugins_list` filter hook is introduced, which can be used to filter the 
list of plugins (including those that are “must-use / mu”) that are displayed on
the WP Adminadmin (and super admin) Plugins screen. ([#57278](https://core.trac.wordpress.org/ticket/57278))

    ```wp-block-code
    function wporg_filter_plugins_list( $plugins ) {
    	unset( $plugins['all']['test-plugin/test.php'] );
    	return $plugins;
    }
    add_filter( 'plugins_list', 'wporg_filter_plugins_list' );
    ```

## Posts, Post Types

A new post type label `item_trashed` is introduced, which allows the 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. editor to announce
the correct message when an entity is moved to the TrashTrash Trash in WordPress
is like the Recycle Bin on your PC or Trash in your Macintosh computer. Users with
the proper permission level (administrators and editors) have the ability to delete
a post, page, and/or comments. When you delete the item, it is moved to the trash
folder where it will remain for 30 days.. ([#51387](https://core.trac.wordpress.org/ticket/51387))

## Themes

Non-block themes without `theme.json` can opt-in to block link color tools and block
border tools via `add_theme_support()`. ([#58597](https://core.trac.wordpress.org/ticket/58597)
and [#58598](https://core.trac.wordpress.org/ticket/58598))

In the callback function that is hooked to the `after_setup_theme` action in your`
functions.php` of your theme, add the following inside the function:

opt-in to block link color tools:

    ```wp-block-code
    add_theme_support( 'link-color' );
    ```

![](https://core.trac.wordpress.org/raw-attachment/ticket/58597/Capture%20d%E2%80%
99%C3%A9cran%202023-06-22%20%C3%A0%2013.43.34.png)

opt-in to block border tools:

    ```wp-block-code
    add_theme_support( 'border' );
    ```

![](https://core.trac.wordpress.org/raw-attachment/ticket/58598/Capture%20d%E2%80%
99%C3%A9cran%202023-06-22%20%C3%A0%2013.49.25.png)

Props to [@audrasjb](https://profiles.wordpress.org/audrasjb/) for the visual assets.

## Users

A new `wp_update_user` action hook is introduced, which fires after the user has
been updated and emails have been sent. ([#57843](https://core.trac.wordpress.org/ticket/57843))

    ```wp-block-code
    add_action( 'wp_update_user', function ( $user_id, $userdata, $userdata_raw ) {
            echo $user_id;
            print_r( $userdata );
            print_r( $userdata_raw );
            exit;
    }, 10, 3 );
    ```

Props to [@costdev](https://profiles.wordpress.org/costdev/) and [@mikeschroder](https://profiles.wordpress.org/mikeschroder/)
for technical review, to [@milana_cap](https://profiles.wordpress.org/milana_cap/)
for review.

[#6-3](https://make.wordpress.org/core/tag/6-3/), [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/),
[#dev-notes6-3](https://make.wordpress.org/core/tag/dev-notes6-3/)

### Share this:

 * [  Threads ](https://make.wordpress.org/core/2023/07/18/miscellaneous-developer-changes-in-wordpress-6-3/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/core/2023/07/18/miscellaneous-developer-changes-in-wordpress-6-3/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/core/2023/07/18/miscellaneous-developer-changes-in-wordpress-6-3/?share=bluesky)
 * [  X ](https://make.wordpress.org/core/2023/07/18/miscellaneous-developer-changes-in-wordpress-6-3/?share=x)
 * [  Facebook ](https://make.wordpress.org/core/2023/07/18/miscellaneous-developer-changes-in-wordpress-6-3/?share=facebook)
 * [  LinkedIn ](https://make.wordpress.org/core/2023/07/18/miscellaneous-developer-changes-in-wordpress-6-3/?share=linkedin)

# Post navigation

[← Performance Chat Agenda: 18 July 2023](https://make.wordpress.org/core/2023/07/18/performance-chat-agenda-18-july-2023/)

[WordPress 6.3 Field Guide →](https://make.wordpress.org/core/2023/07/18/wordpress-6-3-field-guide/)