[wp-trac] [WordPress Trac] #47391: AJAX Fails in 5.2.1. Update
WordPress Trac
noreply at wordpress.org
Thu May 30 18:02:43 UTC 2019
#47391: AJAX Fails in 5.2.1. Update
----------------------------+----------------------
Reporter: susanfla2 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Resolution: invalid
Keywords: site-health | Focuses:
----------------------------+----------------------
Comment (by susanfla2):
Ajax is part of the core of WordPress i.e., admin-ajax.php. Your latest
update (which I haven't installed yet) attempts to resolve the issue for
Site Health.
What I am seeing is several issues some of which existed prior to 5.2.1
update in the code but I can't locate the code anymore in the back-end to
resolve the problem. For example the following code is related to an old
theme which put random links in accordion of the customize panel:
<script type="text/javascript">
var ajaxurl = "\/wp-admin\/admin-ajax.php",
pagenow = 'customize';
</script>
The code exists in the admin-ajax.php for **pagenow** but doesn't remove
the links: see image. There is a series of this types of customization
the old theme put into the admin on updates.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47391#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list