
內容簡介
總結:
這個外掛可以找到包含特定古騰堡區塊內容的地方,並具有完美用於稽核和分析的 CSV 匯出功能。
問題與答案:
1. 這個外掛的核心功能有哪些?
- 逐步搜尋和批次處理大型網站
- 文章類型過濾 - 跨文章、頁面或自訂文章類型搜尋
- CSV 匯出 - 匯出結果進行報告和分析
- 區塊下拉選單 - 從所有已註冊區塊中選擇
- 同步模式搜索 - 找到可重複使用的區塊/模式
- 可排序的結果表格,方便分析
- WP-CLI 支援自動化
2. 這個外掛如何確保安全性?
- 改進的輸入驗證與黑名單
- 雙層速率限制(使用者 + IP)
- 超時保護(25秒安全保障)
- 防止信息泄漏
- 防止 XSS 和注入
- 長會話時的一次性自動更新
3. 這個外掛如何提升可訪問性?
- 與 ARIA 實時區域兼容的螢幕閱讀器
- 完整的鍵盤導覽支援
- 可見的焦點指示器
- 所有輸入的表單標籤
- 結果計數通知
- 可擴大至 200% 的響應式設計支援
以上內容為總結和問答,以繁體中文呈現。
外掛標籤
開發者團隊
② 後台搜尋「Find Blocks, Patterns & Shortcodes」→ 直接安裝(推薦)
原文外掛簡介
Find Blocks, Patterns & Shortcodes locates content containing specific Gutenberg blocks (including options to search by CSS class and HTML anchor attributes), patterns, and shortcodes, with a CSV export feature perfect for audits & analysis.
Core Features
Progressive search with batch processing for large sites
Post type filtering – search across posts, pages, or custom post types to find blocks, patterns, and shortcodes
CSV export – export results for reporting, auditing, and analysis
Block dropdown – select from all registered blocks
Attribute search – find blocks by CSS class and HTML anchor attributes
Synced pattern search – find usage of reusable blocks/patterns
Sortable results tables for easy analysis
WP-CLI support for automation
Performance Optimized
Smart caching with 5-minute TTL
Batch processing (100 posts per batch)
Query optimization (IDs only fetch)
Progress indicators for long operations
Cancellable searches
Hard limit protection (500-1000 posts)
Security
Enhanced input validation with blacklisting
Dual-layer rate limiting (user + IP)
Timeout protection (25-second safeguard)
Information disclosure prevention
XSS and injection prevention
Nonce auto-refresh for long sessions
Accessibility
Screen reader compatible with ARIA live regions
Full keyboard navigation support
Visible focus indicators
Form labels for all inputs
Results count announcements
Responsive design with 200% zoom support
WP-CLI Commands
Search for blocks:
wp block-usage search core/paragraph –post-type=post,page –format=table
Clear cache:
wp block-usage clear-cache
View security logs:
wp block-usage logs –limit=100 –format=csv
Filters and Hooks
Filters
fbps_query_limit – Adjust search limit (default: 500, max: 1000)
fbps_enable_security_logging – Toggle security logging (default: true)
fbps_allow_editor_access – Allow Editor role access (default: false)
Actions
fbps_security_event – Hook into security event logging
Privacy
This plugin:
* Does not collect any user data
* Does not make external API calls
* Stores security logs locally (last 1000 events)
* Logs include: timestamp, user ID, IP address, event type
* Security logs can be disabled via filter
Support
For support, feature requests, or bug reports, please use the WordPress.org support forums.
Credits
Developed by Matthew Cowan
