Conversation
304be43 to
b5a4bd4
Compare
|
@girishpanchal30, could you please clarify on how to test this one? I used a code snippet to add more than 1000 entries in the Sharing Logs and the Below is the snippet I used:
|
I think this was a confusion. The implementation deletes the service accounts (twitter, Facebook) if they have more than 1000 registered. This should have been about the logs and not services. |
Soare-Robert-Daniel
left a comment
There was a problem hiding this comment.
The issues should solve the problem with the logs and not services, based on the attached issue.
|
Sorry for the confusion. I’ve implemented logic to delete the logs once they have more than 1,000 logs. Please check it and let me know if any changes are needed. |
|
@girishpanchal30, from what I've tried, it's working well. |
|
@rodica-andronache Just to confirm, are you using the script provided by @stefan-cotitosu to add the dummy log? That script does not include the correct If you’re not using that script, please share your instance details so I can check this further. |
|
@girishpanchal30 I've used the same script provided by Stefan |
|
@rodica-andronache You need to add |
|
thanks! Indeed, the notice is gone with that change in the code. |


Summary
Add a button
Cleanup accountsto clean up the records and keep the last 1,000 records.Screenshots
Check before Pull Request is ready:
Closes https://github.com/Codeinwp/tweet-old-post-pro/issues/431