Title: My Simple Space
Author: idowebwork
Published: <strong>2015 年 5 月 20 日</strong>
Last modified: 2024 年 9 月 16 日

---

搜索插件

![](https://ps.w.org/my-simple-space/assets/banner-772x250.png?rev=1477037)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/my-simple-space/assets/icon-256x256.png?rev=1477042)

# My Simple Space

 作者：[idowebwork](https://profiles.wordpress.org/mannweb/)

[下载](https://downloads.wordpress.org/plugin/my-simple-space.1.2.9.zip)

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

 [支持](https://wordpress.org/support/plugin/my-simple-space/)

## 描述

Display the total size space usage as well:

 * wp-content total size
 * wp-content/plugins size
 * wp-content/themes size
 * wp-content/uploads size
 * database size
 * Total available memory / used memory
 * PHP Version and OS (32/64 bit)

## 安装

Simply download, install and activate. Then a widget with information will be added
to your dashboard and memory information in the footer of every admin page.

例如：

 1. Upload `my-simple-space` to the `/wp-content/plugins/` directory
 2. 通过WordPress的的“Plugins”菜单激活插件

## 常见问题

### How is diskspace calculated?

The plugin cycles through the provided path to calculate the total space used for
that particular path. The wp-content size includes the plugins, themes and upload
folders, but also other folders under wp-content.

## 评价

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

### 󠀁[Best WordPress Stats Plugin for the Dashboard](https://wordpress.org/support/topic/best-wordpress-stats-plugin-for-the-dashboard/)󠁿

 [Unreal NFS](https://profiles.wordpress.org/unrealnfs/) 2024 年 3 月 9 日

This plugin gives everything you need: Not the server Memory usage but the actual
WordPress website’s memory usage, Database Size, Site files’ total size — among 
the important WP folders of importance — all size-wise. Very well thought-out plugin.
I am installing this on all my WP stacks, because the actual stats matters and we
needs to keep eagle’s eyes on those stats always if we are a true professional. 
Without knowing the stats its like your monitor screen is off and you are not up-
to-date on whats going on – that’s terrible! Thanks for this awesome plugin. God
bless tons.

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

### 󠀁[Works well](https://wordpress.org/support/topic/works-well-1536/)󠁿

 [tceriksen](https://profiles.wordpress.org/tceriksen/) 2019 年 2 月 6 日

This plugin works well. I would like more details, but as a guide it works well.
Did I say it works well? It works well.

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

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

 [nick](https://profiles.wordpress.org/nszumowski/) 2018 年 8 月 30 日

What a great little plugin!

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

### 󠀁[502 & 504 Server Errors…](https://wordpress.org/support/topic/502-504-server-errors/)󠁿

 [marty](https://profiles.wordpress.org/smirtman/) 2018 年 6 月 23 日

Wanted to like this but… …it made my site’s admin pages almost inaccessible. I disabled
all my plugins in an effort to isolate the problem and this ended up being the culprit.
I guess this plugin digs deep into your server and causes problems as a result.

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

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

 [Henrique Picanço](https://profiles.wordpress.org/henriquepicanco/) 2018 年 4 月
1 日

This plugin works very well, and give me information about disk space in my VPS 
server, without have to make login in server’s panel every single time. Really great
plugin.

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

### 󠀁[Works Well!](https://wordpress.org/support/topic/works-well-914/)󠁿

 [Liew Cheon-Fong](https://profiles.wordpress.org/lcf/) 2017 年 1 月 4 日

I am looking for simple plugin to display disk space used by WordPress and THIS 
IS PERFECT! Simple and clear. No setting. Widget on dashboard. Love it!

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/my-simple-space/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ idowebwork ](https://profiles.wordpress.org/mannweb/)

[帮助将「My Simple Space」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/my-simple-space)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.9

 * Corrected error in reverted \FilesystemIterator::FOLLOW_SYMLINKS. Switched to\
   FilesystemIterator::SKIP_DOTS, as following symlinks causes errors on some hosting
   platforms.

#### 1.2.8

 * Adds wp-content if outside ABSPATH, which was added in 1.2.7, to the Entire Site
   calculation, as WP_CONTENT_DIR is configurable.

#### 1.2.7

 * Updated code to use WP_CONTENT_DIR and WP_PLUGIN_DIR, as these can be changed
   by the site owner, to get correct paths.
 * Reverted \FilesystemIterator::FOLLOW_SYMLINKS back to \FilesystemIterator::CURRENT_AS_FILEINFO
   on line 227, as it does not fix anything.
 * Stripped code to ensure trailing slash on path for mss_dir_size function as its
   unnecessary

#### 1.2.6

 * Reverted \FilesystemIterator::CURRENT_AS_FILEINFO back to \FilesystemIterator::
   FOLLOW_SYMLINKS on line 227 to attempt correcting a bug from 1.2.5.
 * Added code to ensure trailing slash on path for mss_dir_size function

#### 1.2.5

 * Adjusted \FilesystemIterator::FOLLOW_SYMLINKS on line 227 to \FilesystemIterator::
   CURRENT_AS_FILEINFO, as it returned the same folder size for wp-content, themes&
   uploads.
 * Stripping the 2 path variable lines on 220 & 221 (reverting change made in 1.2.4)

#### 1.2.4

 * Fixed issue in the mss_dir_size function which caused a fatal exception when 
   it tries to access a file path, instead of a folder path. Thanks @idempotent 
   for pointing this out.
 * Added \FilesystemIterator::FOLLOW_SYMLINKS to the inner RecursiveDirectoryIterator
   inside the mss_dir_size, which hopefully speeds up the calculation.

#### 1.2.3

 * Slight code cleanup.

#### 1.2.2

 * Ensure widget is only ever run on the dashboard page.

#### 1.2.1

 * Cast both $memory_usage and $memory_limit to int, before rounding on line 127
   in my-simple-space.php to fix debugging error.

#### 1.2.0

 * Removed a few extra strange characters.

#### 1.1.9

 * Cleared transient creation bug. Transient is now set prior to returning value.
   Transient was not being created.
 * Replaced custom size calculation function with WP’s builtin size_format function.
   Reduces code size.

#### 1.1.8

 * Replaced folder calculation function, should increase speed

#### 1.1.7

 * Corrected badly named functions
 * Applied speed boost, using transients earlier in output

#### 1.1.6

 * Corrected what broke the plugin in 1.1.5

#### 1.1.5

 * Updated to only run in the admin area, to increase frontend performance

#### 1.1.4

 * Updated to show compatible with WP 4.6

#### 1.1.3

 * Transitioned prior cache effort to using transients instead. Prior caching efforts
   did not work. Items are now cached for 60 minutes.

#### 1.1.2

 * Corrected error caused by adding in cache setup.

#### 1.1.1

 * Folder sizes are now cached for 60 minutes, to reduce overhead.

#### 1.1.0

 * Added check to exclude folders not readable. Hides errors.

#### 1.0.9

 * Made plugin more translatable.

#### 1.0.8

 * Updated to show works with 4.4.1
 * Updated admin footer to use in_admin_footer() instead of rebuilding footer with
   admin_footer_text().

#### 1.0.7

 * Fix for sites that return the home_path as /. Gets the absolute path using ABSPATH
   instead.

#### 1.0.6

 * 1.0.5 update killed data for sites not using WordPress in a subfolder. This is
   now fixed.

#### 1.0.5

 * Corrected double folder for sites using WordPress in a subfolder.

#### 1.0.4

 * Found issue with closing columns on the widget. This was an HTML code issue, 
   not closing the div tag, which caused other widgets below to be absorbed into
   the same widget box.

#### 1.0.3

 * General housekeeping to clean up plugin files, including plugin information.
 * Moved some of items around and added in wp-admin and wp-includes.

#### 1.0.2

 * Removed hard coded paths and replaced with dynamic paths.

#### 1.0.1

 * Rewrote database calculation to make use of $wpdb, rather than mysql calls, which
   broke in some instances.

#### 1.0.0

 * Initial Release

## 额外信息

 *  版本 **1.2.9**
 *  最后更新：**2 年前**
 *  活跃安装数量 **8,000+**
 *  WordPress 版本 ** 4.6.0 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/my-simple-space/)
 * 标签
 * [database size](https://cn.wordpress.org/plugins/tags/database-size/)[disk space](https://cn.wordpress.org/plugins/tags/disk-space/)
 *  [高级视图](https://cn.wordpress.org/plugins/my-simple-space/advanced/)

## 评级

 4.4 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/my-simple-space/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/my-simple-space/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/my-simple-space/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/my-simple-space/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/my-simple-space/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/my-simple-space/reviews/)

## 贡献者

 *   [ idowebwork ](https://profiles.wordpress.org/mannweb/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/my-simple-space/)