@name breaks admin ajax
-
In postratings-admin-js.js, one of the jQuery selectors is:
jQuery("input[@name=postratings_image]:checked").val()
@attr was deprecated a long time and was removed from jQuery altogether, meaning that with recent versions of WordPress where jQuery is reasonably new, the update button in the backend does not work at all.
Replacing
@name
byname
fixes the problem.
- The topic ‘@name breaks admin ajax’ is closed to new replies.