WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#492 closed defect (fixed)

Wiki formatting should be disabled in code reference

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

Description

See the screenshot.

Attachments (2)

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

Download all attachments as: .zip

Change History (14)

#1 @DrewAPicture
5 years ago

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

#2 @DrewAPicture
5 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.


5 years ago

#4 @siobhan
5 years ago

  • Resolution set to invalid
  • Status changed from new to 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
5 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
5 years ago

  • Resolution invalid deleted
  • Status changed from closed to 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.


5 years ago

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


5 years ago

#9 @siobhan
5 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

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

#10 @SergeyBiryukov
4 years ago

#1042 was marked as a duplicate.

#11 @coffee2code
4 years ago

In 1676:

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

Fixes #1042.
See #492.

#12 @SergeyBiryukov
3 years ago

  • Resolution changed from invalid to fixed
Note: See TracTickets for help on using tickets.