Linux 软件免费装
Banner图

Flex Explorer

开发者 flexatech
更新时间 2026年11月30日 12:59
PHP版本: 8.0 及以上
WordPress版本: 7.2
版权: GPL v2 or later
版权网址: 版权信息

标签

download files file manager zip trash

下载

1.5.0 1.4.0 0.2.5 0.2.4 0.2.6

详情介绍:

Flex Explorer adds a single-page file manager to wp-admin. Every operation runs through a sandboxed REST surface that resolves paths against a configurable root, refuses symlink escapes, and never lets a request reach outside the site. What it does There is no file editor in this build WordPress.org does not allow a plugin in the directory to edit site files, so this build ships no editor: the Edit action explains that and points you at the build that has one. That build is free as well, and it is downloaded from flexacommerce.com/products/flex-explorer. Settings, trash contents and background jobs carry over, because both builds use the same slug, options and tables. Installing one over the other keeps your configuration. Security model Access is limited to administrators (manage_options, filterable via flex_explorer/capabilities/manage). Mutating calls require a nonce. A site defining DISALLOW_FILE_EDIT switches the plugin off entirely, and on multisite only network super admins pass, because the sandbox root is the whole network's filesystem. wp-config.php, .htpasswd, .htaccess and the WordPress core files at the site root can never be deleted, renamed or moved by anyone, with no bypass: removing any of them would take the site down.

安装:

  1. Upload the plugin files to /wp-content/plugins/flex-explorer, or install through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen.
  3. Open Flex Explorer from the admin menu.

屏幕截图:

  • Column view, macOS style, with details of the selected file in the last pane.
  • Background zip jobs: one archive still queued and cancellable, one finished and ready to download.
  • Trash: each deleted file keeps its original location, so Restore puts it back where it came from.
  • Settings: the confirmation gate for risky operations, plus the patterns and folders that trigger it.

升级注意事项:

1.5.0 Security release. Deleted files and background archives move to a private folder with a randomised name, and trashed files lose their original extension so nothing in there can run. Your existing trash is moved for you. Two things change behaviour: root_path can no longer point outside your WordPress install, and new installs purge trash after 30 days. 1.4.0 First release in the WordPress.org directory. Adds an optional "why are you leaving?" survey on deactivation; nothing is sent unless you deactivate, and a filter turns it off entirely.

常见问题:

Who can use Flex Explorer?

Only users with the manage_options capability, which in practice means administrators. The gating capability is filterable via flex_explorer/capabilities/manage.

Does it work on multisite?

Yes, with access restricted to network super admins. manage_options is a per-site capability, but the sandbox root is the whole network's filesystem, so a subsite administrator would otherwise reach every other site's files. A network that does want per-site access can opt in with the flex_explorer/capabilities/require_super_admin filter.

Why is there no Flex Explorer menu entry?

The most likely reason is that your site defines DISALLOW_FILE_EDIT, which switches the plugin off completely: it is a much bigger lever than the core file editor that constant disables. The Plugins screen shows a note when this is the case. To keep the constant and still use the file manager, filter flex_explorer/capabilities/enabled to true.

Where did the file editor go?

Plugins distributed through the WordPress.org directory are not allowed to edit site files, so this build has no editor and no write-content route at all: only "new empty file" remains. Choosing Edit opens a dialog with a link to the full build at flexacommerce.com/products/flex-explorer, which is free and keeps the editor. Both builds share the same slug, settings and tables, so switching between them loses nothing.

Can files like wp-config.php be deleted?

No, and that is not configurable. wp-config.php, .htpasswd, .htaccess and the WordPress core files at the site root (wp-settings.php, wp-load.php, the root index.php, wp-login.php, xmlrpc.php, wp-cron.php and friends) are refused for delete, trash, rename and move, for everyone. The core-file guard matches only the copy at the site root, so a plugin's own index.php in a subfolder stays yours to manage.

What does "risky operation" mean?

Deleting, renaming, moving or overwriting an existing load-bearing file shows an extra confirmation. You control exactly what counts, with two lists under Settings → Risky operations: "Risky file patterns" (e.g. *.php, .htaccess) and "Risky folders" (the tokens @wp-core, @active-theme, @active-plugins, @mu-plugins, @self, or literal paths). A file is flagged only when it matches a pattern AND lives inside one of the folders.

Can I change the root folder?

Yes, within your WordPress install. The sandbox root defaults to ABSPATH, and the root_path setting can narrow it to any folder inside the install, for example wp-content to keep the file manager away from everything else. It cannot widen past the install: a stored path outside it is refused, because a setting that reaches the rest of the server is not something a form field should be able to do. A site that genuinely needs a root elsewhere sets it in code, with the flex_explorer/sandbox/root filter.

Where are deleted files and background archives kept?

Both live in a private folder that the plugin creates inside your uploads directory. The folder name includes 128 random bits generated once per site, and trashed items are stored without their original file extension, so there is no URL to guess and nothing in there can be executed. The plugin also writes .htaccess and web.config rules that deny direct access, which Apache and IIS honour; nginx ignores them, which is why the name is randomised rather than fixed, and why Settings → Trash warns you when it detects such a server. To take HTTP out of the picture altogether, define FLEX_EXPLORER_STORAGE_DIR in wp-config.php and point it at a writable folder outside your web root. Set it before you start using the trash: moving it later leaves the existing items behind at the old location.

Is large-file download safe on shared hosting?

Yes. Big zips run as background jobs that write into the private folder described above, poll for cancellation, and serve the finished archive over a sha256 token with HTTP Range support, so an interrupted download can resume. Finished archives are deleted after 24 hours.

Does anything get sent off my site?

Only the optional deactivation survey, documented under "External services" above, and only when you go to deactivate the plugin. File names and file contents are never sent anywhere.

更新日志:

1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.2.3 0.2.2 0.2.1 0.2.0 0.1.1 0.1.0