Changeset 1688841
- Timestamp:
- 07/01/2017 07:17:01 PM (9 years ago)
- Location:
- system-report/trunk
- Files:
-
- 1 added
- 6 edited
-
readme.txt (modified) (2 diffs)
-
src/system-load.php (added)
-
system-report.php (modified) (2 diffs)
-
views/database.php (modified) (1 diff)
-
views/php.php (modified) (1 diff)
-
views/server.php (modified) (1 diff)
-
views/wordpress.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
system-report/trunk/readme.txt
r1688736 r1688841 4 4 Requires at least: 3.3 5 5 Tested up to: 4.8 6 Stable tag: 2. 0.06 Stable tag: 2.1.0 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 = 2.1 = 44 * Added more information and data gathering 45 46 = 2.0 = 47 * Implemented much more readable and elegant WP List Table layout for each section 48 43 49 = 1.0 = 44 50 * Initial release -
system-report/trunk/system-report.php
r1688736 r1688841 3 3 * Plugin Name: System Report 4 4 * Description: Quickly identify important aspects of your server, PHP, WordPress installation, theme, plugins and database. 5 * Version: 2. 0.05 * Version: 2.1.0 6 6 * Author: Aaron Holbrook 7 7 * Author URI: http://aaronjholbrook.com … … 44 44 require_once __DIR__ . '/src/class-system-report-table.php'; 45 45 require_once __DIR__ . '/src/get-sys-report-list-table.php'; 46 require_once __DIR__ . '/src/system-load.php'; 46 47 require_once __DIR__ . '/views/system-report.php'; 47 48 require_once __DIR__ . '/views/server.php'; -
system-report/trunk/views/database.php
r1688736 r1688841 24 24 <?php 25 25 $items = [ 26 'Version' => $wpdb->db_version(), 27 'Base Prefix' => $wpdb->base_prefix, 28 'Table Count' => $tables, 29 'Row Count' => $rows . 'k', 30 'Option Count' => $options, 31 'Post Count' => $posts, 26 'Version' => $wpdb->db_version(), 27 'Base Prefix' => $wpdb->base_prefix, 28 'Table Count' => $tables, 29 'Row Count' => $rows . 'k', 30 'Option Count' => $options, 31 'Post Count' => $posts, 32 'Database Host' => $wpdb->dbhost, 33 'Database Name' => $wpdb->dbname, 34 'Tables' => implode( ', ', $wpdb->tables ), 32 35 ]; 33 36 -
system-report/trunk/views/php.php
r1688736 r1688841 24 24 'Max Execution Time' => ini_get( 'max_execution_time' ), 25 25 'Memory Limit' => ini_get( 'memory_limit' ), 26 'Loaded Extensions' => implode( ', ', get_loaded_extensions() ), 26 27 ]; 27 28 -
system-report/trunk/views/server.php
r1688736 r1688841 18 18 <?php 19 19 $items = [ 20 'Software' => $_SERVER['SERVER_SOFTWARE'], 21 'Name' => $_SERVER['SERVER_NAME'], 22 'Address' => $_SERVER['SERVER_ADDR'], 23 'Port' => $_SERVER['SERVER_PORT'], 20 'Software' => $_SERVER['SERVER_SOFTWARE'], 21 'Name' => $_SERVER['SERVER_NAME'], 22 'Address' => $_SERVER['SERVER_ADDR'], 23 'Port' => $_SERVER['SERVER_PORT'], 24 'Ini Dir' => $_SERVER['PHP_INI_DIR'], 25 'User' => $_SERVER['USER'], 26 'Peak Memory Usage' => memory_get_peak_usage(), 27 'Temp Dir' => sys_get_temp_dir(), 28 'System Load' => number_format( getServerLoad(), 4 ) . '%', 24 29 ]; 25 30 -
system-report/trunk/views/wordpress.php
r1688736 r1688841 19 19 $items = [ 20 20 'Version' => get_bloginfo( 'version' ), 21 'ABSPATH' => ABSPATH, 21 22 'Admin Email' => get_bloginfo( 'admin_email' ), 22 23 'Language' => get_bloginfo( 'language' ),
Note: See TracChangeset
for help on using the changeset viewer.