-
Notifications
You must be signed in to change notification settings - Fork 215
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
Improve detection of missing AS tables #5440
Comments
This will resolve the following issue: |
Are we removing the existing notice? |
Yes, the notice won't be needed anymore. |
Scope a solution ✅I propose creating a new class and subscriber in https://github.com/wp-media/wp-rocket/tree/develop/inc/Engine/Admin
When activating the plugin, before Preload do any operation on the tablesIn the new subscriber hook a new method to
When enabling RUCSSin new subscriber hook a new method to When enabling Preloadin new subscriber hook a new method to During each update of the pluginin new subscriber hook a new method to
Estimate the effort ✅[S] Can you validate this grooming @Tabrisrp 🙏 |
that sounds good to me 👍🏼 |
* remove notices classes * remove AS tables check * remove AS missing table notice method * remove notices classes instantiation * add action scheduler check class * fix PHPCS * remove old tests * move fixture * add is_valid_as_tables() test * move fixtures * update test * update preload activate test * add test for check_on_update_options * update return types and add more conditions to check_on_update_options() * add AS check * add AS check to activation provider * implement activation interface * fix PHPCS Co-authored-by: Michael Lee <38788055+jeawhanlee@users.noreply.github.com> * move subscriber later * remove usage of interface * resolve conflicts Co-authored-by: Michael Lee <38788055+jeawhanlee@users.noreply.github.com> Co-authored-by: Ahmed Saeed <eng.ahmeds3ed@gmail.com>
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
In the current approach we have a bug related to the not expected characters in the database name. Our query here is not using `` causing fail of the check and displaying false message:
wp-rocket/inc/Engine/Preload/Activation/Activation.php
Line 117 in ba69c93
Expected behavior
We should check the existence of the tables only in the specific conditions:
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: