WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 8 weeks 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.


2 months ago

  • 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.

https://i0.wp.com/user-images.githubusercontent.com/47305069/115192507-8a7a1900-a108-11eb-9b5c-bdb5d450b906.jpg

Trac ticket: https://core.trac.wordpress.org/ticket/53057#ticket

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


8 weeks ago

#3 @joedolson
8 weeks ago

  • Focuses javascript administration added; accessibility removed
Note: See TracTickets for help on using tickets.