WordPress.org

Plugin Directory

Changeset 573563


Ignore:
Timestamp:
07/17/12 13:56:33 (21 months ago)
Author:
dimadin
Message:

Always load translation in administration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbpress-digest/trunk/bbpress-digest.php

    r573561 r573563  
    8080    add_action( 'wp_ajax_dim-bbp-digest-subscription', 'bbp_digest_one_click_ajax_handle' ); 
    8181 
    82     /* On admin, load admin file */ 
    83     if ( is_admin() ) 
     82    /* On admin, load admin functions */ 
     83    if ( is_admin() ) { 
     84        /* Load translations */ 
     85        bbp_digest_load_textdomain(); 
     86        /* Load file */ 
    8487        require_once( dirname( __FILE__ ) . '/inc/admin.php' ); 
     88    } 
    8589} 
    8690add_action( 'init', 'bbp_digest_init' ); 
Note: See TracChangeset for help on using the changeset viewer.