Title: String locator
Author: InstaWP
Published: <strong>15 augusti 2013</strong>
Last modified: 15 januari 2025

---

Sök tillägg

![](https://ps.w.org/string-locator/assets/banner-772x250.png?rev=928605)

![](https://ps.w.org/string-locator/assets/icon-256x256.png?rev=1352230)

# String locator

 Av [InstaWP](https://profiles.wordpress.org/instawp/)

[Ladda ner](https://downloads.wordpress.org/plugin/string-locator.2.6.7.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/string-locator/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/string-locator/#reviews)
 * [Utveckling](https://sv.wordpress.org/plugins/string-locator/#developers)

 [Support](https://wordpress.org/support/plugin/string-locator/)

## Beskrivning

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 a replica of your live site a.k.a – [WordPress Staging](https://wordpress.org/plugins/instawp-connect)
site before testing substitutions.

## Skärmdumpar

 * [[
 * 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.

## Vanliga frågor

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

## Recensioner

![](https://secure.gravatar.com/avatar/1c53113567f83fe61de23c9ea53d030264fde12528f4b1c428509ffc120d4d6e?
s=60&d=retro&r=g)

### 󠀁[Works perfectly and Great Plugin](https://wordpress.org/support/topic/works-perfectly-and-great-plugin/)󠁿

 [aqeeliqbal](https://profiles.wordpress.org/aqeeliqbal/) 9 april 2026

Works perfectly and Great Plugin

![](https://secure.gravatar.com/avatar/4b74336b53c44542848a38a0f20e39581b5432180275883407166ef69e1b95de?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-17085/)󠁿

 [ishraqued](https://profiles.wordpress.org/ishraqued/) 25 mars 2026

Great

![](https://secure.gravatar.com/avatar/5fbd75ff0eb49baa1d73c5684a6d501353d3278d3e6fe4c38044c9ce426526f8?
s=60&d=retro&r=g)

### 󠀁[Great for support](https://wordpress.org/support/topic/great-for-support-5/)󠁿

 [Adrian Tobey](https://profiles.wordpress.org/trainingbusinesspros/) 24 juni 2025

I’ve used this plugin now a dozen times to track down plugins conflicts for my customers.
Truly one of the best debug utilities, up there with Query Monitor!

![](https://secure.gravatar.com/avatar/c218c7f675b81fc117877c0a0f8f842b4268543d3e7501fa8c6e3b0717a2485d?
s=60&d=retro&r=g)

### 󠀁[A translation passepartout](https://wordpress.org/support/topic/a-translation-passepartout/)󠁿

 [masvil](https://profiles.wordpress.org/masvil/) 14 februari 2025

Some plugins don’t allow translations in a standard way. For those, there is String
locator.

![](https://secure.gravatar.com/avatar/db85d50a8b97fada2ec8b7f756e4d4a678d238f7b1e4f277db36e32b28139d01?
s=60&d=retro&r=g)

### 󠀁[Doesnt work](https://wordpress.org/support/topic/doesnt-work-3046/)󠁿

 [sueyrad](https://profiles.wordpress.org/sueyrad/) 18 januari 2025

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

![](https://secure.gravatar.com/avatar/97126a0413912eca72bb5cc81f24861d03c05b7cbd5720f65dd9a0f3ce688b9c?
s=60&d=retro&r=g)

### 󠀁[Top Plugin](https://wordpress.org/support/topic/top-plugin-474/)󠁿

 [klixtorg](https://profiles.wordpress.org/klixtorg/) 24 november 2024

A powerful addition to your debugging toolkit.

 [ Läs alla 125 betyg ](https://wordpress.org/support/plugin/string-locator/reviews/)

## Bidragsgivare och utvecklare

”String locator” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ InstaWP ](https://profiles.wordpress.org/instawp/)
 *   [ Marius L. J. ](https://profiles.wordpress.org/clorith/)

”String locator” har översatts till 17 språk. Tack till [översättarna](https://translate.wordpress.org/projects/wp-plugins/string-locator/contributors)
för deras bidrag.

[Översätt ”String locator” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/string-locator)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/string-locator/), 
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/string-locator/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/string-locator/)
via [RSS](https://plugins.trac.wordpress.org/log/string-locator/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 2.6.7 (2025-01-15)

 * Fixed secured unserialized data handling to prevent potential vulnerabilities.
 * Verified compatibility with WordPress 6.7

#### 2.6.6 (2024-08-21)

 * Fixed missing URL input sanitization.
 * Verified compatibility with WordPress 6.6

#### 2.6.5 (2024-03-12)

 * Verified compatibility with WordPress 6.5

#### 2.6.4 (2024-03-12)

 * Verified compatibility with WordPress 6.4

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

## Meta

 *  Version **2.6.7**
 *  Senast uppdaterat **1 år sedan**
 *  Aktiva installationer **100 000+**
 *  WordPress-version ** 4.9 eller senare **
 *  Testat upp till **6.7.5**
 *  Språk
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/string-locator/), [Dutch](https://nl.wordpress.org/plugins/string-locator/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/string-locator/), [English (Australia)](https://en-au.wordpress.org/plugins/string-locator/),
   [English (Canada)](https://en-ca.wordpress.org/plugins/string-locator/), [English (US)](https://wordpress.org/plugins/string-locator/),
   [French (France)](https://fr.wordpress.org/plugins/string-locator/), [German](https://de.wordpress.org/plugins/string-locator/),
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/string-locator/), 
   [Greek](https://el.wordpress.org/plugins/string-locator/), [Japanese](https://ja.wordpress.org/plugins/string-locator/),
   [Romanian](https://ro.wordpress.org/plugins/string-locator/), [Spanish (Chile)](https://cl.wordpress.org/plugins/string-locator/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/string-locator/), [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/string-locator/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/string-locator/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/string-locator/)
   och [Swedish](https://sv.wordpress.org/plugins/string-locator/).
 *  [Översätt till ditt språk](https://translate.wordpress.org/projects/wp-plugins/string-locator)
 * Etiketter
 * [find](https://sv.wordpress.org/plugins/tags/find/)[Highlight](https://sv.wordpress.org/plugins/tags/highlight/)
   [search](https://sv.wordpress.org/plugins/tags/search/)[syntax](https://sv.wordpress.org/plugins/tags/syntax/)
   [text](https://sv.wordpress.org/plugins/tags/text/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/string-locator/advanced/)

## Betyg

 4.6 av 5 stjärnor.

 *  [  113 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/string-locator/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/string-locator/reviews/?filter=4)
 *  [  1 3-stjärnig recension     ](https://wordpress.org/support/plugin/string-locator/reviews/?filter=3)
 *  [  2 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/string-locator/reviews/?filter=2)
 *  [  9 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/string-locator/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/string-locator/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/string-locator/reviews/)

## Bidragande personer

 *   [ InstaWP ](https://profiles.wordpress.org/instawp/)
 *   [ Marius L. J. ](https://profiles.wordpress.org/clorith/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/string-locator/)