WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#524 closed defect (fixed)

Source block strips escape characters

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

Description

This makes the syntax highlighting incorrect, as well as mis-representing the quality of our code base.

See for example http://developer.wordpress.org/reference/functions/_wp_specialchars/ Line 8 where an escape in the regex is stripped out.

Change History (2)

#2 @coffee2code
5 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 722:

Code Reference: Pass source code through addslashes() to preserve slashes when stored in postmeta. Fixes #524

Note: See TracTickets for help on using tickets.