[wp-trac] [WordPress Trac] #48878: 5.1 wp_insert_site bug
WordPress Trac
noreply at wordpress.org
Wed Dec 4 16:43:12 UTC 2019
#48878: 5.1 wp_insert_site bug
--------------------------+------------------------------
Reporter: bikecrazyy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by bikecrazyy):
* focuses: multisite =>
* component: Posts, Post Types => General
Comment:
Note, the tables do make it to the database once the query is complete but
not untill then. If you call var_dump( $wpdb->tables() ); before the
insert you will see it show the table names. But when wp_insert_post is
called directly after it will show the error above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48878#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list