Changes between Initial Version and Version 1 of Ticket #56078, comment 12
- Timestamp:
- 11/18/2022 10:58:15 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56078, comment 12
initial v1 14 14 The intention here is to make sure no duplicate font families remain in the settings after merging them with the fonts from theme.json. As far as I see `fontFamily` is the identification, so probably best to ensure there are no duplicates of it even if `name` and `slug` are not the same. Perhaps the function that looks in the arrays and compares sub-array elements would work best. 15 15 16 On the other hand this is a temporary, stopgap code that is going to be removed soon (I hope), so maybe adding `SORT_REGULAR` would be enough. Going to ping@hellofromTonya here for a decision.16 On the other hand this is a temporary, stopgap code that is going to be removed soon (I hope), so maybe adding `SORT_REGULAR` would be enough. Going to defer to @hellofromTonya here for a decision.