[wp-trac] [WordPress Trac] #18274: Add_query_arg doesn't cope with existing query arguments in url
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 28 03:03:05 UTC 2011
#18274: Add_query_arg doesn't cope with existing query arguments in url
--------------------------+------------------------------
Reporter: anmari | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by anmari):
Even more input..... Can we modify the title? It maybe a case of "thou
shalt not use the guid"
If the permalink is passed instead of guid, then first and subsequent
add_query_args turn out okay. Bit spooky?
I did see in the codex a note that the while the post->gui looks like a
post link for now, one should not assume that it will always be. So for
now will replace with permalink and hope that sorts it out everywhere.
http://localhost/wpbeta/event/daily/?eventdate=20110824T100000&duration=PT30M&feed=ics
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18274#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list