[wp-trac] [WordPress Trac] #24106: Simplify wp_slash()

WordPress Trac noreply at wordpress.org
Mon Nov 25 21:10:53 UTC 2013


#24106: Simplify wp_slash()
------------------------------+------------------
 Reporter:  TobiasBg          |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.8
Component:  Formatting        |     Version:  3.6
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by ryan):

 Some of this slash/unslash code was simply cut-and-pasted from old sources
 without alteration to avoid any chance of back compat problems.  We
 promised to write the needed test cases when we finally got around to
 cleaning up the code. Cue the present and the slew. :-)

 We need to inventory all of the different depth and object slashing
 behaviors our varied rogues gallery of slash/unslash functions exhibit and
 write unit tests for everything.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24106#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list