Permalink
Browse files

Bug Fixed: Mejorado el retorno de t_em_l10n.maintenanceMode

  • Loading branch information...
rogertm committed May 22, 2018
1 parent a9d013a commit 4fdc3d7ffb300bdf6d84f6388b3002be91d06028
Showing with 1 addition and 1 deletion.
  1. +1 −1 inc/enqueue.php
View
@@ -77,7 +77,7 @@ function t_em_enqueue_styles_and_scripts(){
wp_register_script( 'app-utils', t_em_get_js( 'app.utils' ), array( 'jquery' ), t_em_theme( 'Version' ), true );
// l10n for app.utils.js
$translation = array(
'maintenanceMode' => t_em( 'maintenance_mode' ) ? true : null,
'maintenanceMode' => t_em( 'maintenance_mode' ) && $nonce ? true : null,
'countdownTimer' => t_em( 'maintenance_mode_timer' ),
);
wp_localize_script( 'app-utils', 't_em_l10n', $translation );

0 comments on commit 4fdc3d7

Please sign in to comment.