Plugin Directory

Changeset 930974


Ignore:
Timestamp:
06/12/2014 09:32:46 AM (12 years ago)
Author:
sanchothefat
Message:

Fixed set by reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-permastructure/trunk/wp-permastructure.php

    r917243 r930974  
    349349    function get_term_parents( $id, $taxonomy, $link = false, $separator = '/', $nicename = false, $visited = array() ) {
    350350        $chain = '';
    351         $parent = &get_term( $id, $taxonomy );
     351        $parent = get_term( $id, $taxonomy );
    352352        if ( is_wp_error( $parent ) )
    353353            return $parent;
Note: See TracChangeset for help on using the changeset viewer.