Notice on Adding a new Slider, Page, Post
-
Hi team,
Greetings of the day!!
With the new update on the 6th of July, there is a validation missing on the ‘save_post’ hook. It’s triggering a notice on adding any new slider, page, post, woocommerce product, order or any custom post.
https://www.awesomescreenshot.com/image/29859552?key=fd47ee7980ac819e78b37802bcce8b1a
I have fixed it by adding a condition to check if the global post is an instance of a WP_Post and it resolves the issue. Please let me know if it is a correct way of such an issue.
https://www.awesomescreenshot.com/image/29860344?key=181f3973ecc684859fd1a931cf87b0bfKindly fix this notice in your next release.
Thanks and Regards,
Dinesh Yadav.
- The topic ‘Notice on Adding a new Slider, Page, Post’ is closed to new replies.