回答編集履歴
1
不要部分削除
test
CHANGED
@@ -32,8 +32,6 @@
|
|
32
32
|
|
33
33
|
add_filter( 'get_comments_pagenum_link', function( $result ){
|
34
34
|
|
35
|
-
if ( is_home() ) {
|
36
|
-
|
37
35
|
if (preg_match( '{(.?.+?)/?cpage=-([0-9]{1,})/}', $result, $m)) {
|
38
36
|
|
39
37
|
$result = $m[1] . '/?cpage=' . $m[2];
|
@@ -42,8 +40,6 @@
|
|
42
40
|
|
43
41
|
}
|
44
42
|
|
45
|
-
}
|
46
|
-
|
47
43
|
return $result;
|
48
44
|
|
49
45
|
}, 10, 2);
|