Making WordPress.org

Opened 11 years ago

Closed 7 years ago

#140 closed defect (bug) (worksforme)

Plugin changelog truncation can break WordPress.org site layout

Reported by: johnlamansky's profile JohnLamansky Owned by:
Milestone: Priority: low
Component: API Keywords:
Cc:

Description

Migrating from #wp21550:

WordPress.org appears to truncate plugin changelogs after a certain number of characters. However, if the truncation occurs in an inconvenient place -- such as the middle of an HTML tag -- it can cause browser rendering issues in other parts of the page.

For example, on the changelog page for my plugin SEO Ultimate, the plugin page sidebar is currently showing up below the changelog (screenshot). This is because the changelog is being truncated in the middle of an <li> tag, apparently leading my browser (Chrome) to fail to recognize a </div> closing tag:

<l</div><!-- block-content--></div>

I would suggest that the easiest and perhaps best solution would be simply to stop truncating plugin changelogs. Layout breakage possibilities aside, I would prefer it if my plugin's changelog were not cut off after a certain point.

Otto noted that this is something that could be fixed in the API by detecting and not sending back bad data.

Change History (1)

#1 @obenland
7 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Changelogs no longer get truncated

Note: See TracTickets for help on using tickets.