Making WordPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#492 closed defect (bug) (fixed)

Wiki formatting should be disabled in code reference

Reported by: SergeyBiryukov Owned by:
Priority: normal Milestone:
Component: Developer Hub Keywords:
Cc:

Description

See the screenshot.

Attachments (2)

meta-492.png​ (10.0 KB ) - added by SergeyBiryukov 12 years ago.
meta-492.2.png​ (14.1 KB ) - added by SergeyBiryukov 12 years ago.

Download all attachments as: .zip

Change History (14)

#1 @DrewAPicture
12 years ago

FYI: The example in the screenshot comes from the ​get_terms reference.

#2 @DrewAPicture
12 years ago

Side note: There was some discussion in the parser repo about supporting markdown in phpDoc content. I'd almost like to see us employ something like Markdown on Save or similar when the data is parsed, either that or actually handle markdown on display in the code reference. I wonder if that would cut down on "wiki formatting".

This ticket was mentioned in IRC in #wordpress-meta by sams. ​View the logs.


12 years ago

#4 @siobhan
12 years ago

  • Resolution → invalid
  • Status new → closed

This is an issue with characters in the inline docs not being properly escaped. DrewAPicture is investigating the method for escaping characters. This ticket will need to be re-opened on core trac.

#5 @DrewAPicture
12 years ago

Worth noting that a large amount of these issues will be alleviated by the ongoing changes happening here: ​https://core.trac.wordpress.org/ticket/28298

#6 @SergeyBiryukov
12 years ago

  • Resolution invalid
  • Status closed → reopened

Found another instance on ​https://developer.wordpress.org/reference/hooks/action/, see the screenshot.

How do we properly escape the characters in this case? The page content doesn't look like it's taken from the current ​admin-post.php file at all.

This ticket was mentioned in ​Slack in #docs by ocean90. ​View the logs.


12 years ago

This ticket was mentioned in ​Slack in #meta-devhub by siobhan. ​View the logs.


12 years ago

#9 @siobhan
12 years ago

  • Resolution → invalid
  • Status reopened → closed

This is an issue with inline docs, not with the code reference. Closing.

#10 @SergeyBiryukov
11 years ago

#1042 was marked as a duplicate.

#11 @coffee2code
11 years ago

In 1676:

developer.wordpress.org: Fix improper formatting introduced by parser for '' appearing in parameter docs.

Fixes #1042.
See #492.

#12 @SergeyBiryukov
11 years ago

  • Resolution invalid → fixed
Note: See TracTickets for help on using tickets.