fix(user-center): link creator center to posts panel
This commit is contained in:
1 parent
f2f5dcdb6c
commit
c5b7deaa59
1 file changed
+1
-4
@@ -7,10 +7,7 @@
|
||||
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
$creation_url = (string) ($new_post_url ?? '');
|
||||
if ($creation_url === '') {
|
||||
$creation_url = isset($dashboard_tabs['posts']) ? aksrt_get_user_center_tab_url('posts') : '';
|
||||
}
|
||||
$creation_url = isset($dashboard_tabs['posts']) ? aksrt_get_user_center_tab_url('posts') : '';
|
||||
$revenue_url = (string) ($revenue_url ?? '');
|
||||
|
||||
if ($creation_url === '' && $revenue_url === '') {
|
||||
|
||||
Reference in new issue
Block a user