Title: TweakMaster
Author: Nico
Published: <strong>2025 年 8 月 3 日</strong>
Last modified: 2025 年 10 月 22 日

---

搜索插件

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

![](https://ps.w.org/tweakmaster/assets/icon-128x128.png?rev=3338568)

# TweakMaster

 作者：[Nico](https://profiles.wordpress.org/nico23/)

[下载](https://downloads.wordpress.org/plugin/tweakmaster.1.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/tweakmaster/#description)
 * [评价](https://cn.wordpress.org/plugins/tweakmaster/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/tweakmaster/#developers)

 [支持](https://wordpress.org/support/plugin/tweakmaster/)

## 描述

WP Tweak is a lightweight and minimalistic WordPress plugin designed to enhance 
your website with a curated set of tweaks. It focuses on improving performance, 
bolstering privacy, strengthening security, and adding other useful optimizations—
all without unnecessary bloat. Perfect for users who want a simple yet effective
solution to fine-tune their WordPress experience.

This plugins handles tweaks in a minimalistic way. Only files that contains tweaks
that you activate are loaded!

#### Tweaks

 * **Remove version query strings**
    Removes `?ver=1.2.3` from all styles and scripts.
 * **Disable feeds**
 * **Disable emojis**
 * **Search single result redirect**
 * **Disallow File Edits**
    Disables the ability to edit files in the file manager.
   Sets `DISALLOW_FILE_EDIT` constant to true. Does only work if the constant is
   already defined, usually in wp-config.php
 * **Admin bar greeting**
    Replace “Howdy, {name}” with a custom message. Use `{
   name}` for the user’s display name. For example `Hi, {name}!`. Leave empty for
   no greeting. Use `default` for the default greeting, preventing the tweak from
   running.
 * **Enable fonts to uploads**
    Move (Google) Fonts enabled in the Block Editor 
   from wp-content/fonts to wp-content/uploads
 * **Disable auto trash emptying**
 * **Set trash keep days**
    Set the number of days to keep posts in the trash. Default
   is 30 days.
 * **Scroll progress bar**
 * **Scroll progress color**
    And valid css will work. You can use [this color picker!](https://oklch.com).
 * **Scroll progress bar background color**
 * **Scroll progress height**
 * **Disable self SSL verify**
 * **Disable Comments**
 * **Disable Email Login**
 * **Disable REST API**
 * **Disable Success Update Emails**
 * **Remove Admin Bar WordPress Logo**
    Requires a hard refresh of the page to take
   effect.
 * **Remove Asset Attributes**
 * **Disable Non Production Emails**
    If WP_ENV (Trellis) or wp_get_environment_type
   is not production, emails sending is mocked.
 * **Remove REST API links**
 * **Admin email check interval**
    Time in seconds to display email verification
   message on login. Set to 0 to disable. Default is 15552000 (6 months).
 * **Admin footer text**
    a href links are allowed. Use “default” for default text.
 * **Set user agent**
    WP really hates privacy and sends this `WordPress/1.0; https://
   example.org` to every site it makes calls to. You can empty the field, pretend
   to be Chrome `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36(
   KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36` or something else. `default`
   will change nothing.
 * **Remove EXIF**
    Remove EXIF data from uploaded images.
 * **Convert jpeg to avif**
    Convert uploaded jpeg to avif
 * **Clean upload filenames**
    Sanitize media filenames to remove non-latin special
   characters and accents
 * **Avif compression**
    Default is 82
 * **Jpeg compression**
    Default is 82
 * **Webp compression**
    Default is 86
 * **Limit ALL revisions**
    Limit revisions for all post types. This will override
   the limit for each post type from above!
 * **Disable XML-RPC**
 * **Disable XML-RPC – allow Jetpack IPs**
    Allow XML-RPC only from Jetpack IPs
 * **Remove WP version**
    Remove `WordPress/6.7.1; https://example.org` from html
   head
 * **Dequeue jQuery Migrate**
    Dequeue jQuery Migrate from the jQuery script dependencies
   on the frontend. This is used to help devs debug from old versions of jQuery.
   You really do not need this on a production site.
 * **Script Optimizer**
    Optimize script loading by moving them into the `head` 
   and adding `defer` attribute. This may break your site. Use at your own risk!
 * **Enable relative URLs**
    Enable relative URLs on the frontend. This may break
   your site. Use at your own risk!
 * **Disable Contact Form 7 CSS**
    Sets `wpcf7_load_css` filter to `false`
 * **Disable Contact Form 7 Autop**
    Sets `wpcf7_autop_or_not` filter to `false`
 * **Enable Jetpack offline mode**
 * **Enable maintenance mode**
 * **Enable duplicate post**

#### Contribute to add quality tweaks to the plugin reviewed by me

Unlike WP Code’s snippet database that is filled with low code quality tweaks where
some do not even work at all and spam this plugin only contains high quality tweaks.
If something is missing please add it.

It is very easy to contribute to the plugin. Check out the [Github Readme](https://github.com/nextgenthemes/tweakmaster/blob/master/readme.md).

If you have questions on adding a more complex tweak please feel free to ask.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Nico ](https://profiles.wordpress.org/nico23/)

[帮助将「TweakMaster」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/tweakmaster)

### 对开发感兴趣吗?

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

## 更新日志

= 2025-09-17 – 1.1.0
 * New: Admin email check interval setting. * New: Admin footer
text setting.

= 2025-08-03 – 1.0.6
 * Improved: sanitize, validate correctly, fix prefixes … *
Removed update disable tweak, not allowed on wp.org?

#### 2025-03-xx – 1.0.1-beta2

 * Improved: Tweak descriptions.
 * Fix: Admin Bar Greeting tweak.
 * Fix: Link to GH readme.
 * Fix: Rename `wptweak` to `tweakmaster` to fix multiple issues.

#### 2025-03-15 – 1.0.1-beta1

 * New: Disable non production email tweak.

#### 2025-03-xx – 1.0.0-beta1

 * Initial release.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**7 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.6 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/tweakmaster/)
 * 标签
 * [lightweight](https://cn.wordpress.org/plugins/tags/lightweight/)[performance](https://cn.wordpress.org/plugins/tags/performance/)
   [privacy](https://cn.wordpress.org/plugins/tags/privacy/)[security](https://cn.wordpress.org/plugins/tags/security/)
   [tweaks](https://cn.wordpress.org/plugins/tags/tweaks/)
 *  [高级视图](https://cn.wordpress.org/plugins/tweakmaster/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/tweakmaster/reviews/)

## 贡献者

 *   [ Nico ](https://profiles.wordpress.org/nico23/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/tweakmaster/)

## 捐助

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

 [ 捐助此插件 ](https://nextgenthemes.com/donate)