Merge pull request 'fix(user-center): link creator center to posts panel' (#398) from worktree-user-creator-center-zibll-prd into main
Reviewed-on: CYL/wordpress-theme-aksrt#398
This commit is contained in:
commit
ed6a93659c
1 file changed
+1
-4
@@ -7,10 +7,7 @@
|
|||||||
|
|
||||||
defined('ABSPATH') || exit;
|
defined('ABSPATH') || exit;
|
||||||
|
|
||||||
$creation_url = (string) ($new_post_url ?? '');
|
$creation_url = isset($dashboard_tabs['posts']) ? aksrt_get_user_center_tab_url('posts') : '';
|
||||||
if ($creation_url === '') {
|
|
||||||
$creation_url = isset($dashboard_tabs['posts']) ? aksrt_get_user_center_tab_url('posts') : '';
|
|
||||||
}
|
|
||||||
$revenue_url = (string) ($revenue_url ?? '');
|
$revenue_url = (string) ($revenue_url ?? '');
|
||||||
|
|
||||||
if ($creation_url === '' && $revenue_url === '') {
|
if ($creation_url === '' && $revenue_url === '') {
|
||||||
|
|||||||
Reference in new issue
Block a user