Plugin Directory

Changeset 1401219


Ignore:
Timestamp:
04/21/2016 11:51:29 AM (10 years ago)
Author:
piotrmocko
Message:

Version 1.4.3

Location:
perfectdashboard/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • perfectdashboard/trunk/class/perfectdashboard-api-class.php

    r1376458 r1401219  
    692692            'server' => isset($_SERVER['SERVER_SOFTWARE']) ? $_SERVER['SERVER_SOFTWARE'] : '',
    693693            '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            )
    695698        );
    696699    }
     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   
    697733
    698734    private function checkSysEnv()
  • perfectdashboard/trunk/perfectdashboard.php

    r1388997 r1401219  
    44 * Plugin URI: https://perfectdashboard.co/?utm_source=backend&utm_medium=installer&utm_campaign=WP
    55 * Description:
    6  * Version: 1.4.2
     6 * Version: 1.4.3
    77 * Text Domain: perfectdashboard
    88 * Author: Perfect-Web
  • perfectdashboard/trunk/readme.txt

    r1388997 r1401219  
    55Requires at least: 3.5.0
    66Tested up to: 4.5
    7 Stable tag: 1.4.2
     7Stable tag: 1.4.3
    88License: GNU/GPL
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    8888== Changelog ==
    8989
     90= 1.4.3 / 21-04-2016 =
     91
     92* improved the security audit feature
     93
    9094= 1.4.0 / 22-03-2016 =
    9195
Note: See TracChangeset for help on using the changeset viewer.