Changeset 1703045
- Timestamp:
- 07/26/2017 11:54:20 AM (9 years ago)
- Location:
- perfectdashboard/trunk
- Files:
-
- 5 edited
-
class/perfectdashboard-api-class.php (modified) (1 diff)
-
class/perfectdashboard-class.php (modified) (1 diff)
-
class/perfectdashboard-upgrade-class.php (modified) (1 diff)
-
perfectdashboard.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
perfectdashboard/trunk/class/perfectdashboard-api-class.php
r1687594 r1703045 962 962 $config['db_user'] = DB_USER; 963 963 $config['db_password'] = DB_PASSWORD; 964 $config['db_host'] = DB_HOST;964 $config['db_host'] = rtrim(DB_HOST, ':'); 965 965 $config['db_prefix'] = $wpdb->prefix; 966 966 $config['driver'] = class_exists('mysqli') ? 'mysqli' : 'mysql'; -
perfectdashboard/trunk/class/perfectdashboard-class.php
r1687594 r1703045 150 150 private static function setSecureKey() 151 151 { 152 $secure_key = md5(uniqid('perfectsecurekey')); 153 154 update_option('perfectdashboard-key', $secure_key); 152 if(!get_option('perfectdashboard-key', false)) { 153 $secure_key = md5(uniqid('perfectsecurekey')); 154 update_option('perfectdashboard-key', $secure_key); 155 } 155 156 } 156 157 -
perfectdashboard/trunk/class/perfectdashboard-upgrade-class.php
r1612064 r1703045 492 492 // Copy update-core.php from the new version into place. 493 493 if (!$wp_filesystem->copy($working_dir.'/wordpress/wp-admin/includes/update-core.php', $wp_dir.'wp-admin/includes/update-core.php', true)) { 494 $check = array( 495 'a' => ['file' => $working_dir.'/wordpress/wp-admin/includes/update-core.php', 'check' => file_exists($working_dir.'/wordpress/wp-admin/includes/update-core.php')], 496 'b' => ['file' => $wp_dir.'wp-admin/includes/update-core.php', 'check' => file_exists($wp_dir.'wp-admin/includes/update-core.php')], 497 ); 494 498 $wp_filesystem->delete($working_dir, true); 495 499 496 return array('state' => 0, 'message' => 'install_error', 'debug' => PerfectDashboard::getDebugInfo(__METHOD__, null, 'copy_failed_for_update_core_file' ));500 return array('state' => 0, 'message' => 'install_error', 'debug' => PerfectDashboard::getDebugInfo(__METHOD__, null, 'copy_failed_for_update_core_file', $check)); 497 501 } 498 502 -
perfectdashboard/trunk/perfectdashboard.php
r1687594 r1703045 4 4 * Plugin URI: https://perfectdashboard.com/?utm_source=backend&utm_medium=installer&utm_campaign=in&utm_term=WP 5 5 * Description: 6 * Version: 1. 9.16 * Version: 1.10 7 7 * Text Domain: perfectdashboard 8 8 * Author: Perfect Dashboard -
perfectdashboard/trunk/readme.txt
r1687594 r1703045 5 5 Requires at least: 3.5.0 6 6 Tested up to: 4.7.4 7 Stable tag: 1. 9.17 Stable tag: 1.10 8 8 License: GNU/GPL 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset
for help on using the changeset viewer.