[wp-trac] [WordPress Trac] #20528: $parsed_url['query'] doesn't always exist

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 23 23:44:53 UTC 2012


#20528: $parsed_url['query'] doesn't always exist
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Canonical        |    Version:
 Severity:  normal           |   Keywords:  has-patch
-----------------------------+-----------------------------
 _remove_qs_args_if_not_in_url() assumes there is always an array item
 'query' returned by parse_url.

 Wrapping it in an empty check will suppress the notice and silently return
 the $query_string

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20528>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list