mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
Set GUID when posting.
git-svn-id: https://develop.svn.wordpress.org/trunk@1604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -167,6 +167,8 @@ case 'post':
|
||||
}
|
||||
|
||||
add_meta($post_ID);
|
||||
|
||||
$wpdb->query("UPDATE $wpdb->posts SET guid = '" . get_permalink($post_ID) . "' WHERE ID = '$post_ID'");
|
||||
|
||||
if (isset($sleep_after_edit) && $sleep_after_edit > 0) {
|
||||
sleep($sleep_after_edit);
|
||||
|
||||
Reference in New Issue
Block a user