Changeset 1401219
- Timestamp:
- 04/21/2016 11:51:29 AM (10 years ago)
- Location:
- perfectdashboard/trunk
- Files:
-
- 3 edited
-
class/perfectdashboard-api-class.php (modified) (1 diff)
-
perfectdashboard.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
perfectdashboard/trunk/class/perfectdashboard-api-class.php
r1376458 r1401219 692 692 'server' => isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : '', 693 693 'database_name' => $wpdb->is_mysql ? 'mysql' : '', 694 'database_version' => $wpdb->db_version() 694 'database_version' => $wpdb->db_version(), 695 'additional_data' => array( 696 'error_reporting' => $this->checkErrorReporting() 697 ) 695 698 ); 696 699 } 700 701 /** 702 * Check error_reporting 703 */ 704 private function checkErrorReporting() { 705 $configDebug = defined('WP_DEBUG'); 706 $configDebugDisplay = defined('WP_DEBUG_DISPLAY'); 707 708 // When WP_DEBUG is defined 709 if($configDebug || $configDebugDisplay) { 710 if($configDebug) { 711 return WP_DEBUG ? '0' : '1'; 712 } 713 714 if($configDebugDisplay) { 715 return WP_DEBUG_DISPLAY ? '0' : '1'; 716 } 717 } else { 718 $statusInPHP = ini_get('error_reporting'); 719 $statusInPHPdisplay = ini_get('display_errors'); 720 721 if($statusInPHPdisplay == 0) { 722 return '1'; 723 } elseif($statusInPHPdisplay > 0 && $statusInPHP == 0) { 724 return '1'; 725 } 726 727 return '0'; 728 } 729 730 return '1'; 731 } 732 697 733 698 734 private function checkSysEnv() -
perfectdashboard/trunk/perfectdashboard.php
r1388997 r1401219 4 4 * Plugin URI: https://perfectdashboard.co/?utm_source=backend&utm_medium=installer&utm_campaign=WP 5 5 * Description: 6 * Version: 1.4. 26 * Version: 1.4.3 7 7 * Text Domain: perfectdashboard 8 8 * Author: Perfect-Web -
perfectdashboard/trunk/readme.txt
r1388997 r1401219 5 5 Requires at least: 3.5.0 6 6 Tested up to: 4.5 7 Stable tag: 1.4. 27 Stable tag: 1.4.3 8 8 License: GNU/GPL 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 88 88 == Changelog == 89 89 90 = 1.4.3 / 21-04-2016 = 91 92 * improved the security audit feature 93 90 94 = 1.4.0 / 22-03-2016 = 91 95
Note: See TracChangeset
for help on using the changeset viewer.