[wp-trac] [WordPress Trac] #53297: Bug in wpdb update
WordPress Trac
noreply at wordpress.org
Sat May 29 21:41:29 UTC 2021
#53297: Bug in wpdb update
--------------------------+----------------------
Reporter: ttodua | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Database | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Comment (by pbiron):
For anyone finding this ticket in the future, let me correct one thing in
my answer above.
The reason columns named `parent` are treated as integers is because
`wp_term_taxonomy` has a column named `parent` which is an integer (and
not because `parent` is an "alias" of the `post_parent` column in
`wp_posts`). My bad.
The rest of the answer (about using the `$format` parameter) is correct
:-)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53297#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list