Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug when changing number of Latests Posts rapidly was leading to some numbers being defunct. #4335

Merged
merged 1 commit into from Jan 8, 2018

Commits on Jan 5, 2018

  1. Latest posts: Fixed bug when changing number of Latests Posts rapidly…

    … was leading to some numbers being defunct.
    
    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.
    jorgefilipecosta committed Jan 5, 2018
    Copy the full SHA
    5272fce View commit details
    Browse the repository at this point in the history