WordPress.org

Make WordPress Core

Changeset 954 in tests


Ignore:
Timestamp:
08/06/2012 01:56:01 AM (6 years ago)
Author:
nbachiyski
Message:

Typo: get the arguments of get_term right

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/factory.php

    r953 r954  
    158158
    159159    function get_object_by_id( $term_id ) {
    160         return get_term( 'id', $term_id, $this->taxonomy );
     160        return get_term( $term_id, $this->taxonomy );
    161161    }
    162162}
Note: See TracChangeset for help on using the changeset viewer.