Make WordPress Core


Ignore:
Timestamp:
09/11/2022 08:44:50 PM (21 months ago)
Author:
joemcgill
Message:

Editor: Refresh nones for metaboxes after reauthentication.

This fixes an issue where metaboxes fail to save after a session expires and a user logs in again via the heartbeat API.

Props LinSoftware.
Fixes #52584.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/admin-filters.php

    r54094 r54122  
    8181
    8282add_filter( 'wp_refresh_nonces', 'wp_refresh_post_nonces', 10, 3 );
     83add_filter( 'wp_refresh_nonces', 'wp_refresh_metabox_loader_nonces', 10, 2 );
    8384add_filter( 'wp_refresh_nonces', 'wp_refresh_heartbeat_nonces' );
    8485
Note: See TracChangeset for help on using the changeset viewer.