Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed bug when changing number of Latests Posts rapidly was leading to some numbers being defunct. #4335
Latest posts block was using splice operation changing the original data array passed to it. This data array was the same being used in withAPIData cache leading to the cache being corrupted, so when returning to the same number of posts that were cached some posts were deleted.
How Has This Been Tested?
Increase and decrease the number of latest posts to show very fast (easy to with up&down keys) verify the number of posts being show is always the expected one and problems described in #4328 are not happening.