Changeset 3357
- Timestamp:
- 06/14/2016 11:13:16 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r3341 r3357 140 140 if ( ! wp_get_post_terms( $plugin->ID, 'plugin_category', array( 'fields' => 'ids' ) ) ) { 141 141 wp_set_post_terms( $plugin->ID, Tag_To_Category::map( $readme->tags ), 'plugin_category' ); 142 } 143 144 if ( in_array( 'adopt-me', $readme->tags ) ) { 145 wp_set_post_terms( $plugin->ID, array( 74 /* Term ID for adopt-me */ ), 'plugin_section' ); 142 146 } 143 147
Note: See TracChangeset
for help on using the changeset viewer.