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

Add method to update lists from JSON files and clear cache #7054

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Commits on Oct 23, 2024

  1. Add method to update lists from JSON files and clear cache

    * **DynamicLists.php**
      - Add `update_lists_from_files` method to clear transient cache and update lists from JSON files
      - Call `remove_lists_cache` and `get_lists` methods from each provider's data manager in `update_lists_from_files`
    
    * **AbstractDataManager.php**
      - Add `remove_lists_cache` method to delete transient cache
    
    * **Subscriber.php**
      - Modify `wp_rocket_upgrade` callback to call `update_lists_from_files` method
      - Add `update_lists_from_files` method to call `$this->dynamic_lists->update_lists_from_files()`
    Miraeld committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3493608 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c4b5cc View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Remove unnecessary return

    Miraeld committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    b5e3cc2 View commit details
    Browse the repository at this point in the history