WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#12357 closed defect (bug)

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

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

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 (0)

Note: See TracTickets for help on using tickets.