cleanup: whats new page assets and unused codes#1808
cleanup: whats new page assets and unused codes#1808sapayth wants to merge 2 commits intoweDevsOfficial:developfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (4)
WalkthroughThis change removes the entire "What's New" notice feature from the codebase, including LESS and CSS stylesheets, build configuration rules, and PHP asset enqueue logic. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Some UI breaks @sapayth vai Post-Forms-.-wpuf-.-WordPress.mp4 |
Summary
This PR removes unused assets and code tied to the What’s New admin page. Dedicated What’s New CSS/LESS files are deleted, their registration and enqueue are removed from Assets and Admin, and the Grunt build no longer compiles those styles. The main admin stylesheet is trimmed so it no longer includes the removed What’s New rules. Built/minified assets and the .pot template are updated to match. Admin behavior is unchanged; only unused styles and references are removed to simplify the codebase and reduce asset size.
Testing Guideline
Check if all page are rendering with proper styling and without any broken CSS in the admin dashboard
Summary by CodeRabbit