Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#8282 closed defect (bug) (invalid)

Typo in script-loader.php

Reported by: jeremyclark13 Owned by:
Priority: normal Milestone:
Component: General Version: 2.7
Severity: normal Keywords: typo
Cc: Focuses:

Description

typo on line 156 of wp-includes/script-loader.php
'good' => _c('Medium|password strength'),
should be
'good' => __('Medium|password strength'),

Attachments (1)

script-loader.diff​ (602 bytes ) - added by jeremyclark13 18 years ago.

Download all attachments as: .zip

Change History (5)

#1 @jeremyclark13
18 years ago

  • Keywords typo added

#2 @markjaquith
18 years ago

  • Milestone 2.7
  • Resolution → invalid
  • Status new → closed

No, that's on purpose. _c() allows us to pass a message along with the string to be translated, so the translator will know the context.

#3 @jeremyclark13
18 years ago

It causes a unknown function error for me.

#4 @jeremyclark13
18 years ago

I figured out the problem, I did an update right before ryan had checked in the new wp-admin/gears-manifest.php which fixes the _c undefined function.

Sorry for the confusion, I had just never seen the _c like that.

Note: See TracTickets for help on using tickets.