Skip to content

Commit db803a9

Browse files
committed
update
1 parent 083aa74 commit db803a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
//最佳化主題樣式相關
3-
function optimize_theme_setup() {
3+
function mxp_optimize_theme_setup() {
44
//整理head資訊
55
remove_action('wp_head', 'wp_generator');
66
remove_action('wp_head', 'wlwmanifest_link');
@@ -27,7 +27,7 @@ function remove_version_query($src) {
2727
add_filter('script_loader_src', 'remove_version_query', 999);
2828
add_filter('widget_text', 'do_shortcode');
2929
}
30-
add_action('after_setup_theme', 'optimize_theme_setup');
30+
add_action('after_setup_theme', 'mxp_optimize_theme_setup');
3131

3232
function mxp_admin_menu_modify_for_user() {
3333
global $submenu;

0 commit comments

Comments
 (0)