- added PHPDocs;

- small fixes and code optimization;
This commit is contained in:
nikitozzzzzzz
2018-03-19 16:31:49 +02:00
parent 70e33dcacf
commit 68a18b02e9
55 changed files with 8603 additions and 8097 deletions
+11 -1
View File
@@ -6,9 +6,20 @@ if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin' ) ) {
/**
* Class Admin
* @package um\admin
*/
class Admin {
/**
* @var string
*/
var $templates_path;
/**
* Admin constructor.
*/
@@ -16,7 +27,6 @@ if ( ! class_exists( 'Admin' ) ) {
$this->templates_path = um_path . 'includes/admin/templates/';
add_action( 'admin_init', array( &$this, 'admin_init' ), 0 );
add_action( 'admin_notices', array( $this, 'check_wrong_install_folder' ), 3 );
}