[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-admin/includes/ -> class-wp-debug-data.php (summary)

(no description)

File Size: 1968 lines (65 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Debug_Data:: (21 methods):
  check_for_updates()
  debug_data()
  get_wp_core()
  get_wp_dropins()
  get_wp_server()
  get_wp_media()
  get_wp_mu_plugins()
  get_wp_paths_sizes()
  get_wp_plugins_active()
  get_wp_plugins_inactive()
  get_wp_plugins_raw_data()
  get_wp_active_theme()
  get_wp_parent_theme()
  get_wp_themes_inactive()
  get_wp_constants()
  get_wp_database()
  get_wp_filesystem()
  get_mysql_var()
  format()
  get_database_size()
  get_sizes()


Class: WP_Debug_Data  - X-Ref

Class for providing debug data based on a users WordPress environment.

check_for_updates()   X-Ref
Calls all core functions to check for updates.


debug_data()   X-Ref
Static function for generating site debug data when required.

return: array The debug data for the site.

get_wp_core()   X-Ref
No description

get_wp_dropins()   X-Ref
Gets the WordPress drop-in section of the debug data.

return: array

get_wp_server()   X-Ref
Gets the WordPress server section of the debug data.

return: array

get_wp_media()   X-Ref
Gets the WordPress media section of the debug data.

return: array

get_wp_mu_plugins()   X-Ref
Gets the WordPress MU plugins section of the debug data.

return: array

get_wp_paths_sizes()   X-Ref
Gets the WordPress paths and sizes section of the debug data.

return: array|null Paths and sizes debug data for single sites,

get_wp_plugins_active()   X-Ref
Gets the WordPress active plugins section of the debug data.

return: array

get_wp_plugins_inactive()   X-Ref
Gets the WordPress inactive plugins section of the debug data.

return: array

get_wp_plugins_raw_data()   X-Ref
Gets the raw plugin data for the WordPress active and inactive sections of the debug data.

return: array

get_wp_active_theme()   X-Ref
Gets the WordPress active theme section of the debug data.

return: array

get_wp_parent_theme()   X-Ref
Gets the WordPress parent theme section of the debug data.

return: array

get_wp_themes_inactive()   X-Ref
Gets the WordPress inactive themes section of the debug data.

return: array

get_wp_constants()   X-Ref
Gets the WordPress constants section of the debug data.

return: array

get_wp_database()   X-Ref
Gets the WordPress database section of the debug data.

return: array

get_wp_filesystem()   X-Ref
Gets the file system section of the debug data.

return: array

get_mysql_var( $mysql_var )   X-Ref
Returns the value of a MySQL system variable.

param: string $mysql_var Name of the MySQL system variable.
return: string|null The variable value on success. Null if the variable does not exist.

format( $info_array, $data_type )   X-Ref
Formats the information gathered for debugging, in a manner suitable for copying to a forum or support ticket.

param: array  $info_array Information gathered from the `WP_Debug_Data::debug_data()` function.
param: string $data_type  The data type to return, either 'info' or 'debug'.
return: string The formatted data.

get_database_size()   X-Ref
Fetches the total size of all the database tables for the active database user.

return: int The size of the database, in bytes.

get_sizes()   X-Ref
Fetches the sizes of the WordPress directories: `wordpress` (ABSPATH), `plugins`, `themes`, and `uploads`.
Intended to supplement the array returned by `WP_Debug_Data::debug_data()`.

return: array The sizes of the directories, also the database size and total installation size.



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref