前言介紹
- 這款 WordPress 外掛「What's running」是 2014-03-19 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2015-08-24,距離現在已有 3838 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
debug | debugger | profiler | debugging | developer | profiling | development | performance |
內容簡介
僅用於開發!
現在支援OPcache內存消耗
這個外掛會在正常的WordPress HTML輸出後,HTML標籤關閉後,輸出帶有彩色標記的文件名稱、記憶體消耗或檔案大小。這樣會產生無效的HTML,但卻讓你能夠瞭解哪些外掛和目前使用的佈景主題已被載入。
正在運行的內容列出PHP引擎解析和執行的所有檔案。這可以用於外掛或佈景主題重構。
現在您可以突顯自己的外掛和佈景主題
在wp-config.php中提供路徑的一部分:
define('WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin');
顏色代碼
您的程式碼會以黃色背景顯示
外掛檔案顯示為藍色
佈景主題檔案顯示為橘色
wp-includes目錄中的檔案顯示為綠色
wp-admin目錄中的檔案顯示為灰色
所有其他檔案顯示為紅色
文件名稱後的紫色條代表檔案尺寸(0.5 kB/像素)
文件名稱後的深紫色條代表OPcache使用內存(1 kB/像素)
連結
您可以點擊WP core bug#28364 ,以獲得有關WordPress入口點的更多信息。
您可以在這裡找到有關何謂高效的WordPress外掛程式碼的一些文件:https://github.com/szepeviktor/WPHW。
本外掛的開發在GitHub上繼續進行。
原文外掛簡介
Only for development!
Now with OPcache memory consumption support
This plugin dumps the colorized filenames and memory consumptions or file sizes after the normal WordPress HTML output, after the closing html tag. This generates invalid HTML but gives you an overview of loaded plugins and the current theme.
What’s running lists all files parsed and executed by the PHP engine. It can be used for plugin or theme refactoring.
Now you can highlight your own plugin and theme
Provide a part of its path in wp-config.php:
define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' );
Color codes
your code is highlighted with YELLOW background
plugin files are in BLUE
themes files are in ORANGE
files in the wp-includes directory are in GREEN
files in the wp-admin directory are in GREY
all other files are in RED
VIOLET bar after the filename represents the file size ( 0.5 kB/px )
DARK MAGENTA bar after the filename represents the OPcache memory consumption ( 1 kB/px )
Links
You can watch WP core bug #28364 to get more information about WordPress entry points.
You can find some documentaion here what makes a WordPress plugin efficient: https://github.com/szepeviktor/WPHW
Development of this plugin goes on on GitHub.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「What's running」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 1.9.1 | trunk |
延伸相關外掛(你可能也想知道)
LiteSpeed Cache 》LiteSpeed Cache for WordPress(LSCWP)是一種全方位的網站加速外掛,包括獨家的伺服器層快取和一系列的優化功能。, LSCWP 支援 WordPress Multisite 及大多...。Jetpack – WP Security, Backup, Speed, & Growth 》search engines, and grow your traffic with Jetpack. It’s the ultimate toolkit for WordPress professionals and beginners alike., , Customize and des...。
Image Optimizer – Optimize Images and Convert to WebP or AVIF 》外掛總結:, , - Image Optimizer 是一個易於使用的 WordPress 外掛,透過壓縮和調整大小的技術來減少圖像大小,同時保留最高的圖像品質。, - Image Optimize...。
WP Super Cache 》本外掛可以從您的動態 WordPress 部落格生成靜態 HTML 檔案。在產生 HTML 檔案後,您的網頁伺服器會傳送該檔案,而不是處理比較沉重、耗費更多資源的 WordPre...。
WP Fastest Cache – WordPress Cache Plugin 》han PNG or JPEG, which means faster downloads and less data consumption for your visitors, Database Cleanup – Detect and delete unnecessary d...。ManageWP Worker 》, Want to clone or migrate your WordPress website to a new host or domain? No problem! With ManageWP, you can easily clone or migrate your website ...。
Speed Optimizer – The All-In-One Performance-Boosting Plugin 》SiteGround Optimizer 插件是由 SiteGround 開發的,可以大幅提高任何托管環境下的 WordPress 網站性能。, 最初設計用於 SiteGround 的服務器,現在已經有近 ...。
W3 Total Cache 》W3 Total Cache (W3TC) 透過整合內容傳遞網絡 (CDN) 和最新最佳實踐等功能,提高網站性能、減少加載時間,增進 SEO、核心 Web 主要指標和整體用戶體驗。W3TC ...。
Autoptimize 》Autoptimize 能夠輕鬆優化您的網站。它可以整合、縮小和快取腳本和樣式表,在默認情況下向頁面 head 中注入 CSS,但也可以內嵌關鍵 CSS 並延遲整合的完整 CSS...。
Breeze Cache 》Breeze是由Cloudways團隊開發的一款免費、簡單(卻功能強大)且使用者友好的WordPress快取外掛。它提供不同層級的WordPress效能優化選項,在WordPress、搭配W...。AMP 》「Page Experience」(PX)是一組排名訊號,包括「核心網頁素質」(Core Web Vitals,CWV),用來測量使用者與網頁互動的使用體驗。AMP 是一個強大的工具,能...。
WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
Redis Object Cache 》一個由 Redis 提供支援的持久化物件快取後端。支援 Predis、PhpRedis (PECL)、Relay、複寫、哨兵、叢集化和 WP-CLI。, 若要調整連線參數、前綴的快取鍵或設定...。
Custom Fonts – Host Your Fonts Locally 》此外掛能協助您輕鬆地在 WordPress 網站中嵌入自定義字型檔案 (woff2、woff、ttf、svg、eot、otf)。, 目前能與以下主題和外掛一起使用:, , Astra 主題, Beav...。Query Monitor – The developer tools panel for WordPress 》ministrator user). This cookie can be set by defining QM_AUTH_KEY in your wp-config.php file., To learn more about how to use Query Monitor, please...。
