[wp-trac] [WordPress Trac] #10543: Incorrect (non-UTF-8) character handling in tag's name and slug

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 13 18:43:42 UTC 2009


#10543: Incorrect (non-UTF-8) character handling in tag's name and slug
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:  westi                                  
     Type:  defect (bug)  |      Status:  accepted                               
 Priority:  normal        |   Milestone:  3.0                                    
Component:  Taxonomy      |     Version:  2.8.2                                  
 Severity:  normal        |    Keywords:  has-patch tested needs-unit-tests early
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 > Is there any other way of testing this issue without injecting the
 invalid utf8 by hacking the core?

 For bottom-up testing, load the default filters and call your favorite
 function from the flow.  wp_write_post() is the only function that relies
 on the superglobal input.

 {{{
 wp-admin/post.php
 wp-admin/includes/post.php/write_post()
 wp-admin/includes/post.php/wp_write_post()
 wp-includes/post.php/wp_insert_post()
 wp-includes/post.php/wp_set_post_tags()
 wp-includes/post.php/wp_set_post_terms()
 wp-includes/taxonomy.php/wp_set_object_terms()
 wp-includes/taxonomy.php/wp_insert_term()
 wp-includes/taxonomy.php/sanitize_term()
 wp-includes/taxonomy.php/sanitize_term_field()
 }}}

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


More information about the wp-trac mailing list