diff --git a/functions.php b/functions.php index 56a3059..bb8c04f 100644 --- a/functions.php +++ b/functions.php @@ -47,7 +47,7 @@ add_action( 'after_setup_theme', '\Aldine\Actions\content_width', 0 ); add_action( 'wp_head', '\Aldine\Actions\output_custom_colors' ); add_action( 'init', '\Aldine\Actions\add_editor_styles' ); add_action( 'admin_init', '\Aldine\Actions\hide_catalog_content_editor' ); -foreach ( array('post.php','post-new.php') as $hook ) { +foreach ( [ 'post.php', 'post-new.php' ] as $hook ) { add_action( "admin_head-$hook", '\Aldine\Actions\tinymce_l18n' ); } add_filter( 'body_class', '\Aldine\Filters\body_classes' ); diff --git a/inc/actions/namespace.php b/inc/actions/namespace.php index 2deeb96..7925aa0 100644 --- a/inc/actions/namespace.php +++ b/inc/actions/namespace.php @@ -275,7 +275,8 @@ function register_shortcode_buttons() { * * @since 1.1.0 */ -function tinymce_l18n() { ?> +function tinymce_l18n() { +?> -