Open AndreeaCristinaRadacina opened 6 months ago
@vytisbulkevicius @mghenciu I think we might need some clarification for the instant sharing feature.
Instant share
triggers the sharing immediately, as the name suggested.
We have a dedicated option for scheduling posts. They are shared when it hits the time set.
Users who use instant sharing and want the post published on a schedule should disable instant share for page (uncheck the box) and activate the schedules sharing option in the dashboard.
Also, I checked the code to see if the wanted behavior in the reported issue is somehow present and not functional. After reviewing, the workflow is not made with instant sharing as a part of scheduled post.
One trick I can do is stop the running of this code for scheduled posts if the Share Scheduled Posts
is active.
https://github.com/Codeinwp/tweet-old-post/blob/master/includes/admin/class-rop-admin.php#L870-L881
@Soare-Robert-Daniel,
But Instant sharing should share only sharing Published posts, why is it sharing Scheduled posts? I think the rule that should be in place is for the Instant Sharing functionality to check for Published posts available and Ignore any other type of posts.
Description
A user reported that when instant sharing is active, the posts that are scheduled in WP are instantly shared on social platforms, and once clicked, the user is redirected to a 404 page until the schedule condition is fulfilled.
ref: https://wordpress.org/support/topic/post-shared-when-scheduled/
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet or Help Scout ticket
The post scheduled for tomorrow is already shared, and the link points to a 404 page:
Environment info
No response
Is the issue you are reporting a regression
No