Merge branch 'master' of https://github.com/ultimatemember/ultimatemember into feature/ajax_upgrade_process

This commit is contained in:
nikitozzzzzzz
2018-03-26 01:32:48 +03:00
52 changed files with 78 additions and 52 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin' ) ) {
if ( ! class_exists( 'um\admin\Admin' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Builder' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Builder' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Columns' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Columns' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_DragDrop' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_DragDrop' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Enqueue' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Enqueue' ) ) {
/**
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Forms_Settings' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Forms_Settings' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Forms' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Forms' ) ) {
/**
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Functions' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Functions' ) ) {
/**
+1 -1
View File
@@ -6,7 +6,7 @@ use \RecursiveDirectoryIterator;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Menu' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Menu' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Metabox' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Metabox' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Notices' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Notices' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Settings' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Settings' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Upgrade' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Upgrade' ) ) {
/**
+1 -1
View File
@@ -4,7 +4,7 @@ namespace um\admin\core;
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) exit;
if ( ! class_exists( 'Admin_Users' ) ) {
if ( ! class_exists( 'um\admin\core\Admin_Users' ) ) {
/**
+1 -1
View File
@@ -11,7 +11,7 @@
'type' => 'checkbox',
'label' => __( 'Can view default homepage?', 'ultimate-member' ),
'tooltip' => __( 'Allow this user role to view your site\'s homepage', 'ultimate-member' ),
'value' => ! empty( $role['_um_default_homepage'] ) ? $role['_um_default_homepage'] : 1,
'value' => isset( $role['_um_default_homepage'] ) ? $role['_um_default_homepage'] : 1,
),
array(
'id' => '_um_redirect_homepage',