Title: Debug Bar List Script &amp; Style Dependencies
Author: Per Søderlind
Published: <strong>Mai 12, 2013</strong>
Last modified: Rhagfyr 12, 2016

---

Search plugins

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

![](https://s.w.org/plugins/geopattern-icon/debug-bar-list-dependencies.svg)

# Debug Bar List Script & Style Dependencies

 Gan [Per Søderlind](https://profiles.wordpress.org/pers/)

[Llwytho i lawr](https://downloads.wordpress.org/plugin/debug-bar-list-dependencies.1.1.2.zip)

 * [Details](https://cy.wordpress.org/plugins/debug-bar-list-dependencies/#description)
 * [Reviews](https://cy.wordpress.org/plugins/debug-bar-list-dependencies/#reviews)
 *  [Installation](https://cy.wordpress.org/plugins/debug-bar-list-dependencies/#installation)
 * [Development](https://cy.wordpress.org/plugins/debug-bar-list-dependencies/#developers)

 [Cefnogaeth](https://wordpress.org/support/plugin/debug-bar-list-dependencies/)

## Disgrifiad

We all know that when we’re add a script or style to WordPress, we should use `wp_enqueue_script(
$handle, $src, $deps, $ver, $in_footer )` and `wp_enqueue_style( $handle, $src, 
$deps, $ver, $media )` as in:

    ```
    function themeslug_enqueue_style() {
        wp_enqueue_style( 'core', 'style.css', array('twentytwelve-style') );
    }

    function themeslug_enqueue_script() {
        wp_enqueue_script( 'my-js', 'filename.js', array('jquery') );
    }

    add_action( 'wp_enqueue_scripts', 'themeslug_enqueue_style' );
    add_action( 'wp_enqueue_scripts', 'themeslug_enqueue_script' )
    ```

$deps (dependencies), the handle name and an optional parameter, lets you control
when/where your script or style should be added. If $deps is `array('jquery')`, 
your script will be loaded after jquery is loaded.

The problem is, which one exists and in which order are they loaded ?

Debug Bar List Script & Style Dependencies, an add-on to [Debug Bar](https://wordpress.org/plugins/debug-bar/),
will list the dependencies.

#### Use

To view the loaded scripts and styles

 * Front-end: Go to the front-end, and on the admin bar choose Debug and view Script&
   Style Dependencies
 * Back-end: Go to the back-end, on the admin bar choose Debug and view Script &
   Style Dependencies

Note, the front-end and back-end loads different scripts and styles. Also, different
pages on the front-end and back-end can load different scripts and styles.

## Lluniau Sgrin

 * [[
 * Front-end dependencies
 * [[
 * Back-end dependencies

## Gosod

 1. Copy the ‘debug-bar-list-dependencies’ folder into your plugins folder
 2. Activate the plugin via the Plugins admin page

## Adolygiadau

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

### 󠀁[useful !](https://wordpress.org/support/topic/useful-286/)󠁿

 [X-Raym](https://profiles.wordpress.org/x-raym/) Medi 3, 2016

Style very useful (even if it has not been updated since two years) ! Thanks !

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/debug-bar-list-dependencies/reviews/)

## Contributors & Developers

“Debug Bar List Script & Style Dependencies” is open source software. The following
people have contributed to this plugin.

Cyfranwyr

 *   [ Per Søderlind ](https://profiles.wordpress.org/pers/)
 *   [ Juliette Reinders Folmer ](https://profiles.wordpress.org/jrf/)

“Debug Bar List Script & Style Dependencies” has been translated into 4 locales.
Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/debug-bar-list-dependencies/contributors)
for their contributions.

[Translate “Debug Bar List Script & Style Dependencies” into your language.](https://translate.wordpress.org/projects/wp-plugins/debug-bar-list-dependencies)

### Interested in development?

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

## Cofnod Newid

#### 1.1.2

 * Tested & found compatible with WP 4.7.

#### 1.1.1

 * Tested & found compatible with WP 4.6.

#### 1.1

 * Minor fix for ‘&’ not being escaped in url’s with query vars.
 * Fixed compatibility with the [Plugin Dependencies](https://wordpress.org/plugins/plugin-dependencies/)
   plugin.
 * Fixed weird table layout on front-end in combination with Twenty-Sixteen theme.
 * Fixed a bug where translations would not be loaded as the language file names
   were not in sync with the used text-domain.
 * Hard-code the text-domain for better compatibility with [GlotPress](https://translate.wordpress.org/projects/wp-plugins/debug-bar-list-dependencies).
 * Made loading of text-domain compatible with use of the plugin in the `must-use`
   plugins directory.
 * General housekeeping.
 * Tested & found compatible with WP 4.5.

#### 1.0.6

 * Tested with WordPress 3.9. Bumped version number.

#### 1.0.5

 * Made text strings translatable, added .pot file and Dutch translation.
 * Added minified CSS file.
 * Added total counts at the top of the page.

#### 1.0.4.

 * Added contributor.

#### 1.0.3

 * (Partial) Bugfix for [Help tabs broken and missing scripts](https://github.com/soderlind/debug-bar-list-dependencies/issues/1).
 * Fix: duplicate script listings.
 * New!: un-obtrusive script/style source line.
 * Some other minor adjustments to compensate for the front-end themes.

#### 1.0.2

 * Added styling.

#### 1.0.1

 * Bugfix, fixed listing of styles and their dependencies.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.1**
 *  Last updated **9 blynedd yn ôl**
 *  Active installations **200+**
 *  WordPress version ** 3.4 neu uwch **
 *  Tested up to **4.7.33**
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/debug-bar-list-dependencies/), [English (Canada)](https://en-ca.wordpress.org/plugins/debug-bar-list-dependencies/),
   [English (US)](https://wordpress.org/plugins/debug-bar-list-dependencies/), [Romanian](https://ro.wordpress.org/plugins/debug-bar-list-dependencies/),
   a [Swedish](https://sv.wordpress.org/plugins/debug-bar-list-dependencies/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/debug-bar-list-dependencies)
 * Tags
 * [debug](https://cy.wordpress.org/plugins/tags/debug/)[debug bar](https://cy.wordpress.org/plugins/tags/debug-bar/)
   [development](https://cy.wordpress.org/plugins/tags/development/)[wp_enqueue_script](https://cy.wordpress.org/plugins/tags/wp_enqueue_script/)
   [wp_enqueue_style](https://cy.wordpress.org/plugins/tags/wp_enqueue_style/)
 *  [Advanced View](https://cy.wordpress.org/plugins/debug-bar-list-dependencies/advanced/)

## Graddau

 5 out of 5 stars.

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

[Your review](https://wordpress.org/support/plugin/debug-bar-list-dependencies/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/debug-bar-list-dependencies/reviews/)

## Cyfranwyr

 *   [ Per Søderlind ](https://profiles.wordpress.org/pers/)
 *   [ Juliette Reinders Folmer ](https://profiles.wordpress.org/jrf/)

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/debug-bar-list-dependencies/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://soderlind.no/donate/)