[wp-hackers] Re: [wp-svn] [4655] trunk/wp-admin: No need to backslash escape single quotes and line breaks when using js_escape()

Nikolay Bachiyski nbachiyski at developer.bg
Thu Dec 21 13:32:47 GMT 2006


2006/12/21, m at wordpress.org <m at wordpress.org>:
>
>
>  Revision 4655 Author markjaquith Date 2006-12-21 06:04:39 +0000 (Thu, 21
> Dec 2006)
> Log Message No need to backslash escape single quotes and line breaks when
> using js_escape()
>

There are some more examples of these in the patch in ticket 3474 [0].
However the unforeseeing  ticket reporter had produced a monolithic
patch only and the js_escape portions have to be extracted by hand.

Happy hacking,
Nikolay

[0] http://trac.wordpress.org/ticket/3474


More information about the wp-hackers mailing list