O:8:"stdClass":19:{s:4:"name";s:18:"Debug-Bar-Extender";s:4:"slug";s:18:"debug-bar-extender";s:7:"version";s:3:"0.5";s:6:"author";s:66:"<a href="http://hitchhackerguide.com">Thorsten Ott, Automattic</a>";s:14:"author_profile";s:34:"http://profiles.wordpress.org/tott";s:12:"contributors";a:2:{s:4:"tott";s:34:"http://profiles.wordpress.org/tott";s:10:"automattic";s:40:"http://profiles.wordpress.org/automattic";}s:8:"requires";s:3:"3.1";s:6:"tested";s:5:"3.2.1";s:13:"compatibility";a:9:{s:3:"3.1";a:2:{s:3:"0.1";a:3:{i:0;i:50;i:1;i:2;i:2;i:1;}s:3:"0.2";a:3:{i:0;i:50;i:1;i:2;i:2;i:1;}}s:5:"3.1.1";a:1:{s:3:"0.2";a:3:{i:0;i:100;i:1;i:1;i:2;i:1;}}s:5:"3.2.1";a:2:{s:3:"0.3";a:3:{i:0;i:100;i:1;i:2;i:2;i:2;}s:3:"0.5";a:3:{i:0;i:100;i:1;i:1;i:2;i:1;}}s:3:"3.3";a:1:{s:3:"0.5";a:3:{i:0;i:100;i:1;i:1;i:2;i:1;}}s:5:"3.3.1";a:1:{s:3:"0.5";a:3:{i:0;i:0;i:1;i:1;i:2;i:0;}}s:5:"3.3.2";a:1:{s:3:"0.5";a:3:{i:0;i:100;i:1;i:2;i:2;i:2;}}s:5:"3.4.1";a:1:{s:3:"0.5";a:3:{i:0;i:100;i:1;i:1;i:2;i:1;}}s:3:"3.5";a:1:{s:3:"0.5";a:3:{i:0;i:100;i:1;i:1;i:2;i:1;}}s:5:"3.5.1";a:1:{s:3:"0.5";a:3:{i:0;i:100;i:1;i:1;i:2;i:1;}}}s:6:"rating";d:86.599999999999994;s:11:"num_ratings";i:21;s:10:"downloaded";i:12424;s:12:"last_updated";s:10:"2011-09-02";s:5:"added";s:10:"2011-03-02";s:8:"homepage";s:55:"http://wordpress.org/extend/plugins/debug-bar-extender/";s:8:"sections";a:4:{s:11:"description";s:415:"<p>This plugins adds more features to the debug-bar and is mainly aimed at developers who like to debug their code or want to measure runtimes to find glitches in their code.
It also allows lookup of variables by adding simple code snippets in your source.</p>

<p>Please note that this plugin should be used solely for debugging or on a development environment and is not intended for use in a production site.</p>";s:11:"screenshots";s:995:"<ol>
	<li>
		<a href='http://s.wordpress.org/plugins/debug-bar-extender/screenshot-1.jpg?r=0' title='Click to view full-size screenshot 1'><img src='http://s.wordpress.org/plugins/debug-bar-extender/screenshot-1.jpg?r=0' alt='debug-bar-extender screenshot 1' /></a>
		<p>Settings screen to enable/disable various features.</p>
	</li>
	<li>
		<a href='http://s.wordpress.org/plugins/debug-bar-extender/screenshot-2.jpg?r=0' title='Click to view full-size screenshot 2'><img src='http://s.wordpress.org/plugins/debug-bar-extender/screenshot-2.jpg?r=0' alt='debug-bar-extender screenshot 2' /></a>
		<p>Profiler output showing the runtimes between default checkpoints.</p>
	</li>
	<li>
		<a href='http://s.wordpress.org/plugins/debug-bar-extender/screenshot-3.jpg?r=0' title='Click to view full-size screenshot 3'><img src='http://s.wordpress.org/plugins/debug-bar-extender/screenshot-3.jpg?r=0' alt='debug-bar-extender screenshot 3' /></a>
		<p>Lookup of various default variables</p>
	</li>
</ol>";s:9:"changelog";s:1464:"<h4>Version 0.5</h4>

<ul>
<li>added filters to control settings <code>debugbarextender_default_settings</code>, <code>debugbarextender_default_checkpoint_actions</code></li>
<li>added wrapper functions <code>dbgx_checkpoint( $note = '' )</code> and <code>dbgx_trace_var( $value, $var_name = false )</code> for easier access to debugging functions.</li>
<li>added new setting option to allow control of some settings via $_GET parameters in the urls. Allows dbgx_use_error_log, dbgx_track_default_vars, dbgx_add_default_checkpoints to be added as query strings in order to enable respective features. Combinations are possible - for example: /wp-admin/options-general.php?page=debug-bar-extender&#38;dbgx_use_error_log=1&#38;dbgx_add_default_checkpoints=1&#38;dbgx_track_default_vars=1 </li>
<li>added new setting option to enable a admin bar menu with shortcuts to this urls</li>
</ul>

<h4>Version 0.4</h4>

<ul>
<li>Moving style enqueuing to init hook. We don't want to be doing it wrong <a href="http://core.trac.wordpress.org/changeset/18556" rel="nofollow">http://core.trac.wordpress.org/changeset/18556</a></li>
</ul>

<h4>Version 0.3</h4>

<ul>
<li>Fixed conflicting enqueueing which should fix issues with Debug Console plugin. Thanks to AaronCampbell and Westi</li>
</ul>

<h4>Version 0.2</h4>

<ul>
<li>fixed: prevent filters which have same names as actions to fail.</li>
</ul>

<h4>Version 0.1</h4>

<ul>
<li>Initial version of this plugin.</li>
</ul>";s:11:"other_notes";s:4635:"<h3>Requirements</h3>
<p>This plugin requires <a href="http://wordpress.org/extend/plugins/debug-bar">the debug-bar plugin &#62;0.5</a> and a developers' brain to work correctly.</p>
<h3>Usage</h3>
<h4>Usage example to debug the loop of a theme</h4>

<p>Add your checkpoints in the index.php or any other template file as shown below.</p>

<pre><code>&#60;?php if (have_posts()) : ?&#62;

&#60;?php Debug_Bar_Extender::instance()-&#62;checkpoint(&#039;loop start&#039;); ?&#62;

&#60;?php while (have_posts()) : the_post(); ?&#62;

&#60;?php Debug_Bar_Extender::instance()-&#62;trace_var( $post ); ?&#62;

&#60;?php Debug_Bar_Extender::instance()-&#62;checkpoint(&#039;loop1&#039;); ?&#62;

&#60;div &#60;?php post_class() ?&#62; id=&#34;post-&#60;?php the_ID(); ?&#62;&#34;&#62;
&#60;?php //before_post(); ?&#62;
&#60;h2&#62;&#60;a href=&#34;&#60;?php the_permalink() ?&#62;&#34; rel=&#34;bookmark&#34; title=&#34;&#60;?php printf(__(&#039;Permanent Link to %s&#039;, &#039;kubrick&#039;), the_title_attribute(&#039;echo=0&#039;)); ?&#62;&#34;&#62;&#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/h2&#62;
&#60;small&#62;&#60;?php the_time(get_option(&#039;date_format&#039;)) ?&#62; by &#60;?php the_author() ?&#62;&#60;/small&#62;
&#60;div class=&#34;entry&#34;&#62;
&#60;?php the_content(__(&#039;Read the rest of this entry &#38;raquo;&#039;, &#039;kubrick&#039;)); ?&#62;
&#60;/div&#62;
&#60;p class=&#34;postmetadata&#34;&#62;&#60;?php the_tags(__(&#039;Tags:&#039;, &#039;kubrick&#039;) . &#039; &#039;, &#039;, &#039;, &#039;&#60;br /&#62;&#039;); ?&#62; &#60;?php printf(__(&#039;Posted in %s&#039;, &#039;kubrick&#039;), get_the_category_list(&#039;, &#039;)); ?&#62; &#124; &#60;?php edit_post_link(__(&#039;Edit&#039;, &#039;kubrick&#039;), &#039;&#039;, &#039; &#124; &#039;); ?&#62; &#60;?php comments_popup_link(__(&#039;No Comments &#187;&#039;, &#039;kubrick&#039;), __(&#039;1 Comment &#187;&#039;, &#039;kubrick&#039;), __(&#039;% Comments &#187;&#039;, &#039;kubrick&#039;)); ?&#62;&#60;/p&#62;
&#60;?php after_post(); ?&#62;
&#60;/div&#62;

&#60;?php Debug_Bar_Extender::instance()-&#62;checkpoint(&#039;loop2&#039;); ?&#62;

&#60;?php endwhile; ?&#62;

&#60;?php Debug_Bar_Extender::instance()-&#62;checkpoint(&#039;loop end&#039;); ?&#62;

&#60;div class=&#34;navigation&#34;&#62;
&#60;div class=&#34;alignleft&#34;&#62;&#60;?php next_posts_link(__(&#039;&#38;laquo; Older Entries&#039;, &#039;kubrick&#039;)) ?&#62;&#60;/div&#62;
&#60;div class=&#34;alignright&#34;&#62;&#60;?php previous_posts_link(__(&#039;Newer Entries &#38;raquo;&#039;, &#039;kubrick&#039;)) ?&#62;&#60;/div&#62;
&#60;/div&#62;
&#60;?php else : ?&#62;</code></pre>
<h3>Advanced usage</h3>
<p>Looking at the source of the debug-bar-extender.php you will notice that there are various filters to control the default settings. This is useful when you are working on a multisite install and want to use the debug bar without having to adjust the settings every time. Here's an example of how settings enforced by a php file in mu-plugins/ could look like</p>

<pre><code>add_filter( &#039;debugbarextender_default_settings&#039;, &#039;my_debug_bar_extender_settings&#039; );
// enforce debug bar settings
function my_debug_bar_extender_settings( $default_settings ) {
    $default_settings = array(
            &#039;enable_profiler&#039;             =&#62; 1,
            &#039;enable_variable_lookup&#039;      =&#62; 1,
            &#039;track_default_vars&#039;          =&#62; 0,
            &#039;add_default_checkpoints&#039;     =&#62; 1,
            &#039;savequeries_debugmode_enable&#039;    =&#62; 1,
            &#039;use_error_log&#039;                   =&#62; 0,
            &#039;allow_url_settings&#039;          =&#62; 1,
            &#039;enable_admin_bar_menu&#039;           =&#62; 1,
    );
    return $default_settings;
}

add_filter( &#039;debugbarextender_default_checkpoint_actions&#039;, &#039;my_debug_bar_extender_checkpoints&#039; );
// initiate some default checkpoints
function my_debug_bar_extender_checkpoints( $default_checkpoints ) {
    $default_checkpoints = array(
                    &#039;muplugins_loaded&#039;,
                    &#039;wp_head&#039;,
                    &#039;wp_footer&#039;,
                    &#039;loop_start&#039;,
                    &#039;loop_end&#039;,
                    &#039;shutdown&#039;,
    );
    return $default_checkpoints;
}</code></pre>
<h3>Wishlist</h3>
<p>This is a work in progress, so feel free to pass by on <a href="http://hitchhackerguide.com/wordpress-plugins/debug-bar-extender/">our plugin page</a> and leave us
your suggestions in the comments.</p>";}s:17:"short_description";s:118:"Extends the debug-bar plugin with additional tabs to measure runtimes between checkpoints and lookup variable content.";s:13:"download_link";s:60:"http://downloads.wordpress.org/plugin/debug-bar-extender.zip";s:4:"tags";a:3:{s:5:"debug";s:5:"debug";s:9:"debug-bar";s:9:"debug bar";s:11:"development";s:11:"development";}}