Making WordPress.org

Opened 12 years ago

Closed 12 years ago

#524 closed defect (bug) (fixed)

Source block strips escape characters

Reported by: Clorith Owned by: coffee2code
Priority: normal Milestone:
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
12 years ago

  • Owner set to coffee2code
  • Resolutionfixed
  • Status newclosed

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.