Title: What&#039;s running
Author: Viktor Szépe
Published: <strong>March 20, 2014</strong>
Last modified: August 24, 2015

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/whats-running/assets/icon-256x256.png?rev=983116)

# What's running

 By [Viktor Szépe](https://profiles.wordpress.org/szepeviktor/)

[Download](https://downloads.wordpress.org/plugin/whats-running.1.9.1.zip)

 * [Details](https://wordpress.org/plugins/whats-running/#description)
 * [Reviews](https://wordpress.org/plugins/whats-running/#reviews)
 *  [Installation](https://wordpress.org/plugins/whats-running/#installation)
 * [Development](https://wordpress.org/plugins/whats-running/#developers)

 [Support](https://wordpress.org/support/plugin/whats-running/)

## Description

#### Only for development!

#### Now with OPcache memory consumption support

This plugin dumps the colorized filenames and memory consumptions or file sizes 
after the normal WordPress HTML output, after the closing html tag. This generates
invalid HTML but gives you an overview of loaded plugins and the current theme.

_What’s running_ lists all files parsed and executed by the PHP engine. It can be
used for plugin or theme refactoring.

#### Now you can highlight your own plugin and theme

Provide a part of its path in wp-config.php:

    ```
    define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' ); 
    ```

#### Color codes

 * your code is highlighted with YELLOW background
 * plugin files are in BLUE
 * themes files are in ORANGE
 * files in the wp-includes directory are in GREEN
 * files in the wp-admin directory are in GREY
 * all other files are in RED
 * VIOLET bar after the filename represents the file size ( 0.5 kB/px )
 * DARK MAGENTA bar after the filename represents the OPcache memory consumption(
   1 kB/px )

#### Links

You can watch [WP core bug #28364](https://core.trac.wordpress.org/ticket/28364)
to get more information about [WordPress entry points](https://github.com/szepeviktor/WPHW/blob/master/wp-entry-points.md).

You can find some documentaion here what makes a WordPress plugin efficient: https://
github.com/szepeviktor/WPHW

Development of this plugin goes on on [GitHub](https://github.com/szepeviktor/whats-running).

## Screenshots

[⌊This is an old screenshot. You can see the filenames after the admin footer.⌉⌊
This is an old screenshot. You can see the filenames after the admin footer.⌉[

This is an old screenshot. You can see the filenames after the admin footer.

[⌊This is the current screenshot of the plugin's output on the Dashboard. The colored
bars represent the file sizes.⌉⌊This is the current screenshot of the plugin's output
on the Dashboard. The colored bars represent the file sizes.⌉[

This is the current screenshot of the plugin’s output on the Dashboard. The colored
bars represent the file sizes.

[⌊Lines highlighted by the WHATS_RUNNING_HIGHLIGHT constant.⌉⌊Lines highlighted 
by the WHATS_RUNNING_HIGHLIGHT constant.⌉[

Lines highlighted by the WHATS_RUNNING_HIGHLIGHT constant.

## Installation

This section describes how to install the plugin and get it working.

 1. Upload `wp-requires.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

#### It messes up my backend, frontend!

After finishing the refactor, please deactivate and delete this plugin.

#### How to highlight my code?

Insert a line into wp-config.php with a part of your files’ path:

    ```
    define( 'WHATS_RUNNING_HIGHLIGHT', 'wp-content/plugins/my-plugin' ); 
    ```

#### Use in production?

Please do not!

#### How to switch between file size and memory consumption?

When OPcache status is available memory consumption is displayed, otherwise the 
file size.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“What's running” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

[Translate “What's running” into your language.](https://translate.wordpress.org/projects/wp-plugins/whats-running)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/whats-running/), check
out the [SVN repository](https://plugins.svn.wordpress.org/whats-running/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/whats-running/) 
by [RSS](https://plugins.trac.wordpress.org/log/whats-running/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.9.1

 * FIX: Always display pre tag
 * NEW: Semver

#### 1.9

 * NEW: Added OPcache memory consumption support (DARK MAGENTA bar).

#### 1.8

 * Changed wrapper element to div with id “whats-running”.
 * NEW: Added feature to highlight your code.

#### 1.7

 * NEW: Added size in kB to the title of the file size bars.

#### 1.6

 * NEW Added file sizes and total file size.

#### 1.5

 * NEW: Added inline styles.
 * Link to WP core bug to watch.

#### 1.4

 * FIX: Prevent running on non-AJAX media uploads (async-upload.php).
 * Tested up to WordPress 3.9.

#### 1.3

 * FIX: On file uploads (async-upload.php) DOING_AJAX is defined late.

#### 1.2

 * NEW: Legend for the colors.
 * Now you don’t have to collapse the admin menu.

#### 1.1

 * FIX: Plugin name correction in readme.

#### 1.0

 * Initial release.
 * Colorized output.

## Meta

 *  Version **1.9.1**
 *  Last updated **11 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **4.3.34**
 * Tags
 * [debug](https://wordpress.org/plugins/tags/debug/)[debugger](https://wordpress.org/plugins/tags/debugger/)
   [debugging](https://wordpress.org/plugins/tags/debugging/)[developer](https://wordpress.org/plugins/tags/developer/)
   [development](https://wordpress.org/plugins/tags/development/)[performance](https://wordpress.org/plugins/tags/performance/)
   [profiler](https://wordpress.org/plugins/tags/profiler/)[profiling](https://wordpress.org/plugins/tags/profiling/)
 *  [Advanced View](https://wordpress.org/plugins/whats-running/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/whats-running/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/whats-running/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/whats-running/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/whats-running/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/whats-running/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/whats-running/reviews/)

## Contributors

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/whats-running/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://szepe.net/wp-donate/)