WordPress.org

Making WordPress.org

Changeset 3509


Ignore:
Timestamp:
06/20/16 16:21:58 (18 months ago)
Author:
tellyworth
Message:

Search: add plugin_status meta at import, so we can filter on 'disabled', which is ignored by Jetpack sync.

See #1692

File:
1 edited

Legend:

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

    r3500 r3509  
    166166        update_post_meta( $plugin->ID, 'assets_banners',     wp_slash( $assets['banner'] ) ); 
    167167        update_post_meta( $plugin->ID, 'last_updated',       wp_slash( $plugin->post_modified_gmt ) ); 
     168        update_post_meta( $plugin->ID, 'plugin_status',      wp_slash( $plugin->post_status ) ); 
    168169 
    169170        // Calculate the 'plugin color' from the average color of the banner if provided. This is used for fallback icons. 
Note: See TracChangeset for help on using the changeset viewer.