Code Explorer

描述

Code Explorer allows you to:

  • Swiftly browse through the directories in your WordPress installation with an AJAX-driven interface.
  • Conveniently view the code in files with syntax highlighting (using CodeMirror). It covers files commonly used throughout the WordPress development cycle such as PHP, HTML, Javascript, CSS, JSON and Markdown files.
  • Securely edit theme and plugin files using WordPress core’s file editor. Since v1.4.0, you can also create empty files and folders inside the /themes and /plugins folders, which can then be edited.

This way, Code Explorer is a good alternative to a full-fledged File Manager if your primary focus is viewing code in WordPress core, themes or plugins. It may also be useful to enable quick prototyping of themes or plugins in your teaching / workshop.

Give Back

Check These Out Too

  • System Dashboard: Central dashboard to monitor various WordPress components, processes and data, including the server.
  • Debug Log Manager: Log PHP, database and JavaScript errors via WP_DEBUG with one click. Conveniently create, view, filter and clear the debug.log file.
  • Variable Inspector: Inspect PHP variables on a central dashboard in wp-admin for convenient debugging.
  • Database Admin: Securely manage your WordPress website’s database with a clean and user-friendly interface based on a custom-themed Adminer app. Only available on Github.
  • Admin and Site Enhancements helps you to easily enhance various admin workflows and site aspects while replacing multiple plugins doing it.
  • Flexible Scroll Top and Floating Share Buttons is a lightweight combo with minimalist UI.

屏幕截图

  • The directory explorer
  • The file/code viewer

常见问题

How was this plugin built?

Code Explorer was built with: WordPress Plugin Boilerplate | wppb.me | CodeStar framework. Code Explorer is based on the Simple File Manager library by John Campbell.

评价

2023 年 1 月 4 日
this is better, than use ordinary plugin editor
阅读所有0条评价

贡献者及开发者

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

贡献者

「Code Explorer」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Code Explorer」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.4.6 (2025.02.04)

  • Fixed security vulnerability Authenticated (Admin+) External File Reading responsibly disclosed by Dmitrii Ignatyev via Wordfence.
  • Fixed PHP warning – undefined array_key _sfm_xsrf

1.4.5 (2022.10.09)

  • Fixed PHP Deprecated error related to usort() still returning true or false
  • Fixed PHP Warning errors related to undefined variables
  • Hide Screen Options panel

1.4.4 (2022.08.31)

  • Make height of file/code viewer as tall as the content lenght to allow for proper next/previous clicking of in-browser searching
  • Fix for several PHP warning issues

1.4.3 (2022.06.19)

  • Fix CSS height issue of the file/code viewer

1.4.2 (2022.06.17)

  • Full fix for “Create file” / “Create folder” buggy interaction on click
  • Improve security by escaping additional HTML attributes

1.4.1 (2022.06.16)

  • Partial fix for “Create file” / “Create folder” buggy interaction on click

1.4.0 (2022.06.15)

  • Implement ‘Delete’ link on a safe list of folders and files, which exludes WP core folders and files except for the content of /plugins and /themes folders. i.e. deletion of wp-admin folder and it’s content is not possible.
  • Implement “Create file” and “Create folder” feature inside /themes and /plugins folders. Editing of files can then be done by core’s theme/plugin editor.

1.3.2 (2022.06.09)

  • Fix “Call to undefined function get_plugins()” error

1.3.1 (2022.05.26)

  • Replace prism.js with CodeMirror library for syntax highlighting
  • Confirm compatibility with WordPress 6.0

1.2.0 (2022.05.20)

  • Enable editing of theme and plugin files using WordPress core’s theme/plugin editor when it’s not being disabled via the DISALLOW_FILE_EDIT constant.

1.1.0 (2022.05.19)

  • Only load CSS and JS files on Code Explorer page.

1.0.1 (2022.04.27)

  • Initial stable release. Implement directory browsing with file viewing, download and deletion.