[wp-trac] [WordPress Trac] #13381: label for register_taxonomy does not accept non-standard characters
WordPress Trac
wp-trac at lists.automattic.com
Thu May 13 20:33:43 UTC 2010
#13381: label for register_taxonomy does not accept non-standard characters
--------------------------+-------------------------------------------------
Reporter: wjm | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Taxonomy | Version: 3.0
Severity: normal | Keywords: register_taxonomy, admin panel
--------------------------+-------------------------------------------------
WordPress version: 3.0-beta2
Hi,
the following code registers the taxonomy, but it does not get displayed
in the admin panel, under the POSTS menu.
{{{
register_taxonomy( 'informacion', 'post', array( 'hierarchical' => true,
'label' => 'Información', 'query_var' => true, 'rewrite' => true ) );
}}}
the problem happens with the label having a non-standard char.
if I set it to:
{{{
'label' => 'Información'
}}}
it works fine.
this is the html ouput in the admin section
{{{
<li><a href='edit-tags.php?taxonomy=informacion' tabindex="1"></a>
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13381>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list