[wp-trac] [WordPress Trac] #61273: Background image: add support for relative theme path URLs in top-level theme.json styles

WordPress Trac noreply at wordpress.org
Fri May 31 01:18:08 UTC 2024


#61273: Background image: add support for relative theme path URLs in top-level
theme.json styles
-------------------------------------------------+-------------------------
 Reporter:  ramonopoly                           |       Owner:  ramonopoly
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6
Component:  Themes                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch gutenberg-merge has-unit-  |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by noisysocks):

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


Comment:

 In [changeset:"58262" 58262]:
 {{{
 #!CommitTicketReference repository="" revision="58262"
 Block Themes: Add support for relative URLs in top-level theme.json styles

 Allow using relative `file:` URLs in top-level theme.json properties such
 as
 `styles.background`, and modify the REST API to provide clients with the
 absolute URLs via a 'https://api.w.org/theme-file' attribute in the
 `_links`
 array.

 Props ramonopoly.
 Fixes #61273.
 }}}

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


More information about the wp-trac mailing list