Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Added - Detailed inline comments and links to WordPress documentation in the `aegis_theme_support()`, `aegis_theme_styles()`, `aegis_register_block_categories()`, `aegis_register_block_styles()`, and `aegis_enqueue_block_styles()` functions to improve code readability and maintainability. - Documentation for each section in `aegis_register_block_styles()` and `aegis_enqueue_block_styles()` to specify the purpose and usage of each style registration and enqueue action. ### Changed - Renamed several comment headings to follow a consistent pattern ("Registers:" and "Enqueues:") across all `register_block_style()` and `wp_enqueue_block_style()` functions. - Removed duplicate code that registered or enqueued the same styles multiple times. - Updated the `aegis_register_block_styles()` function to provide more detailed descriptions and links to WordPress documentation. - Reformatted the `aegis_enqueue_block_styles()` function to include a structured and more readable block of comments for each group of styles being enqueued. ### Removed - Removed duplicate enqueue of 'Reveal Hover' style in `aegis_enqueue_block_styles()` for `core/image` block. - Removed the registration of some custom block styles that were duplicated or redundant. ### Fixed - Corrected the description for some functions to align better with WordPress coding standards. - Fixed inconsistent use of array syntax in function parameters. Co-Authored-By: Alex de Borba <mail@alexdeborba.com>
- Loading branch information