[bbDev] [573] trunk/bb-includes/l10n.php: hard code the path for
load_theme_textdomain for now.
Aditya Naik
so1oonnet at gmail.com
Fri Jan 5 18:04:51 GMT 2007
wouldnt it be prudent to check for the file before including?
On 1/5/07, m at wordpress.org <m at wordpress.org> wrote:
>
> Revision 573 Author mdawaffe Date 2007-01-05 18:00:40 +0000 (Fri, 05 Jan
> 2007) Log Message
>
> hard code the path for load_theme_textdomain for now. Fixes #527
>
> Modified Paths
>
> - trunk/bb-includes/l10n.php<#10ff36bd0bd2eb40_trunkbbincludesl10nphp>
>
> Diff Modified: trunk/bb-includes/l10n.php (572 => 573)
>
> --- trunk/bb-includes/l10n.php 2007-01-04 01:46:28 UTC (rev 572)
> +++ trunk/bb-includes/l10n.php 2007-01-05 18:00:40 UTC (rev 573)
> @@ -86,7 +86,7 @@
> function load_theme_textdomain($domain) {
> $locale = get_locale();
>
> - $mofile = get_template_directory() . "/$locale.mo";
> + $mofile = BBPATH . "my-templates/$locale.mo";
> load_textdomain($domain, $mofile);
> }
>
>
> _______________________________________________
> bbDev mailing list
> bbDev at lists.bbpress.org
> http://lists.bbpress.org/mailman/listinfo/bbdev
>
>
>
--
drop by at http://www.adityanaik.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/bbdev/attachments/20070105/266fe6ab/attachment.htm
More information about the bbDev
mailing list