[wp-trac] [WordPress Trac] #6643: Gallery in post causes widget
searches to display corrupted data
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 8 18:55:13 GMT 2008
#6643: Gallery in post causes widget searches to display corrupted data
----------------------+-----------------------------------------------------
Reporter: rodbauer | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version:
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
When a WP 2.5 post contains a [gallery], selecting the Categories, Tags
and Calendar date links from the sidebar widgets will cause the search to
dump code from the media.php file. The particular code dumped for me was
starting at line 388 of media.php
{{{
.gallery {
margin: auto;
}
.gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 33%; }
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-caption {
margin-left: 0;
}
}}}
This code was followed by all of the image captions, one to a line.
The problem posts contained [gallery] and no other content. I tried this
on different installations of WP 2.5 and got same result. Posting photos
individually instead of with [gallery] removed problem.
--
Ticket URL: <http://trac.wordpress.org/ticket/6643>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list