WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#11567 closed defect (bug) (duplicate)

Plugin description is not divided into paragraphs

Reported by: sirzooro Owned by: westi
Priority: normal Milestone:
Component: Plugins Version: 2.8
Severity: normal Keywords: has-patch
Cc:

Description

When you want to install new plugin via WP interface, WP displays plugin description (on page plugin-install.php?tab=plugin-information). Displayed text is not divided into paragraphs. As I checked in page source, there are double new line chars after each between paragraphs. WP can use them to insert <p>...</p> tags around each paragraph.

Attachments (1)

plugin-install.php.diff (385 bytes) - added by sirzooro 3 years ago.
wp-admin/includes/plugin-install.php

Download all attachments as: .zip

Change History (5)

comment:1 miqrogroove3 years ago

  • Version changed from 2.9 to 2.8

+1 old bug.

comment:2 hakre3 years ago

Related: #11532

comment:3 sirzooro3 years ago

  • Keywords has-patch added; needs-patch removed

Looks that wpautop() does the trick.

sirzooro3 years ago

wp-admin/includes/plugin-install.php

comment:4 dd323 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

This was a bug in the API and was fixed in another ticket

Note: See TracTickets for help on using tickets.