Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13381 closed defect (bug) (invalid)

label for register_taxonomy does not accept non-standard characters

Reported by: wjm's profile wjm Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Taxonomy Keywords: register_taxonomy, admin panel
Focuses: Cc:


WordPress version: 3.0-beta2

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>

Change History (4)

#1 @ryan
14 years ago

It displays correctly for me with the charset set to UTF-8.

#2 @wjm
14 years ago

i noticed today the same thing happened in other file.
So that may be because i was not using an UTF-8 php file.

#3 @wjm
14 years ago

  • Resolution set to invalid
  • Status changed from new to closed

you are right ryan, it was that.

#4 @nacin
14 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.