id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 17197 Attach media - search results not populating tomauger "Issue: Page / Post search not populating when using the Attach feature from the Media Library. Details: upon closer inspection this occurs as a result of extra whitespace in functions.php (ie: outside the tags To reproduce using TwentyTen: 1. edit functions.php 2. close the php code block with ?> at the very end of functions.php (why is it even left open??) 3. add some blank lines (CR/LF) to the end of functions.php after the ?> Reload Media Library and attempt to use the Search feature: results are blank. Alternative steps: 1. edit functions.php 2. add whitespace before the tags, it happens. More likely it will happen inside any child theme's functions.php, particularly if users are glibly copying-and-pasting code blocks from various sources on the interwebs. It seems strange that whatever code is displaying the search results even cares about whitespace in functions.php, but it would seem to me that it should not be displaying the contents of functions.php in any case, so the whitespace ought not to make a difference." defect (bug) closed normal General 3.1 minor maybelater 2nd-opinion