Making WordPress.org


Ignore:
Timestamp:
08/17/2023 05:16:41 AM (16 months ago)
Author:
dd32
Message:

Plugin Directory: API: Increase the cache duration for plugin details, but add API cache invalidation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php

    r12715 r12846  
    99use WordPressdotorg\Plugin_Directory\Email\Release_Confirmation as Release_Confirmation_Email;
    1010use WordPressdotorg\Plugin_Directory\Readme\Parser;
     11use WordPressdotorg\Plugin_Directory\Standalone\Plugins_Info_API;
    1112use WordPressdotorg\Plugin_Directory\Template;
    1213use WordPressdotorg\Plugin_Directory\Tools;
     
    370371        // Ensure that the API gets the updated data
    371372        API_Update_Updater::update_single_plugin( $plugin->post_name );
     373        Plugins_Info_API::flush_plugin_information_cache( $plugin->post_name );
    372374
    373375        // Import Tide data
Note: See TracChangeset for help on using the changeset viewer.