elementor / elementor/wp2static

Jobs are queued after saving a post even though the option is disabled

Open
#918 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1.5k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

When saving a post, it automatically queue jobs even when the `queueJobOnPostSave` option is disabled.

**To Reproduce**
1. Go to the Jobs Settings
2. In the 'Events to queue new jobs' disable 'Queues a new job every time a Post or Page is saved.'
3. Click Save Job Automation Settings
4. Go to a post, and save
5. Notice that jobs are queued after saving the post.

**Expected behavior**
Jobs must not be queued after saving a post when the `queueJobOnPostSave` is disabled.

**Environment (please complete the following information):**
- WP2Static 7.2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.