[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:07:15 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 Denis-de-Bernardy):

 Replying to [comment:11 ircbot]:
 > ''This ticket was mentioned in IRC in #wordpress-dev by miqrogroove.
 [http://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2014-03-29&sort=asc#m821177 View the logs].''

 Seeing those logs, I'm at a loss as to what could possibly be have a core
 dev worried about when it comes to changing the delimiter to #. Per my
 further comment further up:

 https://core.trac.wordpress.org/ticket/23587#comment:6

 @Nacin: which part of "the # delimiter is ALREADY used on the exact SAME
 data in another part of WP (aka parse_request())" do you not understand
 and could you possibly be worrying about?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23587#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list