[wp-trac] [WordPress Trac] #57688: File Block: Missing backward compatible styles for classic themes

WordPress Trac noreply at wordpress.org
Mon Feb 13 20:49:09 UTC 2023


#57688: File Block: Missing backward compatible styles for classic themes
-------------------------------------------------+-------------------------
 Reporter:  wildworks                            |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch gutenberg-merge has-       |     Focuses:  css
  testing-info commit                            |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55323" 55323]:
 {{{
 #!CommitTicketReference repository="" revision="55323"
 Editor: Restores file block button styles for classic themes.

 Adds styles into `wp-includes/css/classic-themes.css` to restore file
 block button element styling for classic themes.

 Why?

 In [54257] and [54118], button element styles were moved from each block
 to `theme.json`. For the file block, the download button styles were
 removed from the block's stylesheet. These changes impacted themes without
 a `theme.json` file (i.e. classic themes).

 This changeset restores the styles for backwards-compatibility.

 References:
 * [https://github.com/WordPress/gutenberg/pull/47686 Gutenberg PR 47686]

 Follow-up to [54257], [54118].

 Props wildworks, scruffian, mamaduka, ntsekouras.
 Fixes #57688.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57688#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list