Avoid notice with search feeds.

Merges [25889] to the 3.7 branch.

fixes #25677.


git-svn-id: https://develop.svn.wordpress.org/branches/3.7@25890 602fd350-edb4-49c9-b593-d223f7449a82