[wp-trac] [WordPress Trac] #44983: REST API: Undefined-property notice when setting term parent to 0

WordPress Trac noreply at wordpress.org
Fri Jan 4 17:37:32 UTC 2019


#44983: REST API: Undefined-property notice when setting term parent to 0
--------------------------------------+-----------------------------
 Reporter:  dlh                       |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  reviewing
 Priority:  normal                    |   Milestone:  5.0.3
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by dlh):

 Yeah, it's funny-looking. The only reason it's there is so that the logic
 in that condition would be isolated from a change in the initialization,
 should that ever happen. No big deal to me either way, though.

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


More information about the wp-trac mailing list