Skip to main content
5 events
when toggle format what by license comment
Feb 14, 2021 at 13:49 comment added Kevin Yeah, that's why I built this plugin lol... to make that a bit easier to manage. Also, I have it currently setup to select whether they should be set in admin or just the front end, also gave a way to set custom domains... thanks
Feb 12, 2021 at 15:45 comment added Tom J Nowell Note that not all URLs map on to a post/page/cpt, e.g archives or virtual pages created via rewrite rules. You should also be careful you don't cripple your admin area, CSP's can make entire domain names unusable if you mess them up
Feb 12, 2021 at 15:21 vote accept Kevin
Feb 12, 2021 at 15:21 comment added Kevin yeah, I'm using wp_query to get all public posts/pages/cpts, and then I'm using curl to get the page content and parsing the returned html for each page... storing the resulting items grabbed from link, frame, script, img, etc... tags... cleaning out the duplicates, and then setting the CSP header.
Feb 12, 2021 at 15:15 history answered Tom J Nowell CC BY-SA 4.0