If other notices are closed this translation won't have stylesheet so

This commit is contained in:
shivapoudel 2014-08-29 04:03:26 +05:45
parent e1e1c14ae7
commit 730563f1c1
1 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ class WC_Admin_Notices {
}
if ( in_array( 'translation_upgrade', $notices ) ) {
wp_enqueue_style( 'woocommerce-activation', plugins_url( '/assets/css/activation.css', WC_PLUGIN_FILE ) );
add_action( 'admin_notices', array( $this, 'translation_upgrade_notice' ) );
}
@ -154,7 +155,7 @@ class WC_Admin_Notices {
*/
public function mijireh_notice() {
include( 'views/html-notice-mijireh.php' );
}
}
}
endif;