Make WordPress Core

Opened 10 months ago

#49408 new enhancement

Why is the action wp_ajax_wp_link_ajax not using wp_send_json()

Reported by: stephanh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3.2
Component: General Keywords:
Focuses: coding-standards Cc:


The action now returns an array with results with the header content-type text/html
Should this not be application/json as achieved by the wp_send_json() function?


Attachments (1)

49408.patch (382 bytes) - added by stephanh 10 months ago.

Download all attachments as: .zip

Change History (1)

10 months ago

Note: See TracTickets for help on using tickets.