WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#21793 closed defect (bug) (duplicate)

Incorrect parsing of readme files for plugins on wordpress.org

Reported by: 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 5 years ago.

Download all attachments as: .zip

Change History (7)

#1 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to WordPress.org

#2 follow-up: @toscho
5 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
5 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
5 years ago

#4 @markauk
5 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
4 years ago

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

Migrated to #meta142.

#6 @SergeyBiryukov
4 years ago

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