{"id":98,"date":"2026-11-06T14:17:31","date_gmt":"2026-11-06T06:17:31","guid":{"rendered":"http:\/\/pro369.com\/blog\/?p=98"},"modified":"2026-11-06T09:50:10","modified_gmt":"2026-11-06T09:50:10","slug":"wordpress-%e9%83%a8%e8%90%bd%e6%a0%bc-mu%e7%b7%a8%e8%bc%af%e4%b8%bb%e9%a1%8c%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/por.tw\/blog\/2026\/11\/06\/wordpress-%e9%83%a8%e8%90%bd%e6%a0%bc-mu%e7%b7%a8%e8%bc%af%e4%b8%bb%e9%a1%8c%e5%8a%9f%e8%83%bd\/","title":{"rendered":"WordPress \u90e8\u843d\u683c MU\u7de8\u8f2f\u4e3b\u984c\u529f\u80fd"},"content":{"rendered":"<p><strong><span style=\"font-size: small;\"><br \/>\n<span style=\"font-size: 16px;\">WordPress \u90e8\u843d\u683c\u6709\u4e00\u500b\u5f88\u6709\u7528\u7684\u529f\u80fd\uff0c\u5c31\u662f\u7dda\u4e0a\u7de8\u8f2f\u4e3b\u984c\u529f\u80fd\uff0c\u5728\u591a\u4eba\u90e8\u843d\u683cWordPress MU\u4e2d\uff0c\u9019\u4e00\u529f\u80fd\u56e0\u70ba\u5b89\u5168\u6027\u554f\u984c\u800c\u88ab\u7981\u7528<\/span><br \/>\n<span style=\"font-size: 16px;\">\u9019\u88e1\u6709\u4e00\u500b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8b8a\u76f8\u958b\u901a\u9019\u4e00\u529f\u80fd\uff0c\u800c\u53c8\u4e0d\u81f3\u65bc\u5f71\u97ff\u6574\u500b\u7cfb\u7d71\u7684\u5b89\u5168\u6027\u3002<\/span><\/span><\/strong><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u5177\u9ad4\u7684\u65b9\u6cd5\u662f\uff0c\u5728\u6700\u65b0\u7684WordPress MU 2.8.4\u7248\u672c\u4e2d\uff0c\u958b\u555fwp-adminincludemu.php\u6a94\u6848<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u641c\u5c0bunset( $submenu[&#8216;themes.php&#8217;][10] );\u4e00\u884c\uff0c\u5c07\u5176\u8a3b\u91cb\u6389\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u63a5\u8457\uff0c\u641c\u5c0bif ( strpos( $_SERVER[&#8216;PHP_SELF&#8217;], $page ) ) {\u4e00\u884c<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u5c07\u9019\u4e00\u884c\u4ee3\u78bc\u4fee\u6539\u70baif ( strpos( $_SERVER[&#8216;PHP_SELF&#8217;], $page ) &amp;&amp; !is_site_admin() ) {\uff0c\u5132\u5b58\u96e2\u958b\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>\u7d93\u7531\u9019\u6a23\u7684\u4fee\u6539\uff0cWordPress MU\u5c31\u53ef\u4ee5\u4f7f\u7528\u7dda\u4e0a\u7de8\u8f2f\u4e3b\u984c\u529f\u80fd\u4e86\uff0c\u4e26\u4e14\u53ea\u6709WPMU\u7684\u7ba1\u7406\u54e1\u53ef\u4ee5\u4f7f\u7528\uff0c\u5176\u4ed6\u666e\u901a\u4f7f\u7528\u8005\u6c92\u6709\u6b0a\u9650\u4f7f\u7528<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u4ed6\u5011\u958b\u555ftheme-editor.php\u6642\u6703\u63d0\u793a\u300c\u9801\u9762\u5df2\u88ab\u7ba1\u7406\u54e1\u7981\u7528\u300d\uff0c\u5f9e\u800c\u4fdd\u8b49\u4e86\u6574\u500b\u7cfb\u7d71\u7684\u5b89\u5168\u6027\u3002<\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/por.tw\/blog\/wp-content\/uploads\/2013\/04\/9695015732.jpg\" width=\"225\" height=\"225\" \/><\/strong><\/span><\/p>\n<p><span style=\"font-size: 16px;\"><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u4f60\u5728\u6478\u7d22\u5982\u4f55\u67b6\u7ad9\u90e8\u843d\u683c\uff1f\u5982\u4f55\u5c55\u958b\u884c\u92b7\u90e8\u843d\u683c\u3001\u751a\u81f3\u8cfa\u9322\u55ce\uff1f\u6709\u3010\u6280\u8853\u9867\u554f\u670d\u52d9\u3011\u53ef\u8aee\u8a62\u55ce\uff1f<br \/>\n\u7576\u554f\u984c\u7121\u6cd5\u89e3\u6c7a\u4f60\u8981\u767c\u5f88\u591a\u6642\u9593\u8655\u7406\uff08\u6216\u8a31\u6c38\u9060\u627e\u51fa\u7b54\u6848\uff09\u662f\u7368\u81ea\u6478\u7d22\u90e8\u843d\u683c\u67b6\u7ad9\u3001\u884c\u92b7\u3001\u8cfa\u9322\u75db\u82e6\u7684\u958b\u59cb\uff01<br \/>\n\u8cfc\u8cb7\u3010\u90e8\u843d\u683c\u67b6\u7ad9\u3001\u884c\u92b7\u3001\u8cfa\u9322\u8853\u3011DVD\u8ab2\u7a0b\uff0c\u5c31\u53ef\u7372\u5f97\u3010\u90e8\u843d\u683c\u67b6\u7ad9\u884c\u92b7\u8cfa\u9322\u3011\u6280\u8853\u3010\u9867\u554f\u8aee\u8a62\u670d\u52d9\u3011\uff01<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"post-excerpt\"><p>WordPress \u90e8\u843d\u683c\u6709\u4e00\u500b\u5f88\u6709\u7528\u7684\u529f\u80fd\uff0c\u5c31\u662f\u7dda\u4e0a\u7de8\u8f2f\u4e3b\u984c\u529f\u80fd\uff0c\u5728\u591a\u4eba\u90e8\u843d\u683cWordPress MU\u4e2d\uff0c\u9019<\/p>\n<\/div>","protected":false},"author":1,"featured_media":9497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[34],"class_list":["post-98","post","type-post","status-publish","format-standard","has-post-thumbnail","category-wordpress-","tag-wordpress-"],"_links":{"self":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":1,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":9498,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions\/9498"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/media\/9497"}],"wp:attachment":[{"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}