[wp-trac] [WordPress Trac] #44595: wp_insert_post() inserts wrong GUID (adds http:// prefix)

WordPress Trac noreply at wordpress.org
Tue Jul 17 14:07:48 UTC 2018


#44595: wp_insert_post() inserts wrong GUID (adds http:// prefix)
--------------------------+-----------------------------
 Reporter:  Looimaster    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I manually set a GUID to e.g. `abc123` before calling `wp_insert_post()`
 and it was inserted as `http://abc123` to the database.

 Expected: `abc123`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44595>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list