[wp-trac] Re: [WordPress Trac] #1274: Problem passing a 'title_li' with HTML entities to wp_list_pages()

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 14 05:27:05 GMT 2007


#1274: Problem passing a 'title_li' with HTML entities to  wp_list_pages()
--------------------------------------+-------------------------------------
 Reporter:  anonymousbugger           |        Owner:  rob1n   
     Type:  defect                    |       Status:  assigned
 Priority:  normal                    |    Milestone:          
Component:  Template                  |      Version:  2.1     
 Severity:  minor                     |   Resolution:          
 Keywords:  dev-feedback 2nd-opinion  |  
--------------------------------------+-------------------------------------
Changes (by rob1n):

  * keywords:  => dev-feedback 2nd-opinion
  * status:  new => assigned
  * version:  2.0.4 => 2.1
  * owner:  anonymous => rob1n

Comment:

 This is more a limitation of the parse_str function, which is what PHP
 uses to parse the query string-style arguments. I don't know how we could
 fix this, except for some ugly hacks or taking it in traditional-style
 function arguments, but that defeats the whole purpose of using query
 strings in the first place.

 I would recommend solving this by doing title_li= and putting the H2
 seperately, as is in comment 3. But how about for other arguments that may
 need entities?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/1274#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list