[wp-trac] [WordPress Trac] #41387: Avoid 403's from AJAX requests from postbox.js
WordPress Trac
noreply at wordpress.org
Mon Nov 24 18:23:18 UTC 2025
#41387: Avoid 403's from AJAX requests from postbox.js
-----------------------------------------+-------------------------
Reporter: bobbingwide | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch reporter-feedback | Focuses: javascript
-----------------------------------------+-------------------------
Comment (by bobbingwide):
@adamsilverstein Hi Adam. Better late than never? I'm in the process of
revisiting this as I've recently started to make accessibility
improvements to my code. I came across a Color Contrast issue with the
screen reader text for Toggle panel. Believing that the core postbox code
didn't suffer from this problem I started to change my code to more
closely match core's output. After I'd changed it to more closely emulate
the postbox logic I once again noticed the 403's.
I have now seen your suggestion to override the postboxes Javascript.
It seems I need to override both save_order() and save_state().
PS. It appears that core suffers from the Color Contrast problem as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41387#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list