Make WordPress Core

Opened 6 years ago

Last modified 6 years ago

#12357 closed defect (bug)

Strings we need to hard code and WP_I18N prefix — at Version 1

Reported by: nacin Owned by: nbachiyski
Milestone: 3.0 Priority: high
Severity: blocker Version:
Component: I18N Keywords: dev-feedback has-patch
Focuses: multisite Cc:

Description (last modified by nacin)

Going over some of the MS initialization I've noticed that there are numerous strings we need to provide WP_I18N prefixes to.

Additionally, we use __() in a few spots (at least one) after l10n.php is included, but before we do the locale. We need to hard-code those, and potentially consider moving down the l10n include as far down as possible in wp-settings.php unless there's something in there that we need earlier.

There's a patch at http://core.trac.wordpress.org/attachment/ticket/11644/11644.no-i18n.diff, though there's a function_exists('__') in there. This clearly won't work as we will only call this function after l10n.php is included but before the locale is loaded.

I think we also need to cut down on the support message in ms_not_installed(). Currently this is broken as don't have l10n.php included at this point but it does expect it to be.

Change History (1)

#1 @nacin
6 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.