Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#17294 closed defect (bug) (invalid)

PHP localisation bug?

Reported by: ginocolada's profile ginocolada Owned by: ginocomfortnetworksnl's profile gino@…
Milestone: Priority: normal
Severity: minor Version: 3.1
Component: Taxonomy Keywords: dev-feedback
Focuses: Cc:

Description

The cloud tag doesn't translate from the .mo file properly.

Because code is missing in wp-includes/category-template.php in line 683.

$tag_name

should be

__($tag_name)

Change History (1)

#1 @scribu
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

No, that's just what the WPML plugin wants you to think. :)

More generally, the translation functions are only meant for static strings in the source code, which are parsed using gettext.

The fact that multi-lingual plugins overload them for their own purposes is a different matter.

Note: See TracTickets for help on using tickets.