Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No image in notification when I publish the video #12

Open
cvrle77 opened this issue May 21, 2024 · 1 comment
Open

No image in notification when I publish the video #12

cvrle77 opened this issue May 21, 2024 · 1 comment

Comments

@cvrle77
Copy link

cvrle77 commented May 21, 2024

There is a bug. Well, not a bug per se, but overlooking on your side.

I made a post, and placed a video inside the post instead of the image. By doing so, Wordpress doesn't generate featured image from video. For that purpose, I have a plugin (Automatic Featured Images from Videos) which grabs the thumbnail from the Youtube, and set it as featured image, during the Publish procedure, or if I save draft post.

Your plugin is rushing to send notification before this other plugin picks up the image (which happens when I press Publish), and as a result, featured image at that moment is blank. This results in a notification without image.

But this only happens on 1st post publish, because after the post publishing, featured image is grabbed and set, and I can send proper notifications.

Scheduling at this stage also wouldn't help, because it would still not be able to pick up the featured image that generates during the publishing procedure.

If you could set a plugin timing in such a fashion, to wait for other plugins to finish, and then start it's job, it would be great.
I am not sure how Perfecty solved that problem, maybe they always schedule notification a few seconds in the future after the post has been published, or something like that.

If you could rectify this problem, it would be great.

@muraliwebworld
Copy link
Owner

I will look into this in future because trigger is based on add action priority, in upcoming release i am changing add action trigger to transistion status (once status is changed) or i will add option to schedule inside the post the editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants