WPChill / download-monitor

A WordPress plugin which provides an intuitive UI for uploading and managing downloadable files (including support for multiple versions), inserting download links into posts & logging downloads.
http://wordpress.org/extend/plugins/download-monitor/
261 stars 117 forks source link

Remove nonce from WP set REST Endpoint #1383

Closed razvanaldea89 closed 8 months ago

razvanaldea89 commented 9 months ago

Describe the bug Remove the nonce from the WP set REST Endpoint and let it be handled by WP itself, as in certain situations may cause Bad Gateways ( https://github.com/WPChill/download-monitor/blob/master/src/Admin/Reports/class-dlm-reports.php#L167 ). Could not reproduce on my end but tested on client's and wiping out the nonce was the solution. ( https://support.wpchill.com/conversation/8504?folder_id=153 )

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Extensions installed and activated:

Additional context Add any other context about the problem here.

cristianraiber commented 8 months ago

Looks good from the code