-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move wpseo-links-table-not-accessible notification to site health #14828
Move wpseo-links-table-not-accessible notification to site health #14828
Conversation
Other teams need to be notified their feedback is needed for this PR to move on: Todo before merging:
Todo when merging:
|
Hi @afercia :) If I understand correctly, these notifications are moved to WordPress Site Health? I think it's best to add these two new shortlinks: |
Thanks @Annelieke 👋 |
Updated the shortlinks. Question: what should happen when users disable the text link counter feature via the filter we provide? For example:
Also, I noticed that even though the feature is disabled via the filter, the UI still shows stuff related to the links e.g.:
|
Feedback @JessieHenkes regarding the copy is that it looks good, but maybe change "not working as expected" to "not working properly" or "not working correctly". |
CR: 👍 Acceptance: 🚧 The notification does not seem to be removed when the upgrade routine is triggered. Have not been able to figure out why. |
Turns out the notification removal doesn't work because of the boostrap order. To recap:
To solve this issue, we should either run the upgrade routines later or retrieve the notifications from storage earlier. The following diff is a proof of concept for the latter option.
Important: |
Updated the test instructions. Removed the parts related to the links used in the copy, as they have been updated. |
Please re-test the removal of the old notification using the Yoast Test Helper plugin. It should work now. |
CR & Acceptance: 👍 |
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test instructions
This PR can be tested by following these steps:
Make the old notification appear in the Notification Center
return false;
at the first line of thecheck_table()
method withinadmin/links/class-link-table-accessible.php
wp_yoast_seo_links
table from the databaseSwitch to this branch and build
Test not passed
wp_yoast_seo_meta
table andadmin/class-meta-table-accessible.php
but I'd consider this a redundant checkThe copy is:
./wp.sh transient delete wpseo_link_table_inaccessible
Test passed
return false
added at the first line of thecheck_table()
methodThe copy is:
Test with the feature disabled
UI changes
Documentation
Quality assurance
Fixes #14494