String locator

説明

テーマやプラグインを使っているときに、ファイルに直接コーディングされているように見えるテキストに気付くことがよくあります。それらを変更する必要があっても、どのテーマやプラグインに含まれているかは分からなかったり、どのファイルを調べればよいかも分からなかったりします。

このプラグインを使えば、テーマ、プラグイン、WordPress コアファイル内を簡単に検索でき、ファイル一覧、一致したテキスト、検索に一致下ファイルの行が表示されます。
検索結果のリンクをクリックすれば、ブラウザー上で直接編集を行うことができます。

デフォルトでは、ファイルを編集する際に一貫性チェックが実行されます。これは、よく誤って残される中括弧、括弧、括弧の不一致を探します。
これにより、編集時にサイトが壊れる危険性を大幅に減らすことができますが、絶対的な保証をするものではありません。

Create a replica of your live site a.k.a – WordPress Staging site before testing substitutions.

スクリーンショット

  • Searching WordPress for the string hello dolly.
  • Search screen when editing is disabled.
  • Having clicked the link for one of the results and being taken to the editor in the browser.
  • Smart-Scan has detected an inconsistency in the use of braces.

FAQ

Will Smart-Scan guarantee my site is safe when making edits?

Although it will do it’s best at detecting incorrect usage of the commonly used symbols (parenthesis, brackets and braces), there is no guarantee every possible error is detected. The best safe guard is to keep consistent backups of your site (even when not making edits).

As of version 1.6, the plugin will check your site health after performing an edit. If the site is returning a site breaking error code, we’ll revert to the previous version of the file.

My search is failing and I am told that my search is an invalid pattern

This error is only related to regex searches, and is based off how PHP reads your regex string.

When writing your search string, make sure to wrap your search in forward slashes (/), directly followed by any modifiers like case insensitive (i) that you may want to use.

評価

2023年11月2日
WarningThe maximum time your server allows a script to run (1) is too low for the plugin to run as intended, at startup 2 seconds have passed I reached out to my hosting and they said to reach out to you with the error. “the PHP max_execution_time is currently set to 120” no support
2023年5月5日
I spent hours looking for 1 line of code. Finally gave in and downloaded this plugin and it found what I was looking for right away. Highly recommend!
2023年3月23日
I have got the below error in search: SyntaxError: Unexpected token '<', " "… is not valid JSON How can I do to fix?
117件のレビューをすべて表示

貢献者と開発者

String locator はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“String locator” は15ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“String locator” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.6.3 (2023-08-10)

  • CSS/JS Loading bug fixes

2.6.2 (2023-08-10)

  • Added InstaWP integration.
  • WP ORG Support ticket fixes.

2.6.1 (2022-11-02)

  • Fixed a bug causing certain setups to be unable to perform searches when editing would also be unavailable.
  • Fixed a bug causing certain plugins to prevent the search results list from being displayed properly.
  • Verified compatibility with WordPress 6.1

2.6.0 (2022-07-20)

  • Added database search feature.
  • Added tools for quickly replacing data in the search results.
  • Added many more filters and actions.
  • Added hardening of file path checks.
  • Removed one-time donation notice.
  • Removed jQuery dependency in favor of vanilla JavaScript code.
  • Separated search class into a base class for extenders.
  • Fixed bug with code viewer sizes when resizing your window.
  • Fixed bug in the list view if special characters were in the search string.
  • Fixed a bug where RegEx search validation may have a false positive check for invalid patterns.
  • Fixed missing translator function if Javascript is missing.
  • Improved capability checks for displaying the search interface when editing is disabled.

Older entries

See changelog.txt for the version history.