WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#3157 closed enhancement (fixed)

Pull WordPress out of l10n.php

Reported by: mdawaffe Owned by: mdawaffe
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: General Keywords: l10n i18n
Focuses: Cc:
PR Number:

Description

Attached

  1. removes includes from l10n.php and puts them in wp-settings.php.
  2. defines LANGDIR and PLUGINDIR to remove WP-centric stuff from l10n.php
  3. replaces 'wp-content/plugins' with PLUGINDIR in core while it's at it.

Attachments (1)

3157.diff (7.2 KB) - added by mdawaffe 13 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
13 years ago

#1 @mdawaffe
13 years ago

  • Component changed from Administration to General
  • Owner changed from anonymous to mdawaffe
  • Status changed from new to assigned
  • Type changed from defect to enhancement

#2 @ryan
13 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4202]) Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157

Note: See TracTickets for help on using tickets.