[wp-trac] [WordPress Trac] #23587: url_to_postid() needs to use # or @ for preg_match start/end character
WordPress Trac
noreply at wordpress.org
Sat Mar 29 04:14:52 UTC 2014
#23587: url_to_postid() needs to use # or @ for preg_match start/end character
------------------------------+--------------------
Reporter: coreygilmore | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Rewrite Rules | Version: 1.5.2
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+--------------------
Comment (by miqrogroove):
Another way is to switch the delimeter to @ and then slash @ within the
pattern. Then there will be no syntax conflicts. Patch attached.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23587#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list