[wp-trac] Re: [WordPress Trac] #9402: Validation fixes - "& " instead of "&"

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 13:04:52 GMT 2009


#9402: Validation fixes - "&" instead of "&"
-------------------------+--------------------------------------------------
 Reporter:  simek        |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  low          |   Milestone:  2.8      
Component:  Validation   |     Version:  2.8      
 Severity:  trivial      |    Keywords:  has-patch
-------------------------+--------------------------------------------------
Changes (by hakre):

  * keywords:  needs-patch => has-patch
  * milestone:  2.9 => 2.8


Comment:

 The following Functions add & or & automatically and therefore
 the places did not needed a patch any longer:
 - clean_url
 - wp_nonce_url

 The the wp() function is based on the server request which is an URI that
 contains &. & / & is only used for XHTML output. This reduces the
 patch as well.

 Some functions aren't using XHTML-Encoded URIs:#
 - get_categories

 wp-admin/includes/plugin-install.php - already fixed
 wp-admin/includes/plugin.php - already fixed
 wp-admin/includes/post.php - partially fixed, one script tag left
 wp-admin/includes/template.php - already fixed
 wp-admin/includes/theme-install.php - alread fixed

 for the one script tag left I've created a patch against 2.8 bleeding.

 This is only a single fix now. I would suggest to put that into 2.8. I
 know that it is part of another patch I've put on here: #9432 /
 [http://core.trac.wordpress.org/attachment/ticket/9432/qcop-r00-ampersand-
 post.patch qcop-r00-ampersand-post.patch].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9402#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list