Skip to content

Conversation

@up1512001
Copy link
Member

@up1512001 up1512001 commented Aug 12, 2025

Summary

This PR adds custom branding to the WordPress admin interface and improves code quality.

Changes Made

  • Custom Admin Logo: Added OneDesign logo to replace default WordPress branding in admin dashboard
  • PHPCS Fixes: Resolved PHP Code Sniffer violations to meet WordPress coding standards

Testing

  • Admin logo displays correctly in dashboard
  • No functional regressions
  • PHPCS checks now pass

Screenshot

Admin Logo

@up1512001 up1512001 self-assigned this Aug 12, 2025
@up1512001 up1512001 requested review from Copilot and danish17 August 12, 2025 10:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds an admin logo to the OneDesign plugin and addresses multiple PHPCS (PHP CodeSniffer) compliance issues by updating comment formatting and improving code structure.

  • Replaced the default generic dashicon with a custom logo for the admin menu
  • Fixed PHPCS violations by adding periods to comments and improving variable handling
  • Added admin CSS styling to display the custom logo in the WordPress admin menu

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

File Description
inc/classes/class-settings.php Removed default dashicon and fixed comment formatting/variable handling
inc/classes/class-rest.php Updated comment formatting to comply with PHPCS standards
inc/classes/class-assets.php Added admin script enqueuing functionality for the new admin styles
assets/src/css/admin.scss Added CSS rules to display custom logo in the admin menu

@up1512001 up1512001 changed the title feature: added admin logo & fix phpcs issues Feature: Add admin logo & fix PHPCS issues Aug 12, 2025
@up1512001 up1512001 merged commit 5579ccb into main Aug 13, 2025
5 checks passed
@up1512001 up1512001 deleted the feature/admin-logo branch August 13, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants