[wp-trac] [WordPress Trac] #32104: Import of data into database (starting from 4.1.2) fails
WordPress Trac
noreply at wordpress.org
Fri Apr 24 14:05:12 UTC 2015
#32104: Import of data into database (starting from 4.1.2) fails
--------------------------+--------------------
Reporter: ewerkstatt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2.1
Component: Database | Version: 4.1.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Changes (by pento):
* milestone: Awaiting Review => 4.2.1
Comment:
Note for when I look at a fix for this: it's probably failing because
`wpdb::strip_invalid_text_from_query()` fails if the table doesn't exist,
which it won't for a `CREATE` query.
I'm inclined to skip the check for queries that don't return user data, as
we do with `wpdb::check_safe_collation()`. (Though with `CREATE` added to
the regex, of course.)
This will need to be backported to 3.7.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32104#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list