- added REST API version;

- avoid the conflicts (added prefixes for query vars);
This commit is contained in:
nikitasinelnikov
2019-04-10 15:00:13 +03:00
parent 8f60eef636
commit dcfb9b0566
7 changed files with 1721 additions and 1163 deletions
+2 -1
View File
@@ -535,7 +535,8 @@ if ( ! class_exists( 'um\Config' ) ) {
'profile_photo_max_size' => 999999999,
'cover_photo_max_size' => 999999999,
'custom_roles_increment' => 1,
'um_profile_object_cache_stop' => 0
'um_profile_object_cache_stop' => 0,
'rest_api_version' => '2.0'
);
$tabs = UM()->profile()->tabs_primary();