[wp-trac] Re: [WordPress Trac] #2774: \${1} causing problems for
people
WordPress Trac
wp-trac at lists.automattic.com
Mon Jun 5 19:19:57 GMT 2006
#2774: \${1} causing problems for people
----------------------------+-----------------------------------------------
Id: 2774 | Status: new
Component: Administration | Modified: Mon Jun 5 19:19:57 2006
Severity: normal | Milestone: 2.0.4
Priority: low | Version: 2.0.2
Owner: anonymous | Reporter: markjaquith
----------------------------+-----------------------------------------------
Comment (by mdawaffe):
I did a grep through a good chunk of wp-plugins.org and the only place
backslashit was used was in a multilingual plugin that uses it in the
exact same context and so would benefit from this patch. I was not able
to co everything from wp-plugins; it hung on some encoding error part way
through trying to co google-sitemap-generator.
2774b.diff
1. Only replace 1st number.
1. Fix mysql3date and date_i18n
But making a new function is fine with me too:
2744c-preg.diff
1. All of the above in a new function preg_backslashit.
--
Ticket URL: <http://trac.wordpress.org/ticket/2774>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list