imFORZA / wp-listings-pro

WP Listings Pro
1 stars 1 forks source link

Add permissions check to REST API calls #155

Closed sfgarza closed 7 years ago

sfgarza commented 7 years ago

Nonces are being sent! But now we gotta do something with them. To properly restrict API calls to only users logged into wordpress we need to do a permissions check. Refer to idxFORZA for reference. https://github.com/imFORZA/idxforza/blob/master/admin/rest-api.php