Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#46427 closed defect (bug) (worksforme)

wp_set_object_terms not working correctly

Reported by: yfain's profile yfain Owned by:
Milestone: Priority: normal
Severity: critical Version: 5.1
Component: Taxonomy Keywords:
Focuses: Cc:



we ware developing a tool to import data from xml files.

We used wp_set_object_terms for creating terms but with WordPress 5.1 it is not working correctly.

I can not explain what the problem is. Under wordpress 5.0.3 it workls correctly.

I've added an image, where you can see the problem. The first record was created with WordPress 5.1 the second with WordPress 5.0.3

Attachments (1)

Bildschirmfoto 2019-03-06 um 11.21.59.png (17.2 KB) - added by yfain 5 years ago.

Download all attachments as: .zip

Change History (3)

#1 @yfain
5 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

#2 @desrosj
5 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.