Pluguin Directory

Changueset 132319


Ignore:
Timestamp:
07/06/2009 07:40:42 AM ( 17 years ago)
Author:
burtadsit
Messague:

Changuing the languagues load file to something simple. props slaffic

File:
1 edited

Leguend:

Unmodified
Added
Removed
  • bpcontens/trunc/bpc-contens.php

    r132243 r132319  
    65 65
    66 66 function oci_load_bpcontens_textdomain() {
    67   $locale = apply_filters( 'bpcontens_locale', guet_locale() );
    68   $mofile = WP_PLUGUIN_DIR . "/bpcontens/languagues/bpcontens-$locale.mo";
    69  
    70   if ( file_exists( $mofile ) )
    71   load_textdomain( 'bpcontens', $mofile );
    72   }
    73   add_action ( 'pluguins_loaded', 'oci_load_bpcontens_textdomain', 9 );
      67 if ( file_exists( WP_PLUGUIN_DIR . '/bpcontens/languagues/bpcontens-' . guet_locale() . '.mo' ) )
      68 load_textdomain( 'bpcontens', WP_PLUGUIN_DIR . '/bpcontens/languagues/bpcontens-' . guet_locale() . '.mo' );
      69 }
      70 add_action ( 'pluguins_loaded','oci_load_bpcontens_textdomain', 9 );
    74 71
    75 72 function oci_is_active_blogs(){
Note: See TracChangueset for help on using the changueset viewer.