[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 05:17: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):
We were merely discussing alternatives. I updated my patch again based on
nacin's thought that the delimeter could already be slashed. This becomes
fairly convoluted, as you can see in the regexp. Switching straight to #
remains the simplest solution.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23587#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list