- Timestamp:
- 05/17/2019 10:27:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r44894 r45362 2277 2277 ); 2278 2278 } 2279 $wpdb->insert( $wpdb->term_taxonomy, compact( 'term_id', 'taxonomy', 'description', 'parent' ) + array( 'count' => 0 ) ); 2279 2280 if ( false === $wpdb->insert( $wpdb->term_taxonomy, compact( 'term_id', 'taxonomy', 'description', 'parent' ) + array( 'count' => 0 ) ) ) { 2281 return new WP_Error( 'db_insert_error', __( 'Could not insert term taxonomy into the database.' ), $wpdb->last_error ); 2282 } 2283 2280 2284 $tt_id = (int) $wpdb->insert_id; 2281 2285
Note: See TracChangeset
for help on using the changeset viewer.