[wp-trac] [WordPress Trac] #34544: Attaching metadata to shared terms can result in data corruption

WordPress Trac noreply at wordpress.org
Sun Nov 1 16:41:49 UTC 2015


#34544: Attaching metadata to shared terms can result in data corruption
--------------------------+------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.4
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------

Comment (by jorbin):

 An additional option worth considering is throwing a catchable exception.
 This would mean that we don't need to add a new return value ( a bonus),
 but it would be the first place we throw an exception in WordPress. This
 would require education of plugin and site developers since an uncaught
 exception will cause breakage.

 For the flag, I agree that this is the right way to go.  While it isn't
 100% guaranteed to be true ( after it is set, a developer could still
 manually make shared terms), I think developers doing that need to manage
 everything themselves.

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


More information about the wp-trac mailing list