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
|
* 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.
|
* 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
|
* Disable the emoji's
|
||||||
*/
|
*/
|
||||||
function disable_emojis() {
|
function disable_emojis() {
|
||||||
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
||||||
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
||||||
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||||
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||||
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
|
||||||
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
|
||||||
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
||||||
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
add_filter( 'tiny_mce_plugins', 'disable_emojis_tinymce' );
|
||||||
}
|
}
|
||||||
add_action( 'init', 'disable_emojis' );
|
add_action( 'init', 'disable_emojis' );
|
||||||
|
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
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
|
@ -8,7 +8,7 @@ Description: Akina主题分支(原版地址 http://www.akina.pw/themeakina)
|
||||||
Version: 3.2.7
|
Version: 3.2.7
|
||||||
License: GNU General Public License v2 or later
|
License: GNU General Public License v2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
Text Domain: Sakura
|
Text Domain: sakura
|
||||||
Tags: 樱花庄的白猫
|
Tags: 樱花庄的白猫
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue