[wp-trac] Re: [WordPress Trac] #2774: \${1} causing problems for
people
WordPress Trac
wp-trac at lists.automattic.com
Sun Jun 4 18:21:30 GMT 2006
#2774: \${1} causing problems for people
----------------------------+-----------------------------------------------
Id: 2774 | Status: new
Component: Administration | Modified: Sun Jun 4 18:21:30 2006
Severity: normal | Milestone:
Priority: low | Version: 2.0.2
Owner: anonymous | Reporter: markjaquith
----------------------------+-----------------------------------------------
Comment (by ryan):
backslashit() is always used in a PCRE context, at least within WP core,
so this would work fine. I wonder if plugins are using backslashit() in
other contexts though. Perhaps we should introduce preg_backslashit().
Also, should slash only the digit that occurs at the head of the string?
That's the only unsafe one, I believe.
--
Ticket URL: <http://trac.wordpress.org/ticket/2774>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list