[wp-trac] [WordPress Trac] #31914: Remove static variable for global_terms_enable to allow for unit tests

WordPress Trac noreply at wordpress.org
Tue Apr 7 04:13:06 UTC 2015


#31914: Remove static variable for global_terms_enable to allow for unit tests
----------------------------------------------+----------------------------
 Reporter:  jeremyfelt                        |       Owner:
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Future
Component:  Taxonomy                          |  Release
 Severity:  normal                            |     Version:  3.0
 Keywords:  has-patch 4.3-early dev-feedback  |  Resolution:
                                              |     Focuses:  multisite
----------------------------------------------+----------------------------

Comment (by jeremyfelt):

 In [changeset:"32064"]:
 {{{
 #!CommitTicketReference repository="" revision="32064"
 Avoid an unexpected object error when syncing global terms

 Pass the expected single value, rather than object, when recursively
 calling `global_terms()`.

 Props hauvong.

 See #31914, Fixes #31149.
 }}}

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


More information about the wp-trac mailing list