[wp-trac] [WordPress Trac] #56078: PHP Warning when adding fonts to fontFamilies in wp_global_styles post

WordPress Trac noreply at wordpress.org
Fri Aug 18 16:14:18 UTC 2023


#56078: PHP Warning when adding fonts to fontFamilies in wp_global_styles post
---------------------------+---------------------------------------
 Reporter:  domainsupport  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Editor         |     Version:  6.0
 Severity:  normal         |  Resolution:  wontfix
 Keywords:                 |     Focuses:  administration, template
---------------------------+---------------------------------------

Comment (by domainsupport):

 Hi @hellofromTonya, bearing in mind the status of the Fonts API and the
 stopgap code is still currently being used ... can this bug please be re-
 appraised and possibly fixed?

 I would be happy to create a patch that uses a function to replace
 `array_unique()` for this multi-dimensional array?

 Oliver

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


More information about the wp-trac mailing list