Make WordPress Core

Changes between Initial Version and Version 4 of Ticket #60957


Ignore:
Timestamp:
04/09/2024 01:39:47 AM (13 months ago)
Author:
sabernhardt
Comment:

I get mixed content errors in the browser console. The site enforces HTTPS, but the font refers to the unsecured (sub)domain.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60957 – Description

    initial v4  
    11Fonts install in the e.g. "uploads/sites/8/fonts" directory on the proper "site" in multisite. The new font shows up in the Font Library in Styles Typography, but is not rendered either in the Style Book or the front end.
    22
    3 Here is the theme.json for the installed font:
    4 "fontFace": [
    5                                                 {
    6                                                         "fontFamily": "\"Alegreya Sans SC\"",
    7                                                         "fontStyle": "normal",
    8                                                         "fontWeight": "500",
    9                                                         "src": "http://eosfse.movingmoment.com/wp-content/uploads/sites/8/fonts/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG0iFrMYJ_K-4.woff2"
    10                                                 },
    11                                                 {
    12                                                         "fontFamily": "\"Alegreya Sans SC\"",
    13                                                         "fontStyle": "italic",
    14                                                         "fontWeight": "500",
    15                                                         "src": "http://eosfse.movingmoment.com/wp-content/uploads/sites/8/fonts/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdBidhMKB6O-51OA.woff2"
    16                                                 }
    17                                         ],
    18                                         "fontFamily": "\"Alegreya Sans SC\", sans-serif",
    19                                         "name": "Alegreya Sans SC",
    20                                         "slug": "alegreya-sans-sc"
    21                                 }
    22                         ],
     3Here is the `theme.json` for the installed font:
     4{{{
     5                "fontFace": [
     6                        {
     7                                "fontFamily": "\"Alegreya Sans SC\"",
     8                                "fontStyle": "normal",
     9                                "fontWeight": "500",
     10                                "src": "http://eosfse.movingmoment.com/wp-content/uploads/sites/8/fonts/mtGm4-RGJqfMvt7P8FUr0Q1j-Hf1DrpG0iFrMYJ_K-4.woff2"
     11                        },
     12                        {
     13                                "fontFamily": "\"Alegreya Sans SC\"",
     14                                "fontStyle": "italic",
     15                                "fontWeight": "500",
     16                                "src": "http://eosfse.movingmoment.com/wp-content/uploads/sites/8/fonts/mtGk4-RGJqfMvt7P8FUr0Q1j-Hf1BkxdBidhMKB6O-51OA.woff2"
     17                        }
     18                ],
     19                "fontFamily": "\"Alegreya Sans SC\", sans-serif",
     20                "name": "Alegreya Sans SC",
     21                "slug": "alegreya-sans-sc"
     22        }
     23],
     24}}}