-
Notifications
You must be signed in to change notification settings - Fork 374
Description
What happened?
In the post editor (not site editor), if you try to enable the custom fields display panel (via [Kebab Menu] > Preferences > Panels > Additional), the editor doesn't reload and appears as if the setting did not persist. Manually reloading the page or navigating away and back shows that the setting was retained.
What was expected?
Applying the setting should reload the editor automatically, and then the custom fields area should be visible.
Steps to Reproduce
- Open a new or existing post.
- Open the "Kebab Menu" (three vertical dots) in the upper-right corner of the page, and select Preferences.
- Click the Panels tab and locate the "Custom fields" toggle.
- Toggle it on and click the "Show & Reload Page" button.
- Observe that the button shows progress, but appears to hang.
- Navigate away and back to the page, OR click in the Playground address bar (not the browser address bar!) and press Return to reload the editor.
- Observe that the custom fields panel is now visible in the editor.
- Unapplying the setting also requires manually reloading as indicated in Step 6.
Additional Details
-
The "Show & Reload Page" button changes to display progress, but then simply hangs.
-
DevTools: When the button is clicked, a beacon request is made to
/wp-admin/admin-ajax.php, but does not succeed, and a corresponding error appears in the JS console:[Error] Failed to load resource: The URL can’t be shown (post.php, line 0).
-
The same error appears whether on
/wp-admin/post.phpor/wp-admin/post-new.php.