WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#13381 closed defect (bug) (invalid)

label for register_taxonomy does not accept non-standard characters

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

Description

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>

Change History (4)

#1 @ryan
12 years ago

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

#2 @wjm
12 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
12 years ago

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

you are right ryan, it was that.

#4 @nacin
12 years ago

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