[wp-trac] Re: [WordPress Trac] #7486: When looking for rewrite
rules matches,
change preg_match start/end character from ! to % or #
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 27 22:47:37 GMT 2008
#7486: When looking for rewrite rules matches, change preg_match start/end
character from ! to % or #
-------------------------+--------------------------------------------------
Reporter: aesqe | Owner: anonymous
Type: enhancement | Status: new
Priority: lowest | Milestone: 2.8
Component: General | Version: 2.6
Severity: trivial | Resolution:
Keywords: needs-patch |
-------------------------+--------------------------------------------------
Changes (by DD32):
* keywords: has-patch commit needs-testing => needs-patch
* version: => 2.6
Comment:
preg_quote() is not the answer, that escapes all content within it, so as
to render any rules useless.
would anyone have a need to use # in a rewrite rule?
--
Ticket URL: <http://trac.wordpress.org/ticket/7486#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list