Making WordPress.org


Ignore:
Timestamp:
01/19/2017 04:33:23 AM (7 years ago)
Author:
dd32
Message:

Plugin Directory: Add a custom table containing a subset of plugin meta used for api.wordpress.org/plugins/update-check/.

See #2112

File:
1 edited

Legend:

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

    r4657 r4727  
    44use WordPressdotorg\Plugin_Directory\Readme\Parser;
    55use WordPressdotorg\Plugin_Directory\Template;
     6use WordPressdotorg\Plugin_Directory\Jobs\API_Update_Updater;
    67use WordPressdotorg\Plugin_Directory\Tools;
    78use WordPressdotorg\Plugin_Directory\Tools\Filesystem;
     
    193194        // Finally, set the new version live.
    194195        update_post_meta( $plugin->ID, 'stable_tag', $stable_tag );
     196
     197        // Ensure that the API gets the updated data
     198        API_Update_Updater::update_single_plugin( $plugin->post_name );
    195199
    196200        return true;
Note: See TracChangeset for help on using the changeset viewer.