Title: FG Fix Serialized Strings
Author: Kerfred
Published: <strong>2013 年 10 月 31 日</strong>
Last modified: 2025 年 4 月 29 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/fg-fix-serialized-strings.svg)

# FG Fix Serialized Strings

 作者：[Kerfred](https://profiles.wordpress.org/kerfred/)

[下载](https://downloads.wordpress.org/plugin/fg-fix-serialized-strings.1.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/fg-fix-serialized-strings/#description)
 * [评价](https://cn.wordpress.org/plugins/fg-fix-serialized-strings/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/fg-fix-serialized-strings/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/fg-fix-serialized-strings/#developers)

 [支持](https://wordpress.org/support/plugin/fg-fix-serialized-strings/)

## 描述

This plugin fixes the serialized strings in the wp_options table. It recalculate
the length of each strings.
 It can be useful after a migration if you have done
a global search/replace in the SQL dump.

Major features include:

 * Repair the options table
 * Repair the postmeta table
 * Restore the lost text widgets

### _翻译_

 * English (default)
 * French (fr_FR)
 * other can be translated

## 屏幕截图

 * [[
 * Parameters screen

## 安装

 1. Install the plugin in the Admin => Plugins menu => Add New => Upload => Select 
    the zip file => Install Now
 2. Activate the plugin in the Admin => Plugins menu
 3. Go to the plugin screen: Tools => Fix serialized strings

## 常见问题

No questions yet.

Don’t hesitate to let a comment on the forum or to report bugs if you found some.

https://wordpress.org/support/plugin/fg-fix-serialized-strings

## 评价

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

### 󠀁[Worked for me](https://wordpress.org/support/topic/worked-for-me-50/)󠁿

 [kdevanti](https://profiles.wordpress.org/kdevanti/) 2017 年 1 月 19 日

Fix the broken go_portfolio galleries after switching to SSL

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

### 󠀁[not fixing nested serialized strings correctly](https://wordpress.org/support/topic/not-fixing-nested-serialized-strings-correctly-1/)󠁿

 [bhenselmann](https://profiles.wordpress.org/bhenselmann/) 2016 年 9 月 3 日

the plugin might be able to fix serialized strings for widgets, but it was not working
for fixing a serialized string from a plugin (global content block) with nested 
data arrays. It seems, that it simply looks for the first pair of double quotes 
and counts the character between.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/)

## 贡献者及开发者

「FG Fix Serialized Strings」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Kerfred ](https://profiles.wordpress.org/kerfred/)

[帮助将「FG Fix Serialized Strings」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/fg-fix-serialized-strings)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/fg-fix-serialized-strings/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/fg-fix-serialized-strings/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/fg-fix-serialized-strings/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/fg-fix-serialized-strings/)。

## 更新日志

#### 1.2.2

 * Tested with WordPress 6.8

#### 1.2.1

 * Fixed: Replace null by false in the function load_plugin_textdomain()
 * Tested with WordPress 6.6

#### 1.2.0

 * New: Repair the postmeta table
 * New: Tested with WordPress 5.7

#### 1.1.3

 * New: Tested with WordPress 5.0

#### 1.1.2

 * New: Tested with WordPress 4.7

#### 1.1.1

 * New: Change the translation domain according to WordPress translating rules
 * New: Tested with WordPress 4.4

#### 1.1.0

 * New: Restore the lost text widgets
 * New: Tested with WordPress 3.8.1

#### 1.0.0

 * Initial version

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**1 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/fg-fix-serialized-strings/)
 * 标签
 * [fix](https://cn.wordpress.org/plugins/tags/fix/)[serialized](https://cn.wordpress.org/plugins/tags/serialized/)
   [widgets](https://cn.wordpress.org/plugins/tags/widgets/)[wp_options](https://cn.wordpress.org/plugins/tags/wp_options/)
 *  [高级视图](https://cn.wordpress.org/plugins/fg-fix-serialized-strings/advanced/)

## 评级

 3.7 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/fg-fix-serialized-strings/reviews/)

## 贡献者

 *   [ Kerfred ](https://profiles.wordpress.org/kerfred/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/fg-fix-serialized-strings/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=fred%2egilles%40free%2efr&lc=FR&item_name=fix_serialized_strings&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)