[wp-trac] [WordPress Trac] #17197: Attach media - search results not populating

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 15:22:10 UTC 2011


#17197: Attach media - search results not populating
-------------------------------+-----------------------
 Reporter:  tomauger           |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:
Component:  General            |     Version:  3.1
 Severity:  minor              |  Resolution:
 Keywords:  2nd-opinion close  |
-------------------------------+-----------------------
Changes (by aaroncampbell):

 * keywords:  2nd-opinion => 2nd-opinion close


Comment:

 Replying to [comment:6 tomauger]:
 > The issue is that the Search dialog box of the Attach feature in the
 Media Library stops working the moment any whitespace creeps into the .php
 include files. It's a very likely scenario that this will occur,
 particularly in child themes where the user is building the php files
 often from scratch themselves.

 You'll find that whitespace outside PHP tags will cause many problems (not
 limited to the search you're talking about).  Often your RSS feed won't
 display properly in strict parsers (like FireFox), ajax calls can be a
 real pain (which is the issue here), etc, etc.  The real problem here is
 that '''the whitespace shouldn't be there'''.  WordPress can't deal with
 every programming mistake that someone might make.  To me the added
 effort, cpu cycles, lines of code, etc (even though small) just isn't
 worth it here.

 I recommend re-closing as invalid.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17197#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list