Changeset 3331 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
- Timestamp:
- 06/11/2016 08:21:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r3328 r3331 80 80 81 81 if ( ! $plugin ) { 82 $author_ip = $wpdb->get_var( $wpdb->prepare( 'SELECT poster_ip FROM ' . PLUGINS_TABLE_PREFIX . 'posts WHERE topic_id = %s', $topic->topic_id ) ); 83 82 84 $plugin = Plugin_Directory::create_plugin_post( array( 83 85 'slug' => $plugin_slug, … … 89 91 'post_modified' => $topic->topic_time, 90 92 'post_modified_gmt' => $topic->topic_time, 93 'meta' => array( 94 '_author_ip' => $author_ip, 95 ), 91 96 ) ); 92 97 }
Note: See TracChangeset
for help on using the changeset viewer.