Revert to use post ID as slug for matches

This commit is contained in:
Brian Miyaji
2019-03-12 21:10:09 +11:00
parent 9b0496df73
commit 91714255ae

View File

@@ -214,7 +214,7 @@ if ( class_exists( 'WP_Importer' ) ) {
$post = array(
'ID' => $id,
'post_title' => $title,
'post_name' => '',
'post_name' => $id,
);
wp_update_post( $post );