Closed joanrodas closed 4 years ago
@cristianraiber Fix for admin ajax already was merged before and now it reverted https://github.com/ColorlibHQ/simple-custom-post-order/pull/5/commits/4b244743d0e4d214e6c30a6622c2ddc2e8748536 Something wrong with it? Plugin again started overriding queries inside admin ajax requests.
is_admin() returns true when doing an AJAX request. Added "! wp_doing_ajax()" to check if AJAX is being used.