﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
8419,get_sample_permalink_html not multi-byte safe,janbrasna,anonymous,"The code of get_sample_permalink_html()

{{{
if (strlen($post_name) > 30) {
	$post_name_abridged = substr($post_name, 0, 14). '&hellip;' . substr($post_name, -14);
}
}}}

in wp-admin/includes/post.php produces invalid string in case the input is multi-byte. That doesn't happen in default, but might happen in case when 'editable_slug' filter changes the slug (e.g. #8418).

What's the consensus on mb_ functions? I've seen several cases of function check in the code as 
http://trac.wordpress.org/browser/trunk/wp-includes/formatting.php?rev=9661#L513 but there are also cases like http://trac.wordpress.org/browser/trunk/wp-includes/formatting.php?rev=9661#L2071 when the presence of mb_ is not checked at all.
",enhancement,closed,low,2.7,Administration,2.7,minor,fixed,utf multibyte has-patch,
