Hi,
It works only in global setting. All field is saved.
But not working on individual pages.
Please advise.
-
This reply was modified 9 years, 1 month ago by
Claud Chan.
I’m having this same problem. I entered a couple hundred lines of code in a post, then clicked Update Scripts. Then I clicked on Save Draft to save the post and my code was obliterated.<br>
I notice the original post is over 3 weeks and hasn’t been answered yet. If you’re not supporting this code anymore, I’ll have to uninstall, this is unacceptable.
Hi, I also meet with such a bug on PHP7.1.
I find this bug is because the array to save the code is not initialized in the plugin.
You can search the code in scripts-n-styles plugin directory
`
$SnS = get_post_meta( $post_id, ‘_SnS’, true );
`
and insert
`
if(empty( $SnS )){
$SnS = array();
}
`
below search occurrences.
Thanks for contributing @lubobill1990 I’m going on vacation in a couple weeks, and I’ll try to patch this then.
This should be fixed now. If you’d like to test it out (3.4.1)
Also, let me know if you want to be listed under contributors.