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
{{ message }}
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.
I have added our custom plugin to append a string to the Featured Image block (which was originally taken care of using 2 lines of PHP code - just saying).
When I run that, I get the Featured button and my text - but when I try to edit a post that already has a featured image, it is not pre-selected. If I try to select an image, I get "t is not a function" in edit-post.min.js:12:7166.
Something is amiss from the code provided (as it works fine when I just return original). Can you please provide functional code on how to handle this.
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have added our custom plugin to append a string to the Featured Image block (which was originally taken care of using 2 lines of PHP code - just saying).
Here is the JS file:
When I run that, I get the Featured button and my text - but when I try to edit a post that already has a featured image, it is not pre-selected. If I try to select an image, I get "t is not a function" in edit-post.min.js:12:7166.
Something is amiss from the code provided (as it works fine when I just return original). Can you please provide functional code on how to handle this.
Thanks.
The text was updated successfully, but these errors were encountered: