質問編集履歴
3
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
###前提・実現したいこと
|
2
2
|
|
3
|
-
次のような「noun」「adjective」というタクソノミーがあり、それぞれに親として「j
|
3
|
+
次のような「noun」「adjective」というタクソノミーがあり、それぞれに親として「ja」「en」というタームがあります。
|
4
4
|
|
5
5
|
|
6
6
|
|
2
コードに説明を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -124,7 +124,7 @@
|
|
124
124
|
|
125
125
|
|
126
126
|
|
127
|
-
// IDとdescriptionだけにする
|
127
|
+
// $merge_arrayに上の➀➁➂が実現できたと仮定し、IDとdescriptionだけにする
|
128
128
|
|
129
129
|
$terms_array = [];
|
130
130
|
|
1
コード修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -128,7 +128,7 @@
|
|
128
128
|
|
129
129
|
$terms_array = [];
|
130
130
|
|
131
|
-
foreach( $
|
131
|
+
foreach( $merge_array as $term ) :
|
132
132
|
|
133
133
|
$num = count( $terms_array );
|
134
134
|
|