[wp-trac] [WordPress Trac] #26339: Pass by reference in wp_get_object_terms()
WordPress Trac
noreply at wordpress.org
Sun Dec 1 23:59:14 UTC 2013
#26339: Pass by reference in wp_get_object_terms()
------------------------------+-----------------------------
Reporter: stephenharris | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.8
Component: Taxonomy | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit |
------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"26510"]:
{{{
#!CommitTicketReference repository="" revision="26510"
Fix lingering reference problem in `wp_get_object_terms()` by not setting
the `foreach`'d vars to a reference. Adds unit test.
Props stephenharris.
Fixes #26339.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26339#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list