Open osmansufy opened 1 month ago
The changes in SetupWizard.php
focus on the setup_wizard_header
method, where the handling of styles and scripts has been updated. The implementation now includes calls to wp_enqueue_emoji_styles()
and wp_enqueue_admin_bar_header_styles()
before invoking the existing actions for admin_print_styles
and admin_head
. Additionally, the frontend_enqueue_scripts
method in Vendor/SetupWizard.php
has been modified to enqueue emoji styles, and various minor adjustments have been made for clarity and readability.
File | Change Summary |
---|---|
includes/Admin/SetupWizard.php | Updated setup_wizard_header to include wp_enqueue_emoji_styles() and wp_enqueue_admin_bar_header_styles() . |
includes/Vendor/SetupWizard.php | Modified frontend_enqueue_scripts to enqueue wp_enqueue_emoji_styles() . Updated parameter name in filter_woocommerce_registration_redirect and improved formatting in dokan_setup_introduction . Adjusted error handling in dokan_setup_store_save . |
Objective | Addressed | Explanation |
---|---|---|
Resolve deprecated notices in Admin and Vendor Setup Wizard (#3303) | ✅ |
includes/Assets.php
related to script dependencies and localization, similar to changes in SetupWizard.php
.includes/Assets.php
, aligning with adjustments in script handling in the main PR.QA approved
, :+1: Dev Review Done
, Upcoming Release
In the wizard's realm, scripts now dance,
With emojis and styles, they take a chance.
A hop and a skip, the header's aglow,
In the setup's embrace, new styles will flow! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All Submissions:
Changes proposed in this Pull Request:
Related Pull Request(s)
Closes
How to test the changes in this Pull Request:
Changelog entry
Title
Detailed Description of the pull request. What was previous behaviour and what will be changed in this PR.
Before Changes
Describe the issue before changes with screenshots(s).
After Changes
Describe the issue after changes with screenshot(s).
Feature Video (optional)
Link of detailed video if this PR is for a feature.
PR Self Review Checklist:
FOR PR REVIEWER ONLY:
Summary by CodeRabbit
Bug Fixes
Chores