Giter Site home page Giter Site logo

rodriguezjorgex / debug-bar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wordpress/debug-bar

0.0 0.0 0.0 266 KB

Development of the WordPress Debug Bar plugin.

Home Page: https://wordpress.org/plugins/debug-bar/

JavaScript 11.98% PHP 66.64% CSS 21.37%

debug-bar's Introduction

=== Debug Bar ===
Contributors: wordpressdotorg, ryan, westi, koopersmith, duck_, mitchoyoshitaka, dd32, jrf, obenland, nacin, evansolomon, Otto42, aidvu, josephscott
Tags: debug
Tested up to: 6.1
Stable tag: 1.1.4
Requires at least: 3.4

Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.

== Description ==

Adds a debug menu to the admin bar that shows query, cache, and other helpful debugging information.

A must for developers!

When `WP_DEBUG` is enabled it also tracks PHP Warnings and Notices to make them easier to find.

When `SAVEQUERIES` is enabled the mysql queries are tracked and displayed.

To enable these options, add the following code to your `wp-config.php` file:
`
define( 'WP_DEBUG', true );
define( 'SAVEQUERIES', true );
`

Add a PHP/MySQL console with the [Debug Bar Console plugin](https://wordpress.org/plugins/debug-bar-console/).

There are numerous other add-ons available to get more insight into, for instance, the registered Post Types, Shortcodes, WP Cron, Language file loading, Actions and Filters and so on. Just [search the plugin directory for 'Debug Bar'](https://wordpress.org/plugins/search/debug+bar/).

== Upgrade Notice ==

= 1.1.4 =
- Fix PHP8+ critical error if `php_uname` is disabled

= 1.1.3 =
- Fix notices in HTTP Requests panel when a request is stopped/doesn't finish.
- Decode the SQL in the WP_Query panel.

= 1.1.2 =
Fix error checking in HTTP Requests panel.

= 1.1.1 =
Refactor the HTTP Requests panel:
- Remove jQuery usage
- Properly display response codes
- Better CSS to emphasize errors and long requests ( > 250ms )

= 1.1 =
Add a new panel for HTTP requests using the native WP methods.
AMP dev mode compatibility.
Change cache busters to use `filemtime` instead of hardcoded values.
Minor CSS updates, so themes don't override the `pre` styles.

= 1.0.1 =
Update object cache panel CSS to be ready for new object-cache.php release with better stats()

= 1.0 =
Improved compatibility with the WordPress.com toolbar in Jetpack

= 0.9 =
Added panel navigation to toolbar.
Improved localization support.
Security fixes.

= 0.8.4 =
Updated to avoid incompatibilities with some extensions.

= 0.8.3 =
Updated to avoid PHP7 Deprecated notices.

= 0.8.2 =
Updated to handle a new deprecated message in WordPress 4.0.

= 0.8.1 =
Minor security fix.

= 0.8 =
WordPress 3.3 compatibility
UI refresh
Removed jQuery UI requirement
Full screen by default
New debug-bar query parameter to show on page load
Removed display cookies
JavaScript error tracking (disabled by default)

= 0.7 =
Made compatible with PHP < 5.2.0
CSS Tweaks
Load JavaScript in Footer
Fixed display issues for WP_Query debug on CPT archives pages
SQL/DB error tracking

= 0.6 =
Added maximize/restore button
Added cookie to keep track of debug bar state
Added post type information to WP_Query tab
Bug fix where bottom of page was obscured in the admin

= 0.5 =
New UI
Backend rewritten with a class for each panel
Many miscellaneous improvements

= 0.4.1 =
Compatibility updates for trunk

= 0.4 =
Added DB Version information
Updated PHP Warning and Notice tracking so that multiple different errors on the same line are tracked
Compatibility updates for trunk

= 0.3 =
Added WordPress Query infomation
Added Request parsing information

= 0.2 =
Added PHP Notice / Warning tracking when WP_DEBUG enabled
Added deprecated function usage tracking

= 0.1 =
Initial Release

== Changelog ==

= 1.1.4 =
- Fix PHP8+ critical error if `php_uname` is disabled

= 1.1.3 =
- Fix notices in HTTP Requests panel when a request is stopped/doesn't finish.
- Decode the SQL in the WP_Query panel.

= 1.1.2 =
Fix error checking in HTTP Requests panel.

= 1.1.1 =
Refactor the HTTP Requests panel:
- Remove jQuery usage
- Properly display response codes
- Better CSS to emphasize errors and long requests ( > 250ms )

= 1.1 =
Add a new panel for HTTP requests using the native WP methods.
AMP dev mode compatibility.
Change cache busters to use `filemtime` instead of hardcoded values.
Minor CSS updates, so themes don't override the `pre` styles.

= 1.0.1 =
Update object cache panel CSS to be ready for new object-cache.php release with better stats()

= 1.0 =
Improved compatibility with the WordPress.com toolbar in Jetpack

= 0.9 =
Added panel navigation to toolbar.
Improved localization support.
Security fixes.

= 0.8.4 =
Updated to avoid incompatibilities with some extensions.

= 0.8.3 =
Updated to avoid PHP7 Deprecated notices.

= 0.8.2 =
Updated to handle a new deprecated message in WordPress 4.0.

= 0.8.1 =
Minor security fix.

= 0.8 =
WordPress 3.3 compatibility
UI refresh
Removed jQuery UI requirement
Full screen by default
New debug-bar query parameter to show on page load
Removed display cookies
JavaScript error tracking (disabled by default)

= 0.7 =
Made compatible with PHP < 5.2.0
CSS Tweaks
Load JavaScript in Footer
Fixed display issues for WP_Query debug on CPT archives pages
SQL/DB error tracking

= 0.6 =
Added maximize/restore button
Added cookie to keep track of debug bar state
Added post type information to WP_Query tab
Bug fix where bottom of page was obscured in the admin

= 0.5 =
New UI
Backend rewritten with a class for each panel
Many miscellaneous improvements

= 0.4.1 =
Compatibility updates for trunk

= 0.4 =
Added DB Version information
Updated PHP Warning and Notice tracking so that multiple different errors on the same line are tracked
Compatibility updates for trunk

= 0.3 =
Added WordPress Query infomation
Added Request parsing information

= 0.2 =
Added PHP Notice / Warning tracking when WP_DEBUG enabled
Added deprecated function usage tracking

= 0.1 =
Initial Release

== Installation ==

Use automatic installer.

debug-bar's People

Contributors

westi avatar aidvu avatar ryanboren avatar nacin avatar joncave avatar dd32 avatar markjaquith avatar josephscott avatar obenland avatar mdawaffe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.