Automattic / Automattic/jetpack

Non-connected user should not see 'view your earnings' clickable card

Open
#7,236 1 comment 0 reactions 0 assignees View on GitHub
[Feature] WordAds [Pri] Normal [Status] Stale Admin Page Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

![image](https://cloud.githubusercontent.com/assets/437258/26472659/26e7dc98-4175-11e7-8d68-5ca29c0f8796.png)

To reproduce:
* Be a non-connected admin user
* Navigate to Jetpack settings/traffic
* Click on 'view your earnings'
* WordPress.com login prompt with a redirect to /ads/earnings/site which will (I assume) fail because the user is not yet connected

We need to swap that link with a "Connect your user account to WordPress.com to view your earnings" message.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.