Opened 18 years ago
Closed 17 years ago
#6643 closed defect (bug) (duplicate)
Gallery in post causes widget searches to display corrupted data
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Gallery | Keywords: | |
| Focuses: | Cc: |
Description
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.
Change History (2)
Note: See
TracTickets for help on using
tickets.
This is probably due to the excerpt bug fixed in #6380. Marking this as a duplicate.