query-monitor

The developer tools panel for WordPress

GPL-2.0 License

Downloads
316.3K
Stars
1.5K
Committers
68

Bot releases are visible (Hide)

query-monitor -

Published by johnbillion over 8 years ago

  • Avoid the "Class 'QM_Backtrace' not found" error
  • Correct the layout of the Slow Queries and Query Errors panels
  • Move back-compat CSS into its own file
  • Huge simplification of code in db.php by using parent::query()
  • Misc visual tweaks
query-monitor -

Published by johnbillion over 8 years ago

  • More robust support for alternative database drivers (including mysqli in core)
  • Avoid warnings and notices when a custom database class is in place and it's not saving queries (ie. HyperDB)
  • Better handling when certain functions (such as memory_get_peak_usage()) are disabled
query-monitor -

Published by johnbillion over 8 years ago

  • Use an actual authentication cookie instead of a nonce in the Authentication component
  • Implement some extra methods of determining the current user/group
  • Move the loading of dispatchers to the plugins_loaded hook so plugins can add their own
  • Misc performance improvements
query-monitor -

Published by johnbillion over 8 years ago

  • RTL layout tweaks
  • Correct the component detection logic so it's more accurate
  • Re-implement output on the login screen which went missing
  • Display a few more proxy and debugging related constants
query-monitor -

Published by johnbillion over 8 years ago

  • New Scripts & Styles component
  • Support for the new is_customize_preview() conditional
  • More robust handling of HTTP requests short-circuited with pre_http_request
  • Introduce a query_monitor_silent_http_error_codes filter to allow certain WP_Error codes to be silenced in HTTP requests
  • Split SQL queries on LEFT, OUTER, and RIGHT too
  • Gracefully avoid fatal errors if a site is moved and the db.php symlink is no longer pointing to the correct location
  • Pause Infinite Scroll when Query Monitor is viewed
  • Support the new admin menu behaviour in WP 4.1
  • Fix the positioning of output when using the Twenty Fifteen theme
  • Switch to an AJAX call for setting and clearing QM's authentication cookie
query-monitor -

Published by johnbillion over 8 years ago

  • Add compatibility with PHP 5.3.6 and lower. DirectoryIterator::getExtension() isn't available on this version (and also as it's part of SPL it can be disabled).
  • Simplify the admin CSS to avoid QM's output being covered by the admin menu.
  • Add support for footer styles in the scripts and styles component.
  • Update the authentication JavaScript so it works cross-protocol.
query-monitor -

Published by johnbillion over 8 years ago

  • Detect broken dependencies for scripts and styles.
  • Calculate and output the dependents of scripts and styles.
  • Add transparent support for Debug Bar add-on panels.
  • Add support for WordPress.com VIP plugins in the component detection.
  • Sortable and filterable columns for HTTP requests.
  • Display a warning when something's hooked onto the all action.
  • Clearer output for the template file and component names when a child theme is in use.
  • Move the current blog information to the Request component. Display current site information if we're running a multi-network.
  • Allow default error handlers, such as error logging, to continue to function as expected.
  • Don't skip outputting the calling function name in the database error list.
  • New namespaced filter names for a bunch of filterable things.
  • Add a qm/process filter to allow users to disable QM's processing and output.
  • Display the value of WP_HTTP_BLOCK_EXTERNAL and WP_ACCESSIBLE_HOSTS in the HTTP component.
  • New storage and registration mechanisms for collectors, dispatchers, and output handlers.
  • CSS tweaks to better match wp-admin styles.
query-monitor -

Published by johnbillion over 8 years ago

  • Display a warning (rather than triggering a fatal error) for scripts and style dependencies which have gone missing during the duration of the page load.
  • Tweak some more Debug Bar add-on styles.
  • Ensure erroneous non-SELECT queries are also highlighted in red.
  • Further tweaks to QM's output if JavaScript isn't available for any reason.
  • Add PHP4-style constructors to the Debug Bar classes to avoid fatals with Debug Bar add-ons which are explicitly using them.
  • In the event that QM's JavaScript doesn't get enqueued, force the QM output to display so users can at least debug the issue.
  • Remove the abstract output() methods from abstract classes which implement QM_Output to avoid PHP bug #43200.
  • Fixing a notice in the admin component when get_current_screen() isn't an object.
query-monitor -

Published by johnbillion over 8 years ago

  • Implement a shutdown handler for PHP errors to avoid fatals being unintentionally hidden when display_errors is on.
  • Don't attempt to do anything with scripts and styles if a corresponding header action hasn't fired.
  • Don't sort the enqueued scripts and styles, so they're output in the order in which they're enqueued.
  • For the time being, let's not load QM when using the CLI because we've no persistent storage and no means of outputting collected data on the CLI.
  • Call static methods using their class name, not a variable. Fixes compatibility with PHP 5.2.
query-monitor -

Published by johnbillion over 8 years ago

  • Improvements to the shutdown handler for PHP errors, so it handles syntax and compilation errors too.
query-monitor -

Published by johnbillion over 8 years ago

  • An unknown component now gets marked as such, not as Core.
  • Support for invokable objects in action and filter callbacks.
  • Fix fatal error when activating Debug Bar plugin after Query Monitor has already been activated.
  • Implement escaping inside QM_Output_Html::format_url() which can deal with unsafe output. Thanks to Stephen Harris for the responsible disclosure.
query-monitor -

Published by johnbillion over 8 years ago

  • A new Languages component for debugging languages and text domains. Thanks, @MPolleke!
  • REST API debugging in the form of HTTP headers when performing an authenticated REST API request. Shows PHP errors when relevant, along with an overview of memory usage, processing time, database query number, and database query time.
  • Various visual improvements, including displaying the relevant file name below stack trace functions, and a more visible stack trace expansion toggle.
  • Add is_embed(), is_comment_feed(), and is_user_admin() to the list of conditional functions.
  • Add HHVM, SAPI, and MySQL client info to the Environment component.
  • QM is now not loaded at all on the CLI.
  • Avoid an issue with the CloudFlare Flexible SSL plugin.
  • Improve the output of Multisite's $current_blog and $current_site in the Request component.
  • Fully handle Windows paths when detecting a file component.
  • Don't display the symlink warning when using a secondary instance of WPDB.
  • Whole bunch of internal structure refactoring, escaping, and other misc tweaks.
query-monitor -

Published by johnbillion over 8 years ago

  • Correctly detect the file name and line number responsible for loading translation files in plugins which use load_textdomain().
  • Correct the visibility of the before_output() method in the REST dispatcher.
  • Load the languages collector early so it catches plugins which load their translation files when they initialise.
  • Remove an erroneous double quote.
  • Remove connection as param in mysqli_get_client_version().
  • Various CSS fixes.
query-monitor -

Published by johnbillion over 8 years ago

  • Introduce a new panel which displays all matching rewrite rules for the current request.
  • Remove the deprecated is_comments_popup() from the list of conditionals.
  • Improve the display of scripts and styles which are blocked by Airplane Mode (0.1.4 and later).
  • Gracefully handle enqueued assets which are deregistered late without being unenqueued.
  • Add a filter to hide the extended query information prompt.
  • Various minor bugfixes and code quality tweaks.
query-monitor - 2.9.1

Published by johnbillion over 8 years ago

  • Query callers and query components can now be clicked to filter the main query list by that caller or component.
  • Add support for pausing Jetpack's Infinite Scroll module when viewing QM output in the footer.
  • Add support for WordPress.com VIP Go shared plugins as an explicit component.
  • Send nocache headers when QM is active.
  • Various minor tweaks.
query-monitor - 2.10.0

Published by johnbillion over 8 years ago

  • Add a new panel which lists duplicated database queries.
  • Add support for displaying QM's output when viewing an embed.
  • Differentiate regular plugins from mu-plugins when displaying components.
  • Ensure early errors are always reported regardless of system level error reporting.
  • Ensure that script and style dependency highlighting is restricted to the scripts and styles tables, respectively.
  • Rearrange the Environment section output a little.
  • Various minor tweaks.
query-monitor - 2.11.0

Published by johnbillion over 8 years ago

  • Template parts used in the current request are now listed along with the template file.
  • Fix the REST API output for embedded requests and internal API calls.
  • Enable QM's output to appear in customiser preview responses.
  • Add support for the AMP plugin by Automattic, which short-circuits template output.
  • Highlight the fact when an HTTP request has disabled certificate verification.
  • Take into account custom content directory locations that are outside of ABSPATH when removing leading paths from file names.
  • Even more fallback support for when jQuery is broken or isn't available.
  • Introduce a collector for the object cache. Only outputs an overview at the moment.
  • Better formatting in the Duplicate Queries panel.
  • Introduce a fallback method of detecting errors in queries when QM_DB is not in use.
  • Improve the initial state of QM's output when the admin toolbar is not in use.
query-monitor - 2.11.1

Published by johnbillion over 8 years ago

  • Fix Undefined index: cache_misses.
  • Don't load QM during cron requests because we've no persistent storage yet and no means of outputting data that's collected.
  • Tweak some colours to bring them inline with the WordPress admin area colours.
  • Better handling for HTTP requests which don't include the ssl argument for any reason.
query-monitor - 2.11.2

Published by johnbillion over 8 years ago

  • Ensure that QM's activation and deactivation hooks get fired when activating or deactivating on the CLI.
  • Add support for displaying a basic list of the twig files that Timber loads. Requires Timber 1.1.0+
  • Skip reporting core's "An unexpected error occurred" PHP warnings when requests to the wp.org API fail.
  • Add a min-width to the main container for QM, so it's at least somewhat usable on very narrow viewports.
  • Use new alert style for HTTP request errors.
  • Prevent a JavaScript error when opening QM on the Appearance admin menu.
  • Big pile of i18n improvements.
query-monitor - 2.11.3

Published by johnbillion over 8 years ago

  • Fix a fatal error due to a class that's not included in the distribution.
Package Rankings
Top 1.95% on Packagist.org
Related Projects