mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
Merge branch 'master' into pr-branch
This commit is contained in:
commit
32d2297128
@ -37,7 +37,7 @@ function akina_setup() {
|
||||
* If you're building a theme based on Akina, use a find and replace
|
||||
* to change 'akina' to the name of your theme in all the template files.
|
||||
*/
|
||||
load_theme_textdomain( 'akina', get_template_directory() . '/languages' );
|
||||
load_theme_textdomain( 'sakura', get_template_directory() . '/languages' );
|
||||
|
||||
|
||||
/*
|
||||
@ -113,14 +113,14 @@ function akina_setup() {
|
||||
* Disable the emoji's
|
||||
*/
|
||||
function disable_emojis() {
|
||||
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
||||
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
||||
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
||||
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
||||
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
||||
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
||||
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
||||
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
||||
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
||||
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
||||
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
||||
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
||||
}
|
||||
add_action( 'init', 'disable_emojis' );
|
||||
|
||||
|
BIN
languages/en_US.mo
Normal file
BIN
languages/en_US.mo
Normal file
Binary file not shown.
1424
languages/en_US.po
Normal file
1424
languages/en_US.po
Normal file
File diff suppressed because it is too large
Load Diff
BIN
languages/zh_CN.mo
Normal file
BIN
languages/zh_CN.mo
Normal file
Binary file not shown.
1422
languages/zh_CN.po
Normal file
1422
languages/zh_CN.po
Normal file
File diff suppressed because it is too large
Load Diff
486
options.php
486
options.php
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user