﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
18076,get_term() should never query for term_id = 0,mdawaffe,westi,"In one branch of its logic, {{{get_term()}}} casts the input as an integer and uses that value to lookup the term by term_id (first in the cache, then in the DB).  That's unnecessary for 0.

This can happen on every page load via {{{wp_get_nav_menu_object( $string )}}}.

Attached bails on 0.

Attached also switches the prepared query to use %d instead of %s.",defect (bug),closed,normal,3.3,General,3.2,normal,fixed,westi-likes has-patch commit,
