You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
When deleting a Job post or Resume post from the frontend (Job Dashboard), their translations are not automatically deleted. This occurs because WPML restricts the delete_post action to REST requests.
Describe the solution you'd like
For jobs
Open /wp-content/plugins/wp-job-manager/includes/class-job-dashboard-shortcode.php
Look for line 466
Replace:
case 'delete':
// Trash it.
wp_trash_post( $job_id );
Is your feature request related to a problem? Please describe
When deleting a Job post or Resume post from the frontend (Job Dashboard), their translations are not automatically deleted. This occurs because WPML restricts the
delete_post
action to REST requests.Describe the solution you'd like
For jobs
Same thing for Resumes
The text was updated successfully, but these errors were encountered: