String locator

설명

When working on themes and plugins you often notice a piece of text that appears hardcoded into the files, you need to modify it, but you don’t know what theme or plugin it’s in, and certainly not which individual file to look in.

Easily search through your themes, plugins or even WordPress core and be presented with a list of files, the matched text and what line of the file matched your search.
You can then quickly make edits directly in your browser by clicking the link from the search results.

By default a consistency check is performed when making edits to files, this will look for inconsistencies with braces, brackets and parenthesis that are often accidentally left in.
This drastically reduces the risk of breaking your site when making edits, but is in no way an absolute guarantee.

Create Disposable WordPress Sites in Seconds

스크린샷

  • 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.

후기

2022년 2월 7일
This plugin crashed my entire website, not even disabling plugins helped getting my website back up, the only thing I could do was to restore the daily backup my hosting creates. I could've lost all of my work because of this plugin, create a backup before you even install it.
2022년 2월 4일
genial si necesitas traducir algo y no sabes si está en un plugin, en la plantilla, en WordPress... Con este plugin encuentras la ruta y luego con LOCO Translate o editando con POEdit traduces lo que sea
2022년 1월 19일
Wish I found this plugin earlier. So easy to find file location from code. Wow+++ Sometimes it took me days to find solution but now it takes seconds. Thanks a lot!
2021년 9월 11일
Great for finding a string or expression, but you'd better use FTP to edit your files because if you type a wrong comma, your WP might stop altogether.
2021년 8월 2일
This plugin saved me hours of searching while my developer was on vacation, thx man, good job.
모든 107 평가 읽기

기여자 & 개발자

“String locator”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“String locator”(이)가 13(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “String locator”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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.