[wp-trac] [WordPress Trac] #54973: Failed wp_insert_category() when IMPORT_DEBUG is set to true produces a fatal error.
WordPress Trac
noreply at wordpress.org
Sat Jan 29 13:16:00 UTC 2022
#54973: Failed wp_insert_category() when IMPORT_DEBUG is set to true produces a
fatal error.
-------------------------------------+----------------------------
Reporter: enshrined | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: WordPress.org
Component: Import | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+----------------------------
Comment (by azouamauriac):
I question myself about the use of '0' returned by wp_insert_category,
someone can help me?
Also I think it would be better to add 'true' as second arg to
wp_insert_category( $data ) that will become wp_insert_category( $data,
true );
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54973#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list