Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#21793 closed defect (bug) (duplicate)

Incorrect parsing of readme files for plugins on wordpress.org

Reported by: markauk's profile markauk Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org Site Keywords:
Focuses: Cc:

Description

When wordpress.org parses plugin readme files, it changes URLs in the form www.site.com to links, and adds http:// to the text displayed.

That's good and proper. However, it's not helpful when this happens in a code block.

For example, see the first and third code block of this readme - http://wordpress.org/extend/plugins/sitepush/installation/

The readme validator shows the same behaviour.

The parser should not do any URL parsing in code blocks.

Attachments (1)

example.txt (278 bytes) - added by markauk 13 years ago.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
13 years ago

  • Milestone changed from Awaiting Review to WordPress.org

#2 follow-up: @toscho
13 years ago

On a side note: Always use example.com, .org or .net for sample domains. They exist for exactly this reason.

#3 in reply to: ↑ 2 @markauk
13 years ago

Replying to toscho:

On a side note: Always use example.com, .org or .net for sample domains. They exist for exactly this reason.

Thanks for that. For anyone interested, here's the relevant RFC.

@markauk
13 years ago

#4 @markauk
13 years ago

I have updated my plugin so the readme avoids this behaviour. For reference, the attached file shows the same behaviour in the WordPress readme validator.

#5 @samuelsidler
12 years ago

  • Milestone WordPress.org deleted
  • Status changed from new to closed

Migrated to #meta142.

#6 @SergeyBiryukov
12 years ago

  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.