Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #60509, comment 16


Ignore:
Timestamp:
02/15/2024 01:46:38 PM (8 months ago)
Author:
mmaattiiaass
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60509, comment 16

    v1 v2  
    55}}}
    66
    7 Looks good, but, using this format the extenders could provide `url` and `font-families` at the same time. That would require extra checking and could be confusing.
     7This looks good, but, using this format the extenders could provide `url` and `font-families` at the same time. That would require extra checking and could be confusing.
     8
     9What do you think of removing `url` and make `font_families` accept both a string (an URL to a json file) or an array (a list of font families)?
    810
    911{{{
     
    1214  $data: array<{ name: string, description?: string, font_families: array|string, categories?: array}>
    1315}}}
    14 
    15 What do you think of removing `url` and make `font_families` accept both a string (an URL to a json file) or an array (a list of font families)?