mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-10 22:12:38 +08:00
parent
d130ab7e5f
commit
c533981e7b
3 changed files with 8 additions and 8 deletions
|
@ -166,7 +166,7 @@ class MainWP_Child_Stats {
|
||||||
|
|
||||||
$information['dbsize'] = MainWP_Child_DB::get_size();
|
$information['dbsize'] = MainWP_Child_DB::get_size();
|
||||||
|
|
||||||
$max_his = MainWP_Connect::instance()->get_max_history();
|
$max_his = MainWP_Connect::instance()->get_max_history();
|
||||||
$auths = get_option( 'mainwp_child_auth' );
|
$auths = get_option( 'mainwp_child_auth' );
|
||||||
$information['extauth'] = ( $auths && isset( $auths[ $max_his ] ) ? $auths[ $max_his ] : null );
|
$information['extauth'] = ( $auths && isset( $auths[ $max_his ] ) ? $auths[ $max_his ] : null );
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ namespace MainWP\Child;
|
||||||
class MainWP_Connect {
|
class MainWP_Connect {
|
||||||
|
|
||||||
public static $instance = null;
|
public static $instance = null;
|
||||||
private $maxHistory = 5;
|
private $maxHistory = 5;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method get_class_name()
|
* Method get_class_name()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue