回答編集履歴
2
参照URLを追加
test
CHANGED
@@ -88,4 +88,10 @@
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
-
詳しくは、
|
91
|
+
詳しくは、下記URLを参照。
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
* [https://wpdocs.osdn.jp/関数リファレンス/WP_Rewrite](https://wpdocs.osdn.jp/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9/WP_Rewrite)
|
96
|
+
|
97
|
+
* [https://wpdocs.osdn.jp/プラグイン_API/フィルターフック一覧](https://wpdocs.osdn.jp/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3_API/%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC%E3%83%95%E3%83%83%E3%82%AF%E4%B8%80%E8%A6%A7)
|
1
誤記の修正
test
CHANGED
@@ -50,11 +50,11 @@
|
|
50
50
|
|
51
51
|
$newrules = array();
|
52
52
|
|
53
|
-
$newrules['news/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$'] = 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]'
|
53
|
+
$newrules['news/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$'] = 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]';
|
54
54
|
|
55
|
-
$newrules['news/([0-9]{4})/([0-9]{1,2})/?$'] = 'index.php?year=$matches[1]&monthnum=$matches[2]'
|
55
|
+
$newrules['news/([0-9]{4})/([0-9]{1,2})/?$'] = 'index.php?year=$matches[1]&monthnum=$matches[2]';
|
56
56
|
|
57
|
-
$newrules['news/([0-9]{4})/?$'] = 'index.php?year=$matches[1]'
|
57
|
+
$newrules['news/([0-9]{4})/?$'] = 'index.php?year=$matches[1]';
|
58
58
|
|
59
59
|
return $newrules + $rules;
|
60
60
|
|