Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/debug-bar.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions css/debug-bar.dev.css
Original file line number Diff line number Diff line change
Expand Up @@ -508,3 +508,27 @@ body.debug-bar-maximized.debug-bar-visible {
#debug-bar-js .debug-bar-js-error:hover span {
color: #000;
}

/* =========================================================================
* Template Parts styling
* ========================================================================= */

.debug-bar-template-parts h3 {
float: none;
clear: both;
font-family: georgia,times,serif;
font-size: 22px;
margin: 15px 10px 15px 0;
}

.debug-bar-template-parts__row {
padding: 5px;
}

.debug-bar-template-parts__group {
position: relative;
background: #e8e8e8;
margin: 10px 0;
margin-left: 25px;
padding: 5px;
}
5 changes: 3 additions & 2 deletions debug-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://wordpress.org/plugins/debug-bar/
Description: Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.
Author: wordpressdotorg
Version: 1.1.7
Version: 1.2.1
Author URI: https://wordpress.org/
Text Domain: debug-bar
*/
Expand Down Expand Up @@ -117,7 +117,7 @@ function init_ajax() {

function requirements() {
$path = plugin_dir_path( __FILE__ );
$recs = array( 'panel', 'php', 'queries', 'request', 'wp-query', 'object-cache', 'deprecated', 'js' );
$recs = array( 'panel', 'php', 'queries', 'request', 'wp-query', 'object-cache', 'deprecated', 'js', 'template-parts' );

foreach ( $recs as $rec ) {
require_once "$path/panels/class-debug-bar-$rec.php";
Expand Down Expand Up @@ -165,6 +165,7 @@ function init_panels() {
'Debug_Bar_Request',
'Debug_Bar_Object_Cache',
'Debug_Bar_JS',
'Debug_Bar_Template_Parts',
);

foreach ( $classes as $class ) {
Expand Down
2 changes: 1 addition & 1 deletion js/debug-bar-js.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading