跳到内容

Prajesh Search & Replace

v0.1.0

Prajesh Ganatra · 2026年11月26日 上架

Review individual text and link matches before applying a selected replacement.

正在使用
10 以下
评分
暂无
累计下载
0
最近更新
2026年11月26日
需要 WordPress 6.9+已测试到 7.1.5PHP 8.2+

截图

Search workspace with content type, search area, matching options and private search recipes. Review selected occurrences before applying changes.
Search workspace with content type, search area, matching options and private search recipes. Review selected occurrences before applying changes.

Open Tools > Search & Replace. Choose a supported editorial post type and search area: visible content text, link destinations, titles or excerpts. Enter literal search and replacement strings, with optional case and whole-word matching. Select occurrences, review exact before/after values, and explicitly apply. A blank replacement removes selected matched text. Save up to twenty named private search recipes per editor.

Supported static core blocks and classic HTML are processed locally. No regular expression input, arbitrary PHP, external services, arbitrary database table replacement, builder metadata, image URL remapping or serialized database writes are offered. Dynamic, HTML, code and unknown blocks are excluded. Shortcode-like text and classic content containing shortcodes are excluded. Text crossing HTML nodes is not matched as one phrase. A candidate page can contain records with no supported matches. Fifty candidate records per page; at most 2,000 occurrences per record and 128 KB per field.

Review uses owner-scoped, non-autoloaded WordPress options. Pending apply expires after 15 minutes. Keep up to ten batches for seven days. Apply and undo use record-level transactions, permission checks, edit locks, and conflict detection. Undo skips records changed subsequently and cannot undo external save-hook effects. Back up before bulk edits. Changes to published records take effect immediately on apply. This is not a database migration or backup tool.

Single-site WordPress with InnoDB posts, postmeta and options tables is required. Access requires edit_posts plus each record’s editing permissions. No data is sent to a third party. Uninstall removes plugin journals and preferences, preserving content. Deactivation preserves stored reviews and stops scheduled cleanup.

Source Code and Development

The complete, human-readable PHP, JavaScript and CSS source is included in this plugin. The shipped files are edited directly; there are no compiled bundles, minified runtime assets or source maps, and no build step is required.

  • assets/admin.js: administration interface, written with WordPress wp.element.createElement (no JSX or transpilation).
  • assets/admin.css and assets/base.css: editable administration styles.
  • includes/: search, review, apply and undo implementation.
  • prajesh-search-replace.php: plugin bootstrap.

WordPress supplies wp.element, wp.components and wp.i18n. No third-party JavaScript library is bundled. No npm, webpack or other build tools are required to modify or run these files. JavaScript and CSS formatting is optional and does not generate a separate runtime file.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums