-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
What problem does this address?
For sites hosted on webhosts with immutable filesystems, installing fonts into wp-content
is not a straightforward process unless those files are committed to an environment without those file write restrictions and deployed upstream. Providing a constant (or a filter) where a safe path can be defined allows users (or hosts) to be able to install fonts natively as intended without running into filesystem permission issues.
What is your proposed solution?
Introducing a constant, e.g. WP_FONTS_DIR
which, like WP_CONTENT_DIR
or WP_UPLOADS_DIR
, allows a user to explicitly define an alternate path to installed fonts which is used instead of the default path (wp-content/fonts
).
iandunn, StevenDufresne and mikachanspacedmonkey and WPprodigypwtyler
Metadata
Metadata
Assignees
Labels
[Feature] TypographyFont and typography-related issues and PRsFont and typography-related issues and PRs[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended