POSTed arrays keep their values

前端 未结 1 856
梦毁少年i
梦毁少年i 2021-01-29 08:53

Today I noticed one of my Wordpress installations is behaving in a very strange way: whenever I update a post from the Dashboard, some of its extra inputs keep the values they a

相关标签:
1条回答
  • 2021-01-29 09:26

    I have found in the past, if I'm reusing an array, that I should unset that array each time when I'm done with it. That way you undoubtedly clear that array for reuse.

    0 讨论(0)
提交回复
热议问题