Opened 4 years ago
Last modified 4 years ago
#53057 new enhancement
Added AJAX_DEBUG Constant for better ajax debugging
Reported by: | parroty | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | javascript, administration | Cc: |
Description
AJAX_DEBUG = true will added action as url parameter debug=AJAX_ACTION. This will help developers to filter out the ajax requests from Browser Developer Tools Network tab, without having to click every ajax request to check what it is for.
Its been bothering me a lot and i think it bothered lot or other developers too. for every ajax call I have to click on each request ( in case there are multiple network request listed ) and have to check the request data or the request parameters to figure out which is my request.
This will help developers to just use search filter from network tab for filtering out their own request or any other request he/she want to check.
Change History (3)
This ticket was mentioned in PR #1195 on WordPress/wordpress-develop by Bhardwaj-Raghav.
4 years ago
#1
- Keywords has-patch added
AJAX_DEBUG = true will added action as url parameter debug=AJAX_ACTION. This will help developers to filter out the ajax requests from Browser Developer Tools Network tab, without having to click every ajax request to check what it is for.
Its been bothering me a lot and i think it bothered lot of other developers too. For every ajax call, I have to click on each request ( in case there are multiple network request listed ) and have to check the request data or the request parameters to figure out which one is my request.
This will help developers to just use search filter from network tab for filtering out their own request or any other request they want to check.
Trac ticket: https://core.trac.wordpress.org/ticket/53057#ticket