回答編集履歴
2
追記
test
CHANGED
@@ -14,7 +14,9 @@
|
|
14
14
|
|
15
15
|
3, usage of locate_template() would be gone, which likely would destroy compatibility with child themes.
|
16
16
|
|
17
|
+
|
18
|
+
|
17
|
-
|
19
|
+
> You can always look at source to see what exactly function does.
|
18
20
|
|
19
21
|
|
20
22
|
|
1
追記
test
CHANGED
@@ -8,14 +8,18 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
>
|
11
|
+
> 1, get_header hook would be gone;
|
12
12
|
|
13
|
-
|
13
|
+
2, compatibility with fetching different headers by name ("header-{$name}.php") would be gone;
|
14
14
|
|
15
|
-
|
15
|
+
3, usage of locate_template() would be gone, which likely would destroy compatibility with child themes.
|
16
16
|
|
17
|
-
|
17
|
+
4, You can always look at source to see what exactly function does.
|
18
18
|
|
19
19
|
|
20
20
|
|
21
21
|
> WordPress uses own function not just-because. It is usually for concrete compatibility or functionality reasons.
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
一部修正してます。
|