質問編集履歴

2

脱字を修正しました。

2020/08/21 04:09

投稿

mori_sobut
mori_sobut

スコア5

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- IntelliJ IDEAでWordPressのテーマを編集するためにCLI InterpriterにPHP4.7.9をセットして実行環境を準備しました。
1
+ IntelliJ IDEAでWordPressのテーマを編集するためにCLI InterpriterにPHP4.7.9をセットしてローカル実行環境を準備しました。
2
2
 
3
3
  WordPressインストールディレクトリにアクセスすると公開画面は正常に表示されるのですが、管理画面ではエラーが出てしまい編集ができない状況です。
4
4
 

1

該当ページheadの内容を追記しました。

2020/08/21 04:09

投稿

mori_sobut
mori_sobut

スコア5

test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,267 @@
29
29
  この状況に心当たりがあれば解決方法を教えていただければ幸いです。
30
30
 
31
31
  よろしくお願いいたします。
32
+
33
+
34
+
35
+
36
+
37
+ 追記:
38
+
39
+ 該当ページheadの内容を追記いたします。
40
+
41
+ ```html
42
+
43
+ <head>
44
+
45
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
46
+
47
+ <title>ダッシュボード &lsaquo; test &#8212; WordPress</title>
48
+
49
+ <script type="text/javascript">
50
+
51
+ addLoadEvent = function(func) {
52
+
53
+ if (typeof jQuery !== 'undefined')
54
+
55
+ jQuery(document).ready(func);
56
+
57
+ else if (typeof wpOnload !== 'function') {
58
+
59
+ wpOnload = func;
60
+
61
+ } else {
62
+
63
+ var oldonload = wpOnload;
64
+
65
+ wpOnload = function() {
66
+
67
+ oldonload();
68
+
69
+ func();
70
+
71
+ }
72
+
73
+ }
74
+
75
+ };
76
+
77
+ var ajaxurl = '/wp-test/wordpress/wp-admin/admin-ajax.php',
78
+
79
+ pagenow = 'dashboard',
80
+
81
+ typenow = '',
82
+
83
+ adminpage = 'index-php',
84
+
85
+ thousandsSeparator = ',',
86
+
87
+ decimalPoint = '.',
88
+
89
+ isRtl = 0;
90
+
91
+ </script>
92
+
93
+ <link rel='dns-prefetch' href='//s.w.org'/>
94
+
95
+ <style>
96
+
97
+ img.wp-smiley, img.emoji {
98
+
99
+ display: inline !important;
100
+
101
+ border: none !important;
102
+
103
+ box-shadow: none !important;
104
+
105
+ height: 1em !important;
106
+
107
+ width: 1em !important;
108
+
109
+ margin: 0 .07em !important;
110
+
111
+ vertical-align: -0.1em !important;
112
+
113
+ background: none !important;
114
+
115
+ padding: 0 !important;
116
+
117
+ }
118
+
119
+ </style>
120
+
121
+ <link rel='stylesheet' href='http://localhost:63342/wp-test/wordpress/wp-admin/load-styles.php?c=1&amp;dir=ltr&amp;load%5Bchunk_0%5D=dashicons,admin-bar,site-health,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,wp-poi&amp;load%5Bchunk_1%5D=nter,widgets,site-icon,l10n,buttons,wp-auth-check&amp;ver=5.5' media='all'/>
122
+
123
+ <link rel='stylesheet' id='thickbox-css' href='http://localhost:63342/wp-test/wordpress/wp-includes/js/thickbox/thickbox.css?ver=5.5' media='all'/>
124
+
125
+ <script>
126
+
127
+ window._wpemojiSettings = {
128
+
129
+ "baseUrl": "https://s.w.org/images/core/emoji/13.0.0/72x72/",
130
+
131
+ "ext": ".png",
132
+
133
+ "svgUrl": "https://s.w.org/images/core/emoji/13.0.0/svg/",
134
+
135
+ "svgExt": ".svg",
136
+
137
+ "source": {
138
+
139
+ "concatemoji": "http://localhost:63342/wp-test/wordpress/wp-includes/js/wp-emoji-release.min.js?ver=5.5"
140
+
141
+ }
142
+
143
+ };
144
+
145
+ !function(e, a, t) {
146
+
147
+ var r,
148
+
149
+ n,
150
+
151
+ o,
152
+
153
+ i,
154
+
155
+ p = a.createElement("canvas"),
156
+
157
+ s = p.getContext && p.getContext("2d");
158
+
159
+ function c(e, t) {
160
+
161
+ var a = String.fromCharCode;
162
+
163
+ s.clearRect(0, 0, p.width, p.height), s.fillText(a.apply(this, e), 0, 0);
164
+
165
+ var r = p.toDataURL();
166
+
167
+ return s.clearRect(0, 0, p.width, p.height), s.fillText(a.apply(this, t), 0, 0), r === p.toDataURL()
168
+
169
+ }
170
+
171
+ function l(e) {
172
+
173
+ if (!s || !s.fillText)
174
+
175
+ return !1;
176
+
177
+ switch (s.textBaseline = "top", s.font = "600 32px Arial", e) {
178
+
179
+ case "flag":
180
+
181
+ return !c([127987, 65039, 8205, 9895, 65039], [127987, 65039, 8203, 9895, 65039]) && (!c([55356, 56826, 55356, 56819], [55356, 56826, 8203, 55356, 56819]) && !c([55356, 57332, 56128, 56423, 56128, 56418, 56128, 56421, 56128, 56430, 56128, 56423, 56128, 56447], [55356, 57332, 8203, 56128, 56423, 8203, 56128, 56418, 8203, 56128, 56421, 8203, 56128, 56430, 8203, 56128, 56423, 8203, 56128, 56447]));
182
+
183
+ case "emoji":
184
+
185
+ return !c([55357, 56424, 8205, 55356, 57212], [55357, 56424, 8203, 55356, 57212])
186
+
187
+ }
188
+
189
+ return !1
190
+
191
+ }
192
+
193
+ function d(e) {
194
+
195
+ var t = a.createElement("script");
196
+
197
+ t.src = e, t.defer = t.type = "text/javascript", a.getElementsByTagName("head")[0].appendChild(t)
198
+
199
+ }
200
+
201
+ for (i = Array("flag", "emoji"), t.supports = {
202
+
203
+ everything: !0,
204
+
205
+ everythingExceptFlag: !0
206
+
207
+ }, o = 0; o < i.length; o++)
208
+
209
+ t.supports[i[o]] = l(i[o]), t.supports.everything = t.supports.everything && t.supports[i[o]], "flag" !== i[o] && (t.supports.everythingExceptFlag = t.supports.everythingExceptFlag && t.supports[i[o]]);
210
+
211
+ t.supports.everythingExceptFlag = t.supports.everythingExceptFlag && !t.supports.flag, t.DOMReady = !1, t.readyCallback = function() {
212
+
213
+ t.DOMReady = !0
214
+
215
+ }, t.supports.everything || (n = function() {
216
+
217
+ t.readyCallback()
218
+
219
+ }, a.addEventListener ? (a.addEventListener("DOMContentLoaded", n, !1), e.addEventListener("load", n, !1)) : (e.attachEvent("onload", n), a.attachEvent("onreadystatechange", function() {
220
+
221
+ "complete" === a.readyState && t.readyCallback()
222
+
223
+ })), (r = t.source || {}).concatemoji ? d(r.concatemoji) : r.wpemoji && r.twemoji && (d(r.twemoji), d(r.wpemoji)))
224
+
225
+ }(window, document, window._wpemojiSettings);
226
+
227
+ </script>
228
+
229
+
230
+
231
+ <script>
232
+
233
+ /* <![CDATA[ */
234
+
235
+ var userSettings = {
236
+
237
+ "url": "/wp-test/wordpress/",
238
+
239
+ "uid": "1",
240
+
241
+ "time": "1597981871",
242
+
243
+ "secure": ""
244
+
245
+ }; /* ]]> */
246
+
247
+ </script>
248
+
249
+ <script src='http://localhost:63342/wp-test/wordpress/wp-admin/load-scripts.php?c=1&amp;load%5Bchunk_0%5D=jquery,utils&amp;ver=5.5'></script>
250
+
251
+ <link id="wp-admin-canonical" rel="canonical" href="http://localhost:63342/wp-test/wordpress/wp-admin/"/>
252
+
253
+ <script>
254
+
255
+ if (window.history.replaceState) {
256
+
257
+ window.history.replaceState(null, null, document.getElementById('wp-admin-canonical').href + window.location.hash);
258
+
259
+ }
260
+
261
+ </script>
262
+
263
+ <script type="text/javascript">
264
+
265
+ var _wpColorScheme = {
266
+
267
+ "icons": {
268
+
269
+ "base": "#a0a5aa",
270
+
271
+ "focus": "#00a0d2",
272
+
273
+ "current": "#fff"
274
+
275
+ }
276
+
277
+ };
278
+
279
+ </script>
280
+
281
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
282
+
283
+ <style media="print">
284
+
285
+ #wpadminbar {
286
+
287
+ display: none;
288
+
289
+ }
290
+
291
+ </style>
292
+
293
+ </head>
294
+
295
+ ```