[wp-trac] [WordPress Trac] #7883: build_query() using '& ' by default for separator

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 14 13:26:50 GMT 2008


#7883: build_query() using '&' by default for separator
----------------------+-----------------------------------------------------
 Reporter:  Mrasnika  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.8      
Component:  General   |     Version:           
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 Hi,

 the links produced by get_pagenum_link() when not working with permalinks
 look like:

 {{{
 http://bg.kaloyan.nova/?cat=10&paged=7
 }}}

 while they should be like:

 {{{
 http://bg.kaloyan.nova/?cat=10&paged=7
 }}}

 I found that this is caused by build_query() using '&' as a default value
 when composing the query. Can that be changed to '&' instead ? In this
 way it will produce valid links.

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


More information about the wp-trac mailing list