Wordpress/目錄與檔案
出自福留子孫
目錄
Wordpress根目錄
- wp-config.php:設定檔,包含MySQL 設定、資料表前綴、秘密金鑰、語言設定
- 資料庫設定
- define('DB_NAME', '資料庫名稱');
- define('DB_USER', '使用者名稱');
- define('DB_PASSWORD', '使用者密碼');
- define('DB_HOST', 'localhost'); 主機位址,一般無須修改,如使用非預設的MySQL連接阜(3306),那麼你可以修改 DB_HOST 的值為:define('DB_HOST', '伺服器:port');
- define('DB_CHARSET', 'utf8');字集編碼
- define('DB_COLLATE', );字集排序,一般不設
- 秘密金鑰:定義 AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY 及其 SALT 的值,以加密存於Cookies裡的使用者資料。
- 資料表前綴 $table_prefix = 'wp_';
- 語系設定 define('WPLANG', 'zh_TW');
- 資料庫設定
etc
SYNO 伺服器對 wordpress 的設定
- SYNO.SDS.WordPress.ini:
- www.WordPress.conf:
wp-admin
index.php
wp-content
mu-plugins
plugins
themes
一種布景主題一個資料夾,其下各檔案:
- header.php:網站頂部與網頁資訊
- index.php:首頁
- single.php:單篇文章內頁
- footer.php:網站底部
- archiv.php:分類頁面
- page.php:分頁頁面
- sidebar.php:側邊欄
- style.css:樣式
- 404.php:錯誤頁面
- comments.php:留言頁面
- functions.php:網頁中的函式
upgrade
uploads
wp-includes
以下為核心檔案中的核心,它們定義了WordPress使用的核心類別和函數庫,無可執行代碼,只有當調用時才會執行相應的函數。這些檔案都在wp-setting.php文件中依照一定的條件被加載:
- WPINC/load.php,定義一組加載 WP 所需要的函數,無執行代碼。
- WPINC/default-constants.php,定義一組函數,這些函數對那些能夠被重寫的常量和全局變量進行默認賦值,它們通常可以在 wp-config.php 中重新配置,無執行代碼。
- WPINC/compat.php,提供某些 PHP 版本缺少的函數(用於支持不同版本 PHP 上的兼容和移植),無執行代碼。
- WPINC/functions.php,定義 WP 主要的 API,無執行代碼。
- WPINC/classes.php,定義 WP 主要的類,無執行代碼。
- WPINC/plugin.php,定義插件 API,這些 API 用於創建 action、filter、以及鉤子函數和方法,無執行代碼。
- WPINC/pomo/mo.php,定義語言處理類 MO,並加載文件,無執行代碼:
- WPINC/pomo/translations.php,定義對 entry 進行翻譯的相關類,並加載文件,無執行代碼:
- WPINC/pomo/entry.php,定義翻譯實體類 Translation_Entry,無執行代碼。
- WPINC/pomo/streams.php,定義一組類,用於從文件讀入數據流,無執行代碼。
————————基本功能分割線———————— - WPINC/l10n.php,定義一組進行語言翻譯的 API/函數,無執行代碼。
- WPINC/formatting.php,定義 WP 主要格式化API,用於對文本、字符串、函數輸出進行格式化,無執行代碼。
- WPINC/query.php,定義一組 WP 的查詢 API,無執行代碼。
- WPINC/theme.php,定義一組主題、模板和樣式表函數,無執行代碼。
- WPINC/user.php,定義一組 WP 的用戶 API,無執行代碼。
- WPINC/meta.php,定義一組元數據 API,這些 API 用於獲取和操作 WP 中各種對像類型的元數據,一個對象的元數據簡單的表示為鍵值對,對象可能包含多個元數據實體,他們有相同的鍵但不同的值,無執行代碼。
- WPINC/general-template.php,定義常用的模板標籤,它們可以在模板中任意使用,無可執行代碼。
- WPINC/link-template.php,定義一組模板中處理鏈接的函數(例如處理固定鏈接),無可執行代碼。
- WPINC/author-template.php,定義一組模板中處理作者的函數,這些函數在主題中使用,並且必須出現在 WP LOOP 中,無可執行代碼。
- WPINC/post-template.php,定義一組模板中處理文章的函數,用於獲取 Loop 中當前文章的內容,無可執行代碼。
- WPINC/category.php,定義一組 WP 的目錄 API,無可執行代碼。
- WPINC/category-template.php,定義一組目錄的模板標籤和 API,無可執行代碼。
- WPINC/comment.php,定義一組 WP 的評論 API,無可執行代碼。
- WPINC/comment-template.php,定義一組評論的模板標籤,旨在 Loop 中有用,無可執行代碼。
- WPINC/feed.php,定義一組 WP 的 Feed API,其中大部分只在 Loop 中使用,無可執行代碼。
- WPINC/bookmark.php,定義一組 WP 的友情鏈接/書籤 API,無可執行代碼。
- WPINC/bookmark-template.php,定義一組書籤的模板標籤,無可執行代碼。
- WPINC/cron.php,定義一組 WP 的 CRON(定時任務) API,用於進行事件調度,無可執行代碼。
- WPINC/deprecated.php,一組已廢棄的 API,無可執行代碼。
- WPINC/class.wp-dependencies.php,定義類 WP_Dependencies 和 _WP_Dependency,用於反壓腳本隊列,這些類由 WP_Scripts類和 WP 腳本隊列 API 重構而來,無可執行代碼。
- WPINC/class.wp-scripts.php,定義類 WP_Scripts,繼承自 WP_Dependencies,功能同上,無可執行代碼。
- WPINC/functions.wp-scripts.php,定義一組 WP 的腳本隊列 API,功能同上,無可執行代碼。
- WPINC/functions.wp-styles.php,定義一組 WP 的樣式隊列 API,無可執行代碼。
- WPINC/taxonomy.php,定義一組 WP 的分類方法(與目錄概念不同,是在目錄之上的分類) API, 無可執行代碼。
- WPINC/http.php,定義一組簡化和統一 http 請求的 API,無可執行代碼。
- WPINC/class-http.php,定義一組簡化和統一 http 請求的類 WP_Http,WP_Http_Fsockopen,WP_Http_Fopen,WP_Http_Streams,WP_Http_ExtHTTP,WP_Http_Curl,WP_HTTP_Proxy,WP_Http_Cookie,WP_Http_Encoding, 用於標準化 http 請求,處理 cookies 和 gzip 編碼和解碼,無可執行代碼。
- WPINC/nav-menu.php,定義一組 WP 中導航菜單 API,屬於 WP3.0 新添加功能,無可執行代碼。
- WPINC/nav-menu-template.php,定義一組導航菜單的模板標籤及 API,無可執行代碼。
- WPINC/pluggable.php,這裡面的函數可以被插件覆蓋,如果插件沒有重新定義這些函數,則這些函數將會被使用,無可執行代碼。
- WPINC/pluggable-deprecated.php,被廢棄的可插件覆蓋函數,無可執行代碼。
- WPINC/locale.php,定義日期和時間的本地化對像類 WP_Locale,無可執行代碼。
- WPINC/post-thumbnail-template.php,定義一組 WP 的文章略圖模板標籤,無可執行代碼。
第三方提供檔案、已廢棄檔案,或者和多博客相關的檔案。他們將會在相應的函數中根據需要加載:
- atomlib.php, 在WPINC/functions.php中的wp_maybe_load_widgets()函數中加載;
- cache.php, 在WPINC/load.php中的wp_start_object_cache()函數中加載;
- class-feed.php, 在WPINC/feed.php中的fetch_feed()函數中加載;
- class-IXR.php, 在xmlrpc.php文件中加載;在WPINC/comment.php中的pingback()和weblog_ping()函數中加載;在WPINC/functions.php中的do_enclose()函數中加載;
- class-json.php, 在WPINC/compat.php中的json_encode()和json_decode()函數中加載;
- class-oembed.php, 在WPINC/media.php中的wp_oembed_get()和wp_oembed_add_provider()函數中加載;
- class-phpass.php, 在WPINC/pluggable.php中的wp_hash_password()和wp_check_password()函數中加載;
- class-phpmailer.php, 在WPINC/pluggable.php中的wp_mail()函數中加載;
- class-pop3.php, 在wp-mail.php中加載;
- class-simplepie.php, 在WPINC/class-feed.php中加載;
- class-smtp.php, 在WPINC/pluggable.php中的wp_mail()函數中加載;
- class-snoopy.php, 已廢棄,由http.php文件替代;
- default-embeds.php, 在WPINC/functions.php中的wp_maybe_load_embeds()函數中加載;
- default-widgets.php, 在WPINC/functions.php中的wp_maybe_load_widgets()函數中加載;
- feed-atom.php, 在WPINC/functions.php中的do_feed_atom()函數中加載;
- feed-atom-comments.php, 在WPINC/functions.php中的do_feed_atom()函數中加載;
- feed-rdf.php, 在WPINC/functions.php中的do_feed_rdf()函數中加載;
- feed-rss2.php, 在WPINC/functions.php中的do_feed_rss2()函數中加載;
- feed-rss2-comments.php, 在WPINC/functions.php中的do_feed_rss2()函數中加載;
- feed-rss.php, 在WPINC/functions.php中的do_feed_rss()函數中加載;
- ms-default-constants.php, 在WPINC/ms-setting.php中加載;
- ms-files.php
- ms-load.php
- registration.php, 在wp-activate.php, wp-signup.php, wp-login.php中加載;
- registration-functions.php, 已廢棄,由registration.php文件替代;
- rss.php, 已廢棄,由class-simplepie.php文件替代;
- rss-functions.php, 已廢棄,由rss.php文件替代;
- wp-db.php, 在WPINC/functions.php中的require_wp_db()函數中加載;
- wp-diff.php, 在WPINC/functions.php中的wp_text_diff()函數中加載;
- pomo/po.php, 沒有被加載???
Debug data:
-
-
Start request GET /wellBeingNg/index.php?title=Wordpress/%E7%9B%AE%E9%8C%84%E8%88%87%E6%AA%94%E6%A1%88
HTTP HEADERS:
ACCEPT-ENCODING: gzip, br, zstd, deflate
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
ACCEPT: */*
CONNECTION: close
HOST: www.well-being-ng.net
X-REAL-PORT: 5113
X-PORT: 80
X-REAL-IP: 18.191.223.123
X-FORWARDED-BY: 192.168.4.2 -
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
-
[caches] LocalisationCache: using store LCStoreDB
-
Connected to database 0 at localhost
-
Unstubbing $wgParser on call of $wgParser::setHook from require_once
-
Parser: using preprocessor: Preprocessor_DOM
-
Fully initialised
-
Title::getRestrictionTypes: applicable restrictions to [[Wordpress/目錄與檔案]] are {edit,move}
-
[ContentHandler] Created handler for wikitext: WikitextContentHandler
-
IP: 18.191.223.123
-
Connected to database 0 at localhost
-
MessageCache::load: Loading zh-tw... got from global cache
-
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
-
Article::view using parser cache: yes
-
Parser options key expired, touched 20160817223651, epoch 20240511084146, cached 20240511031129
-
Article::view: doing uncached parse
-
Parser cache options found.
-
[Preprocessor] Saved preprocessor XML to memcached (key wiki-wiki_:preprocess-xml:64f39d2411ee5246329be3edcc3b9f8a:0)
-
[Preprocessor] Saved preprocessor XML to memcached (key wiki-wiki_:preprocess-xml:64f39d2411ee5246329be3edcc3b9f8a:0)
-
Saved in parser cache with key wiki-wiki_:pcache:idhash:103-0!*!*!!zh-tw!*!* and timestamp 20240511090618 and revision id 1320
-
DatabaseBase::query: Writes done: REPLACE INTO `wiki_objectcache` (keyname,value,exptime) VALUES ('wiki-wiki_:pcache:idhash:103-0!*!*!!zh-tw!*!*','O:12:\"ParserOutput\":39:{s:5:\"mText\";s:13303:\"<p><br />\n</p>\n<mw:toc><div id=\"toc\" class=\"toc\"><div id=\"toctitle\"><h2>目錄</h2></div>\n<ul>\n<li class=\"toclevel-1 tocsection-1\"><a href=\"#Wordpress.E6.A0.B9.E7.9B.AE.E9.8C.84\"><span class=\"tocnumber\">1</span> <span class=\"toctext\">Wordpress根目錄</span></a></li>\n<li class=\"toclevel-1 tocsection-2\"><a href=\"#etc\"><span class=\"tocnumber\">2</span> <span class=\"toctext\">etc</span></a></li>\n<li class=\"toclevel-1 tocsection-3\"><a href=\"#wp-admin\"><span class=\"tocnumber\">3</span> <span class=\"toctext\">wp-admin</span></a></li>\n<li class=\"toclevel-1 tocsection-4\"><a href=\"#wp-content\"><span class=\"tocnumber\">4</span> <span class=\"toctext\">wp-content</span></a>\n<ul>\n<li class=\"toclevel-2 tocsection-5\"><a href=\"#mu-plugins\"><span class=\"tocnumber\">4.1</span> <span class=\"toctext\">mu-plugins</span></a></li>\n<li class=\"toclevel-2 tocsection-6\"><a href=\"#plugins\"><span class=\"tocnumber\">4.2</span> <span class=\"toctext\">plugins</span></a></li>\n<li class=\"toclevel-2 tocsection-7\"><a href=\"#themes\"><span class=\"tocnumber\">4.3</span> <span class=\"toctext\">themes</span></a></li>\n<li class=\"toclevel-2 tocsection-8\"><a href=\"#upgrade\"><span class=\"tocnumber\">4.4</span> <span class=\"toctext\">upgrade</span></a></li>\n<li class=\"toclevel-2 tocsection-9\"><a href=\"#uploads\"><span class=\"tocnumber\">4.5</span> <span class=\"toctext\">uploads</span></a></li>\n</ul>\n</li>\n<li class=\"toclevel-1 tocsection-10\"><a href=\"#wp-includes\"><span class=\"tocnumber\">5</span> <span class=\"toctext\">wp-includes</span></a></li>\n</ul>\n</div>\n</mw:toc>\n<h3><span class=\"mw-headline\" id=\"Wordpress.E6.A0.B9.E7.9B.AE.E9.8C.84\">Wordpress根目錄</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"1\">Wordpress根目錄</mw:editsection></h3>\n<ol>\n<li>wp-config.php:設定檔,包含MySQL 設定、資料表前綴、秘密金鑰、語言設定\n<ul>\n<li>資料庫設定\n<ol>\n<li>define(\'DB_NAME\', \'資料庫名稱\');\n</li>\n<li>define(\'DB_USER\', \'使用者名稱\');\n</li>\n<li>define(\'DB_PASSWORD\', \'使用者密碼\');\n</li>\n<li>define(\'DB_HOST\', \'localhost\'); 主機位址,一般無須修改,如使用非預設的MySQL連接阜(3306),那麼你可以修改 DB_HOST 的值為:define(\'DB_HOST\', \'伺服器:port\');\n</li>\n<li>define(\'DB_CHARSET\', \'utf8\');字集編碼\n</li>\n<li>define(\'DB_COLLATE\', <i>);字集排序,一般不設</i>\n</li>\n</ol>\n</li>\n<li>秘密金鑰:定義 AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, NONCE_KEY 及其 SALT 的值,以加密存於Cookies裡的使用者資料。\n</li>\n<li>資料表前綴 $table_prefix = \'wp_\';\n</li>\n<li>語系設定 define(\'WPLANG\', \'zh_TW\');\n</li>\n</ul>\n</li>\n</ol>\n<h3><span class=\"mw-headline\" id=\"etc\">etc</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"2\">etc</mw:editsection></h3>\n<p>SYNO 伺服器對 wordpress 的設定\n</p>\n<ol>\n<li>SYNO.SDS.WordPress.ini:\n</li>\n<li>www.WordPress.conf:\n</li>\n</ol>\n<h3><span class=\"mw-headline\" id=\"wp-admin\">wp-admin</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"3\">wp-admin</mw:editsection></h3>\n<p>index.php\n</p>\n<h3><span class=\"mw-headline\" id=\"wp-content\">wp-content</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"4\">wp-content</mw:editsection></h3>\n<h4><span class=\"mw-headline\" id=\"mu-plugins\">mu-plugins</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"5\">mu-plugins</mw:editsection></h4>\n<h4><span class=\"mw-headline\" id=\"plugins\">plugins</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"6\">plugins</mw:editsection></h4>\n<h4><span class=\"mw-headline\" id=\"themes\">themes</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"7\">themes</mw:editsection></h4>\n<p>一種布景主題一個資料夾,其下各檔案:\n</p>\n<ol>\n<li>header.php:網站頂部與網頁資訊\n</li>\n<li>index.php:首頁\n</li>\n<li>single.php:單篇文章內頁\n</li>\n<li>footer.php:網站底部\n</li>\n<li>archiv.php:分類頁面\n</li>\n<li>page.php:分頁頁面\n</li>\n<li>sidebar.php:側邊欄\n</li>\n<li>style.css:樣式\n</li>\n<li>404.php:錯誤頁面\n</li>\n<li>comments.php:留言頁面\n</li>\n<li>functions.php:網頁中的函式\n</li>\n</ol>\n<h4><span class=\"mw-headline\" id=\"upgrade\">upgrade</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"8\">upgrade</mw:editsection></h4>\n<h4><span class=\"mw-headline\" id=\"uploads\">uploads</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"9\">uploads</mw:editsection></h4>\n<h3><span class=\"mw-headline\" id=\"wp-includes\">wp-includes</span><mw:editsection page=\"Wordpress/目錄與檔案\" section=\"10\">wp-includes</mw:editsection></h3>\n<p>以下為核心檔案中的核心,它們定義了WordPress使用的核心類別和函數庫,無可執行代碼,只有當調用時才會執行相應的函數。這些檔案都在wp-setting.php文件中依照一定的條件被加載:\n</p>\n<ol>\n<li>WPINC/load.php,定義一組加載 WP 所需要的函數,無執行代碼。\n</li>\n<li>WPINC/default-constants.php,定義一組函數,這些函數對那些能夠被重寫的常量和全局變量進行默認賦值,它們通常可以在 wp-config.php 中重新配置,無執行代碼。\n</li>\n<li>WPINC/compat.php,提供某些 PHP 版本缺少的函數(用於支持不同版本 PHP 上的兼容和移植),無執行代碼。\n</li>\n<li>WPINC/functions.php,定義 WP 主要的 API,無執行代碼。\n</li>\n<li>WPINC/classes.php,定義 WP 主要的類,無執行代碼。\n</li>\n<li>WPINC/plugin.php,定義插件 API,這些 API 用於創建 action、filter、以及鉤子函數和方法,無執行代碼。\n</li>\n<li>WPINC/pomo/mo.php,定義語言處理類 MO,並加載文件,無執行代碼:\n</li>\n<li>WPINC/pomo/translations.php,定義對 entry 進行翻譯的相關類,並加載文件,無執行代碼:\n</li>\n<li>WPINC/pomo/entry.php,定義翻譯實體類 Translation_Entry,無執行代碼。\n</li>\n<li>WPINC/pomo/streams.php,定義一組類,用於從文件讀入數據流,無執行代碼。<br />————————基本功能分割線————————\n</li>\n<li>WPINC/l10n.php,定義一組進行語言翻譯的 API/函數,無執行代碼。\n</li>\n<li>WPINC/formatting.php,定義 WP 主要格式化API,用於對文本、字符串、函數輸出進行格式化,無執行代碼。\n</li>\n<li>WPINC/query.php,定義一組 WP 的查詢 API,無執行代碼。\n</li>\n<li>WPINC/theme.php,定義一組主題、模板和樣式表函數,無執行代碼。\n</li>\n<li>WPINC/user.php,定義一組 WP 的用戶 API,無執行代碼。\n</li>\n<li>WPINC/meta.php,定義一組元數據 API,這些 API 用於獲取和操作 WP 中各種對像類型的元數據,一個對象的元數據簡單的表示為鍵值對,對象可能包含多個元數據實體,他們有相同的鍵但不同的值,無執行代碼。\n</li>\n<li>WPINC/general-template.php,定義常用的模板標籤,它們可以在模板中任意使用,無可執行代碼。\n</li>\n<li>WPINC/link-template.php,定義一組模板中處理鏈接的函數(例如處理固定鏈接),無可執行代碼。\n</li>\n<li>WPINC/author-template.php,定義一組模板中處理作者的函數,這些函數在主題中使用,並且必須出現在 WP LOOP 中,無可執行代碼。\n</li>\n<li>WPINC/post-template.php,定義一組模板中處理文章的函數,用於獲取 Loop 中當前文章的內容,無可執行代碼。\n</li>\n<li>WPINC/category.php,定義一組 WP 的目錄 API,無可執行代碼。\n</li>\n<li>WPINC/category-template.php,定義一組目錄的模板標籤和 API,無可執行代碼。\n</li>\n<li>WPINC/comment.php,定義一組 WP 的評論 API,無可執行代碼。\n</li>\n<li>WPINC/comment-template.php,定義一組評論的模板標籤,旨在 Loop 中有用,無可執行代碼。\n</li>\n<li>WPINC/feed.php,定義一組 WP 的 Feed API,其中大部分只在 Loop 中使用,無可執行代碼。\n</li>\n<li>WPINC/bookmark.php,定義一組 WP 的友情鏈接/書籤 API,無可執行代碼。\n</li>\n<li>WPINC/bookmark-template.php,定義一組書籤的模板標籤,無可執行代碼。\n</li>\n<li>WPINC/cron.php,定義一組 WP 的 CRON(定時任務) API,用於進行事件調度,無可執行代碼。\n</li>\n<li>WPINC/deprecated.php,一組已廢棄的 API,無可執行代碼。\n</li>\n<li>WPINC/class.wp-dependencies.php,定義類 WP_Dependencies 和 _WP_Dependency,用於反壓腳本隊列,這些類由 WP_Scripts類和 WP 腳本隊列 API 重構而來,無可執行代碼。\n</li>\n<li>WPINC/class.wp-scripts.php,定義類 WP_Scripts,繼承自 WP_Dependencies,功能同上,無可執行代碼。\n</li>\n<li>WPINC/functions.wp-scripts.php,定義一組 WP 的腳本隊列 API,功能同上,無可執行代碼。\n</li>\n<li>WPINC/functions.wp-styles.php,定義一組 WP 的樣式隊列 API,無可執行代碼。\n</li>\n<li>WPINC/taxonomy.php,定義一組 WP 的分類方法(與目錄概念不同,是在目錄之上的分類) API, 無可執行代碼。\n</li>\n<li>WPINC/http.php,定義一組簡化和統一 http 請求的 API,無可執行代碼。\n</li>\n<li>WPINC/class-http.php,定義一組簡化和統一 http 請求的類 WP_Http,WP_Http_Fsockopen,WP_Http_Fopen,WP_Http_Streams,WP_Http_ExtHTTP,WP_Http_Curl,WP_HTTP_Proxy,WP_Http_Cookie,WP_Http_Encoding, 用於標準化 http 請求,處理 cookies 和 gzip 編碼和解碼,無可執行代碼。\n</li>\n<li>WPINC/nav-menu.php,定義一組 WP 中導航菜單 API,屬於 WP3.0 新添加功能,無可執行代碼。\n</li>\n<li>WPINC/nav-menu-template.php,定義一組導航菜單的模板標籤及 API,無可執行代碼。\n</li>\n<li>WPINC/pluggable.php,這裡面的函數可以被插件覆蓋,如果插件沒有重新定義這些函數,則這些函數將會被使用,無可執行代碼。\n</li>\n<li>WPINC/pluggable-deprecated.php,被廢棄的可插件覆蓋函數,無可執行代碼。\n</li>\n<li>WPINC/locale.php,定義日期和時間的本地化對像類 WP_Locale,無可執行代碼。\n</li>\n<li>WPINC/post-thumbnail-template.php,定義一組 WP 的文章略圖模板標籤,無可執行代碼。\n</li>\n</ol>\n<p>第三方提供檔案、已廢棄檔案,或者和多博客相關的檔案。他們將會在相應的函數中根據需要加載:\n</p>\n<ol>\n<li>atomlib.php, 在WPINC/functions.php中的wp_maybe_load_widgets()函數中加載;\n</li>\n<li>cache.php, 在WPINC/load.php中的wp_start_object_cache()函數中加載;\n</li>\n<li>class-feed.php, 在WPINC/feed.php中的fetch_feed()函數中加載;\n</li>\n<li>class-IXR.php, 在xmlrpc.php文件中加載;在WPINC/comment.php中的pingback()和weblog_ping()函數中加載;在WPINC/functions.php中的do_enclose()函數中加載;\n</li>\n<li>class-json.php, 在WPINC/compat.php中的json_encode()和json_decode()函數中加載;\n</li>\n<li>class-oembed.php, 在WPINC/media.php中的wp_oembed_get()和wp_oembed_add_provider()函數中加載;\n</li>\n<li>class-phpass.php, 在WPINC/pluggable.php中的wp_hash_password()和wp_check_password()函數中加載;\n</li>\n<li>class-phpmailer.php, 在WPINC/pluggable.php中的wp_mail()函數中加載;\n</li>\n<li>class-pop3.php, 在wp-mail.php中加載;\n</li>\n<li>class-simplepie.php, 在WPINC/class-feed.php中加載;\n</li>\n<li>class-smtp.php, 在WPINC/pluggable.php中的wp_mail()函數中加載;\n</li>\n<li>class-snoopy.php, 已廢棄,由http.php文件替代;\n</li>\n<li>default-embeds.php, 在WPINC/functions.php中的wp_maybe_load_embeds()函數中加載;\n</li>\n<li>default-widgets.php, 在WPINC/functions.php中的wp_maybe_load_widgets()函數中加載;\n</li>\n<li>feed-atom.php, 在WPINC/functions.php中的do_feed_atom()函數中加載;\n</li>\n<li>feed-atom-comments.php, 在WPINC/functions.php中的do_feed_atom()函數中加載;\n</li>\n<li>feed-rdf.php, 在WPINC/functions.php中的do_feed_rdf()函數中加載;\n</li>\n<li>feed-rss2.php, 在WPINC/functions.php中的do_feed_rss2()函數中加載;\n</li>\n<li>feed-rss2-comments.php, 在WPINC/functions.php中的do_feed_rss2()函數中加載;\n</li>\n<li>feed-rss.php, 在WPINC/functions.php中的do_feed_rss()函數中加載;\n</li>\n<li>ms-default-constants.php, 在WPINC/ms-setting.php中加載;\n</li>\n<li>ms-files.php\n</li>\n<li>ms-load.php\n</li>\n<li>registration.php, 在wp-activate.php, wp-signup.php, wp-login.php中加載;\n</li>\n<li>registration-functions.php, 已廢棄,由registration.php文件替代;\n</li>\n<li>rss.php, 已廢棄,由class-simplepie.php文件替代;\n</li>\n<li>rss-functions.php, 已廢棄,由rss.php文件替代;\n</li>\n<li>wp-db.php, 在WPINC/functions.php中的require_wp_db()函數中加載;\n</li>\n<li>wp-diff.php, 在WPINC/functions.php中的wp_text_diff()函數中加載;\n</li>\n<li>pomo/po.php, 沒有被加載???\n</li>\n</ol>\n\n<!-- \nNewPP limit report\nCPU time usage: 0.010 seconds\nReal time usage: 0.012 seconds\nPreprocessor visited node count: 39/1000000\nPreprocessor generated node count: 44/1000000\nPost‐expand include size: 0/2097152 bytes\nTemplate argument size: 0/2097152 bytes\nHighest expansion depth: 2/40\nExpensive parser function count: 0/100\n-->\n\n<!-- Saved in parser cache with key wiki-wiki_:pcache:idhash:103-0!*!*!!zh-tw!*!* and timestamp 20240511090618 and revision id 1320\n -->\n\";s:14:\"mLanguageLinks\";a:0:{}s:11:\"mCategories\";a:1:{s:12:\"應用軟體\";s:0:\"\";}s:10:\"mTitleText\";s:25:\"Wordpress/目錄與檔案\";s:6:\"mLinks\";a:0:{}s:10:\"mTemplates\";a:0:{}s:12:\"mTemplateIds\";a:0:{}s:7:\"mImages\";a:0:{}s:18:\"mFileSearchOptions\";a:0:{}s:14:\"mExternalLinks\";a:0:{}s:15:\"mInterwikiLinks\";a:0:{}s:11:\"mNewSection\";b:0;s:15:\"mHideNewSection\";b:0;s:10:\"mNoGallery\";b:0;s:10:\"mHeadItems\";a:0:{}s:8:\"mModules\";a:0:{}s:14:\"mModuleScripts\";a:0:{}s:13:\"mModuleStyles\";a:0:{}s:15:\"mModuleMessages\";a:0:{}s:13:\"mJsConfigVars\";a:0:{}s:12:\"mOutputHooks\";a:0:{}s:9:\"mWarnings\";a:0:{}s:9:\"mSections\";a:10:{i:0;a:8:{s:8:\"toclevel\";i:1;s:5:\"level\";s:1:\"3\";s:4:\"line\";s:18:\"Wordpress根目錄\";s:6:\"number\";s:1:\"1\";s:5:\"index\";s:1:\"1\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:13;s:6:\"anchor\";s:36:\"Wordpress.E6.A0.B9.E7.9B.AE.E9.8C.84\";}i:1;a:8:{s:8:\"toclevel\";i:1;s:5:\"level\";s:1:\"3\";s:4:\"line\";s:3:\"etc\";s:6:\"number\";s:1:\"2\";s:5:\"index\";s:1:\"2\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:539;s:6:\"anchor\";s:3:\"etc\";}i:2;a:8:{s:8:\"toclevel\";i:1;s:5:\"level\";s:1:\"3\";s:4:\"line\";s:8:\"wp-admin\";s:6:\"number\";s:1:\"3\";s:5:\"index\";s:1:\"3\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:619;s:6:\"anchor\";s:8:\"wp-admin\";}i:3;a:8:{s:8:\"toclevel\";i:1;s:5:\"level\";s:1:\"3\";s:4:\"line\";s:10:\"wp-content\";s:6:\"number\";s:1:\"4\";s:5:\"index\";s:1:\"4\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:644;s:6:\"anchor\";s:10:\"wp-content\";}i:4;a:8:{s:8:\"toclevel\";i:2;s:5:\"level\";s:1:\"4\";s:4:\"line\";s:10:\"mu-plugins\";s:6:\"number\";s:3:\"4.1\";s:5:\"index\";s:1:\"5\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:661;s:6:\"anchor\";s:10:\"mu-plugins\";}i:5;a:8:{s:8:\"toclevel\";i:2;s:5:\"level\";s:1:\"4\";s:4:\"line\";s:7:\"plugins\";s:6:\"number\";s:3:\"4.2\";s:5:\"index\";s:1:\"6\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:680;s:6:\"anchor\";s:7:\"plugins\";}i:6;a:8:{s:8:\"toclevel\";i:2;s:5:\"level\";s:1:\"4\";s:4:\"line\";s:6:\"themes\";s:6:\"number\";s:3:\"4.3\";s:5:\"index\";s:1:\"7\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:696;s:6:\"anchor\";s:6:\"themes\";}i:7;a:8:{s:8:\"toclevel\";i:2;s:5:\"level\";s:1:\"4\";s:4:\"line\";s:7:\"upgrade\";s:6:\"number\";s:3:\"4.4\";s:5:\"index\";s:1:\"8\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:921;s:6:\"anchor\";s:7:\"upgrade\";}i:8;a:8:{s:8:\"toclevel\";i:2;s:5:\"level\";s:1:\"4\";s:4:\"line\";s:7:\"uploads\";s:6:\"number\";s:3:\"4.5\";s:5:\"index\";s:1:\"9\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:937;s:6:\"anchor\";s:7:\"uploads\";}i:9;a:8:{s:8:\"toclevel\";i:1;s:5:\"level\";s:1:\"3\";s:4:\"line\";s:11:\"wp-includes\";s:6:\"number\";s:1:\"5\";s:5:\"index\";s:2:\"10\";s:9:\"fromtitle\";s:25:\"Wordpress/目錄與檔案\";s:10:\"byteoffset\";i:953;s:6:\"anchor\";s:11:\"wp-includes\";}}s:18:\"mEditSectionTokens\";b:0;s:11:\"mProperties\";a:0:{}s:8:\"mTOCHTML\";s:1509:\"<div id=\"toc\" class=\"toc\"><div id=\"toctitle\"><h2>目錄</h2></div>\n\n<ul>\n<li class=\"toclevel-1 tocsection-1\"><a href=\"#Wordpress.E6.A0.B9.E7.9B.AE.E9.8C.84\"><span class=\"tocnumber\">1</span> <span class=\"toctext\">Wordpress根目錄</span></a></li>\n\n<li class=\"toclevel-1 tocsection-2\"><a href=\"#etc\"><span class=\"tocnumber\">2</span> <span class=\"toctext\">etc</span></a></li>\n\n<li class=\"toclevel-1 tocsection-3\"><a href=\"#wp-admin\"><span class=\"tocnumber\">3</span> <span class=\"toctext\">wp-admin</span></a></li>\n\n<li class=\"toclevel-1 tocsection-4\"><a href=\"#wp-content\"><span class=\"tocnumber\">4</span> <span class=\"toctext\">wp-content</span></a>\n<ul>\n<li class=\"toclevel-2 tocsection-5\"><a href=\"#mu-plugins\"><span class=\"tocnumber\">4.1</span> <span class=\"toctext\">mu-plugins</span></a></li>\n\n<li class=\"toclevel-2 tocsection-6\"><a href=\"#plugins\"><span class=\"tocnumber\">4.2</span> <span class=\"toctext\">plugins</span></a></li>\n\n<li class=\"toclevel-2 tocsection-7\"><a href=\"#themes\"><span class=\"tocnumber\">4.3</span> <span class=\"toctext\">themes</span></a></li>\n\n<li class=\"toclevel-2 tocsection-8\"><a href=\"#upgrade\"><span class=\"tocnumber\">4.4</span> <span class=\"toctext\">upgrade</span></a></li>\n\n<li class=\"toclevel-2 tocsection-9\"><a href=\"#uploads\"><span class=\"tocnumber\">4.5</span> <span class=\"toctext\">uploads</span></a></li>\n</ul>\n</li>\n\n<li class=\"toclevel-1 tocsection-10\"><a href=\"#wp-includes\"><span class=\"tocnumber\">5</span> <span class=\"toctext\">wp-includes</span></a></li>\n</ul>\n</div>\n\";s:10:\"mTimestamp\";s:14:\"20160817223651\";s:11:\"mTOCEnabled\";b:1;s:26:\"\0ParserOutput\0mIndexPolicy\";s:0:\"\";s:30:\"\0ParserOutput\0mAccessedOptions\";a:2:{s:14:\"numberheadings\";b:1;s:8:\"userlang\";b:1;}s:28:\"\0ParserOutput\0mExtensionData\";a:0:{}s:30:\"\0ParserOutput\0mLimitReportData\";a:8:{s:19:\"limitreport-cputime\";s:5:\"0.010\";s:20:\"limitreport-walltime\";s:5:\"0.012\";s:26:\"limitreport-ppvisitednodes\";a:2:{i:0;i:39;i:1;i:1000000;}s:28:\"limitreport-ppgeneratednodes\";a:2:{i:0;i:44;i:1;i:1000000;}s:33:\"limitreport-postexpandincludesize\";a:2:{i:0;i:0;i:1;i:2097152;}s:32:\"limitreport-templateargumentsize\";a:2:{i:0;i:0;i:1;i:2097152;}s:26:\"limitreport-expansiondepth\";a:2:{i:0;i:2;i:1;i:40;}s:34:\"limitreport-expensivefunctioncount\";a:2:{i:0;i:0;i:1;i:100;}}s:34:\"\0ParserOutput\0mPreventClickjacking\";b:0;s:12:\"mUsedOptions\";N;s:8:\"mVersion\";s:5:\"1.6.4\";s:10:\"mCacheTime\";s:14:\"20240511090618\";s:12:\"mCacheExpiry\";N;s:17:\"mContainsOldMagic\";b:0;s:16:\"mCacheRevisionId\";i:1320;}','20240512090618')
-
MessageCache::load: Loading zh-hant... got from global cache
-
MessageCache::load: Loading zh-hans... got from global cache
-
MessageCache::load: Loading en... got from global cache
-
Title::getRestrictionTypes: applicable restrictions to [[Wordpress/目錄與檔案]] are {edit,move}
-
-