Opened 6 years ago
Closed 6 years ago
#49986 closed enhancement (fixed)
Twenty Twenty: Remove unnecessary $css_dependencies variable in twentytwenty_block_editor_styles()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.5 | Priority: | normal |
| Severity: | normal | Version: | 5.3 |
| Component: | Bundled Theme | Keywords: | good-first-bug has-patch commit |
| Focuses: | Cc: |
Description
twentytwenty_block_editor_styles() defines $css_dependencies with an empty array which is only used in the wp_enqueue_style() call. There's no need for an extra variable here.
This was probably copied from twentytwenty_register_styles() at some point before Font Awesome was replaced.
Attachments (1)
Change History (5)
This ticket was mentioned in PR #237 on WordPress/wordpress-develop by dixitadusara.
6 years ago
#1
Note: See
TracTickets for help on using
tickets.
https://core.trac.wordpress.org/ticket/49986