Changeset 7096
- Timestamp:
- 04/11/2018 11:23:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-plugin-directory/inc/cli/class-set-plugin-project.php
r6854 r7096 103 103 104 104 // Store ID of the post in the plugin directory. Used for retrieving plugin icons. 105 $post_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM {$wpdb->base_prefix}%d_posts WHERE post_name = %s AND post_type = 'plugin' LIMIT 1", WPORG_PLUGIN_DIRECTORY_BLOGID, $p roject->slug ) );105 $post_id = (int) $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM {$wpdb->base_prefix}%d_posts WHERE post_name = %s AND post_type = 'plugin' LIMIT 1", WPORG_PLUGIN_DIRECTORY_BLOGID, $plugin_project->slug ) ); 106 106 if ( $post_id ) { 107 107 gp_update_meta( $plugin_project->id, 'directory-post-id', $post_id, 'wp-plugins' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)