-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
CYS: improve font installation with the async job #45411
Conversation
Hi @albarin, @nefeline, @woocommerce/woo-fse Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
Test Results SummaryCommit SHA: 04b1dbd
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working great! 🙌
…ve/font_installation_async
…rce/woocommerce into improve/font_installation_async
* CYS: improve font installation with the async job * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <[email protected]>
Submission Review Guidelines:
Changes proposed in this Pull Request:
Following the recent discussion on the Font Library and wp_get_font_dir outlined in this post, an observation was made regarding a potential infinite loop in the code responsible for uploading fonts within the Gutenberg editor.
This PR addresses the issue by implementing changes to the font upload code. The adjustments aim to prevent the occurrence of an infinite loop, as detailed in the context of the reported problem. For more details, please refer to the related Gutenberg GitHub repository: WordPress/gutenberg/pull/58839.
This PR applies the patches on our codebase.
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
These testing instructions require a connection with the database
/wp-admin/tools.php?page=woocommerce-admin-test-helper
and enablecustomize-store
feature flag.wp_font_family
,wp_font_face
andwp_global_styles
./wp-admin/admin.php?page=wc-settings&tab=advanced§ion=woocommerce_com
and enable the tracking./wp-admin/admin.php?page=wc-status&tab=action-scheduler
and ensure thatwoocommerce_install_assembler_fonts
is in pending.woocommerce_install_assembler_fonts
job doesn't fail.wp-admin/admin.php?page=wc-admin&path=/customize-store
./font-faces/
endpoint. (it is expected that GET requests are done).Changelog entry
Significance
Type
Message
Comment
CYS: improve font installation with the async job.