fix(user-center): link creator center to posts panel

This commit is contained in:
2026-08-06 16:39:11 +08:00
parent f2f5dcdb6c
commit c5b7deaa59
@@ -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 === '') {