[wp-trac] [WordPress Trac] #36514: posting with custom taxes

WordPress Trac noreply at wordpress.org
Sun Jun 26 11:17:04 UTC 2016


#36514: posting with custom taxes
-----------------------------------+-----------------------------
 Reporter:  hokku                  |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  4.6
Component:  Taxonomy               |     Version:  4.2
 Severity:  major                  |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  administration
-----------------------------------+-----------------------------

Comment (by stephenharris):

 I found that the original patch left the array of term IDs as a strings.
 These are interpreted to be slugs (so creating a new term also created a
 term with the name matching the original term's ID).

 The only difference to the original patch is the line which casts all the
 values in the array to integers.

 This fixes the bug for me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36514#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list