﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
9760,global $post->ID id of first search result in searches,d.busby,,"I have written a plugin ""aptus"" soon to be released to the community, one of it's functions is a breadcrumb navigation generator.

Currently whenever a search is made, upon hitting the search results page the global $post->ID is populated with the ID of the first search result, this in turn goes on to populate the breadcrumb with content as if the user was currently on the first result page.

Currently I am using a work around.

if(empty($_GET['s']))

Surely this is a bug?

Shouldn't in the case of searches the $post object return 0?",defect (bug),closed,normal,,Plugins,2.7.1,normal,invalid,reporter-feedback,d.busby@…
