plugin-icon

Pretty Debug

Av wycks·
A WordPress plugin that makes var_dump and print_r pretty!
Betyg
5/5
Version
1.0
Aktiva installationer
10
Senast uppdaterat
Jul 12, 2013
Pretty Debug

Make var_dump’s and print_r’s more readable

Function output references with http://queryposts.com API when possible.

  • Use r instead of var_dump
  • Use rt for text mode.

For example:

r($GLOBALS['wp_query']->get_posts()); rt($GLOBALS['wp_query']->get_posts());

Notes :

All the work was done by digitalnature I just wrapped it into a WordPress plugin and changed the look for inline debugging.

Please report issues to: https://github.com/wycks/WP-Pretty-Debug

Gratispå Business-paket
Testat upp till
WordPress 3.5.2
Detta tillägg är tillgängligt för nedladdning för din .